Searched refs:numAlign (Results 1 – 5 of 5) sorted by relevance
79 int numAlign = alignPatPos.length; in drawFunctionPatterns() local80 for (int i = 0; i < numAlign; i++) { in drawFunctionPatterns()81 for (int j = 0; j < numAlign; j++) { in drawFunctionPatterns()83 if (!(i == 0 && j == 0 || i == 0 && j == numAlign - 1 || i == numAlign - 1 && j == 0)) in drawFunctionPatterns()242 int numAlign = version / 7 + 2; in getAlignmentPatternPositions() local244 (version * 4 + numAlign * 2 + 1) / (numAlign * 2 - 2) * 2; in getAlignmentPatternPositions()245 int[] result = new int[numAlign]; in getAlignmentPatternPositions()262 int numAlign = ver / 7 + 2; in getNumRawDataModules() local263 result -= (25 * numAlign - 10) * numAlign - 55; in getNumRawDataModules()
324 int numAlign = alignPatPos.length; in drawFunctionPatterns() local325 for (int i = 0; i < numAlign; i++) { in drawFunctionPatterns()326 for (int j = 0; j < numAlign; j++) { in drawFunctionPatterns()328 if (!(i == 0 && j == 0 || i == 0 && j == numAlign - 1 || i == numAlign - 1 && j == 0)) in drawFunctionPatterns()614 int numAlign = version / 7 + 2; in getAlignmentPatternPositions() local619 step = (version * 4 + numAlign * 2 + 1) / (numAlign * 2 - 2) * 2; in getAlignmentPatternPositions()620 int[] result = new int[numAlign]; in getAlignmentPatternPositions()643 int numAlign = ver / 7 + 2; in getNumRawDataModules() local644 …result -= (numAlign - 1) * (numAlign - 1) * 25; // Subtract alignment patterns not overlapping wi… in getNumRawDataModules()645 …result -= (numAlign - 2) * 2 * 20; // Subtract alignment patterns that overlap with timing patter… in getNumRawDataModules()
343 int numAlign = ver / 7 + 2; in getNumRawDataModules() local344 result -= (25 * numAlign - 10) * numAlign - 55; in getNumRawDataModules()435 int numAlign = getAlignmentPatternPositions(version, alignPatPos); in initializeFunctionModules() local436 for (int i = 0; i < numAlign; i++) { in initializeFunctionModules()437 for (int j = 0; j < numAlign; j++) { in initializeFunctionModules()439 if (!((i == 0 && j == 0) || (i == 0 && j == numAlign - 1) || (i == numAlign - 1 && j == 0))) in initializeFunctionModules()479 int numAlign = getAlignmentPatternPositions(version, alignPatPos); in drawLightFunctionModules() local480 for (int i = 0; i < numAlign; i++) { in drawLightFunctionModules()481 for (int j = 0; j < numAlign; j++) { in drawLightFunctionModules()482 if ((i == 0 && j == 0) || (i == 0 && j == numAlign - 1) || (i == numAlign - 1 && j == 0)) in drawLightFunctionModules()[all …]
401 size_t numAlign = alignPatPos.size(); in drawFunctionPatterns() local402 for (size_t i = 0; i < numAlign; i++) { in drawFunctionPatterns()403 for (size_t j = 0; j < numAlign; j++) { in drawFunctionPatterns()405 if (!((i == 0 && j == 0) || (i == 0 && j == numAlign - 1) || (i == numAlign - 1 && j == 0))) in drawFunctionPatterns()668 int numAlign = version / 7 + 2; in getAlignmentPatternPositions() local670 (version * 4 + numAlign * 2 + 1) / (numAlign * 2 - 2) * 2; in getAlignmentPatternPositions()672 for (int i = 0, pos = size - 7; i < numAlign - 1; i++, pos -= step) in getAlignmentPatternPositions()685 int numAlign = ver / 7 + 2; in getNumRawDataModules() local686 result -= (25 * numAlign - 10) * numAlign - 55; in getNumRawDataModules()
257 const numAlign: int = alignPatPos.length; constant258 for (let i = 0; i < numAlign; i++) {259 for (let j = 0; j < numAlign; j++) {261 if (!(i == 0 && j == 0 || i == 0 && j == numAlign - 1 || i == numAlign - 1 && j == 0))542 const numAlign: int = Math.floor(this.version / 7) + 2; constant544 Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;546 for (let pos = this.size - 7; result.length < numAlign; pos -= step)561 const numAlign: int = Math.floor(ver / 7) + 2; constant562 result -= (25 * numAlign - 10) * numAlign - 55;