Searched refs:maxDistance (Results 1 – 3 of 3) sorted by relevance
108 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapVertical() local111 if (margin > maxDistance) { in snapVertical()119 if (margin > maxDistance) { in snapVertical()131 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapHorizontal() local134 if (margin > maxDistance) { in snapHorizontal()142 if (margin > maxDistance) { in snapHorizontal()
115 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapVertical() local118 if (margin > maxDistance) { in snapVertical()125 if (margin > maxDistance) { in snapVertical()140 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapHorizontal() local143 if (margin > maxDistance) { in snapHorizontal()150 if (margin > maxDistance) { in snapHorizontal()157 if (margin > maxDistance) { in snapHorizontal()
2042 int maxDistance = actualBase.length() >= 4 ? 2 : 1; in addTypoSuggestions() local2049 if (Math.abs(actualBase.length() - matchWith.length()) > maxDistance) { in addTypoSuggestions()2055 if (LintUtils.editDistance(actualBase, matchWith) <= maxDistance) { in addTypoSuggestions()