Packages that use ByteMatrix
Uses of ByteMatrix in com.google.zxing.qrcode.encoder
Fields in com.google.zxing.qrcode.encoder declared as ByteMatrixModifier and TypeFieldDescriptionprivate ByteMatrixQRCode.matrixThe finished symbol, null before it is built.Methods in com.google.zxing.qrcode.encoder that return ByteMatrixMethods in com.google.zxing.qrcode.encoder with parameters of type ByteMatrixModifier and TypeMethodDescription(package private) static intMaskUtil.applyMaskPenaltyRule1(ByteMatrix matrix) Apply mask penalty rule 1 and return the penalty.private static intMaskUtil.applyMaskPenaltyRule1Internal(ByteMatrix matrix, boolean isHorizontal) Helper function for applyMaskPenaltyRule1.(package private) static intMaskUtil.applyMaskPenaltyRule2(ByteMatrix matrix) Apply mask penalty rule 2 and return the penalty.(package private) static intMaskUtil.applyMaskPenaltyRule3(ByteMatrix matrix) Apply mask penalty rule 3 and return the penalty.(package private) static intMaskUtil.applyMaskPenaltyRule4(ByteMatrix matrix) Apply mask penalty rule 4 and return the penalty.(package private) static voidMatrixUtil.buildMatrix(BitArray dataBits, ErrorCorrectionLevel ecLevel, Version version, int maskPattern, ByteMatrix matrix) Build the QR code matrixprivate static intEncoder.calculateMaskPenalty(ByteMatrix matrix) Scores a mask pattern by applying the four penalty rules and summing them; see Table 21 of JISX0510:2004 (p.45) for the details.private static intEncoder.chooseMaskPattern(BitArray bits, ErrorCorrectionLevel ecLevel, Version version, ByteMatrix matrix) Picks the mask pattern with the lowest penalty.(package private) static voidMatrixUtil.clearMatrix(ByteMatrix matrix) Set all cells to empty (-1)(package private) static voidMatrixUtil.embedBasicPatterns(Version version, ByteMatrix matrix) Embed position detection, timing, and adjustment patternsprivate static voidMatrixUtil.embedDarkDotAtLeftBottomCorner(ByteMatrix matrix) Draws the always dark bottom left module.(package private) static voidMatrixUtil.embedDataBits(BitArray dataBits, int maskPattern, ByteMatrix matrix) Embed data bits into matrixprivate static voidMatrixUtil.embedHorizontalSeparationPattern(int xStart, int yStart, ByteMatrix matrix) Draws the horizontal separator beside a pattern.private static voidMatrixUtil.embedPositionAdjustmentPattern(int xStart, int yStart, ByteMatrix matrix) Draws one position adjustment pattern.private static voidMatrixUtil.embedPositionDetectionPattern(int xStart, int yStart, ByteMatrix matrix) Draws one position detection pattern.private static voidMatrixUtil.embedPositionDetectionPatternsAndSeparators(ByteMatrix matrix) Draws the three position detection patterns with their separators.private static voidMatrixUtil.embedTimingPatterns(ByteMatrix matrix) Draws the timing patterns into the matrix.(package private) static voidMatrixUtil.embedTypeInfo(ErrorCorrectionLevel ecLevel, int maskPattern, ByteMatrix matrix) Embed type informationprivate static voidMatrixUtil.embedVerticalSeparationPattern(int xStart, int yStart, ByteMatrix matrix) Draws the vertical separator beside a pattern.private static voidMatrixUtil.maybeEmbedPositionAdjustmentPatterns(Version version, ByteMatrix matrix) Draws the adjustment patterns the version needs.(package private) static voidMatrixUtil.maybeEmbedVersionInfo(Version version, ByteMatrix matrix) Embed version info if version >= 7voidQRCode.setMatrix(ByteMatrix value) Record the encoded module matrix.