Java Code Examples for com.google.zxing.qrcode.detector.FinderPattern#getEstimatedModuleSize()
The following examples show how to use
com.google.zxing.qrcode.detector.FinderPattern#getEstimatedModuleSize() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: c.java From MiBandDecompiled with Apache License 2.0 | 5 votes |
public int a(FinderPattern finderpattern, FinderPattern finderpattern1) { float f = finderpattern1.getEstimatedModuleSize() - finderpattern.getEstimatedModuleSize(); if ((double)f < 0.0D) { return -1; } return (double)f <= 0.0D ? 0 : 1; }
Example 2
Source File: MultiFinderPatternFinder.java From ScreenCapture with MIT License | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 3
Source File: MultiFinderPatternFinder.java From Tesseract-OCR-Scanner with Apache License 2.0 | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 4
Source File: MultiFinderPatternFinder.java From QrCodeScanner with GNU General Public License v3.0 | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 5
Source File: MultiFinderPatternFinder.java From ZXing-Orient with Apache License 2.0 | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 6
Source File: MultiFinderPatternFinder.java From analyzer-of-android-for-Apache-Weex with Apache License 2.0 | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 7
Source File: MultiFinderPatternFinder.java From weex with Apache License 2.0 | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 8
Source File: MultiFinderPatternFinder.java From barcodescanner-lib-aar with MIT License | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 9
Source File: MultiFinderPatternFinder.java From reacteu-app with MIT License | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 10
Source File: MultiFinderPatternFinder.java From Telegram-FOSS with GNU General Public License v2.0 | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }
Example 11
Source File: MultiFinderPatternFinder.java From Telegram with GNU General Public License v2.0 | 4 votes |
@Override public int compare(FinderPattern center1, FinderPattern center2) { float value = center2.getEstimatedModuleSize() - center1.getEstimatedModuleSize(); return value < 0.0 ? -1 : value > 0.0 ? 1 : 0; }