Searched refs:threshold (Results 1 – 10 of 10) sorted by relevance
/platform_testing/libraries/flicker/utils/src/android/tools/datatypes/ |
D | Utils.kt | 46 fun RectF.containsWithThreshold(r: RectF, threshold: Float = 0.01f): Boolean { in RectF() 50 (left <= r.left || abs(left - r.left) < threshold) && in RectF() 51 (top <= r.top || abs(top - r.top) < threshold) && in RectF() 52 (right >= r.right || abs(right - r.right) < threshold) && in RectF() 53 (bottom >= r.bottom || abs(bottom - r.bottom) < threshold) in RectF()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/region/ |
D | RegionTraceSubject.kt | 97 override fun isToTheRightBottom(other: Region, threshold: Int): RegionTraceSubject = apply { in <lambda>() 99 it.isToTheRightBottom(other, threshold) in <lambda>() 145 isSameAspectRatio(other, threshold = 0.1) in notOverlaps() 148 override fun isSameAspectRatio(other: Region, threshold: Double): RegionTraceSubject = apply { in notOverlaps() 150 it.isSameAspectRatio(other, threshold) in notOverlaps()
|
D | RegionSubject.kt | 277 override fun isToTheRightBottom(other: Region, threshold: Int): RegionSubject = apply { in <lambda>() 278 val horizontallyPositionedToTheRight = other.bounds.left - threshold <= region.bounds.left in <lambda>() 279 val verticallyPositionedToTheBottom = other.bounds.top - threshold <= region.bounds.top in <lambda>() 290 .addExtraDescription("Threshold", threshold) in <lambda>() 395 override fun isSameAspectRatio(other: Region, threshold: Double): RegionSubject = apply { in <lambda>() 400 if (abs(aspectRatio - otherAspectRatio) > threshold) { in <lambda>() 409 .addExtraDescription("Threshold", threshold) in <lambda>() 434 fun isSameAspectRatio(other: RegionSubject, threshold: Double = 0.1): RegionSubject = in <lambda>() 435 isSameAspectRatio(other.region, threshold) in <lambda>() 440 threshold: Double = 0.1 in <lambda>() [all …]
|
D | IRegionSubject.kt | 143 fun isToTheRightBottom(other: Region, threshold: Int): IRegionSubject 225 fun isSameAspectRatio(other: Region, threshold: Double): IRegionSubject
|
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/matchers/ |
D | AlmostPerfectMatcher.kt | 62 val threshold = in <lambda>() constant 65 val matches = different <= threshold in <lambda>() 114 val threshold = in <lambda>() constant 117 val matches = different <= threshold in <lambda>()
|
D | MSSIMMatcher.kt | 31 class MSSIMMatcher(@FloatRange(from = 0.0, to = 1.0) private val threshold: Double = 0.98) : constant in platform.test.screenshot.matchers.MSSIMMatcher 65 calSSIMResult.numPixelsSimilar >= threshold * calSSIMResult.numPixelsCompared.toDouble() in compareBitmaps()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | TotalPssHelper.java | 217 public void setThreshold(int threshold) { in setThreshold() argument 218 mThreshold = threshold; in setThreshold()
|
D | ShowmapSnapshotHelper.java | 511 public boolean isProcessOomScoreAbove(String processName, long pid, int threshold) { in isProcessOomScoreAbove() argument 514 boolean result = Integer.parseInt(score.trim()) > threshold; in isProcessOomScoreAbove()
|
/platform_testing/libraries/screenshot/proto/src/main/proto/ |
D | screenshot_result.proto | 25 // this specified threshold.
|
/platform_testing/libraries/health/runners/longevity/ |
D | README.md | 65 * `min-battery <double>` - quit if battery falls below this threshold.
|