Home
last modified time | relevance | path

Searched refs:maxDistance (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DResizeHandler.java108 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapVertical() local
111 if (margin > maxDistance) { in snapVertical()
119 if (margin > maxDistance) { in snapVertical()
131 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapHorizontal() local
134 if (margin > maxDistance) { in snapHorizontal()
142 if (margin > maxDistance) { in snapHorizontal()
DMoveHandler.java115 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapVertical() local
118 if (margin > maxDistance) { in snapVertical()
125 if (margin > maxDistance) { in snapVertical()
140 int maxDistance = BaseLayoutRule.getMaxMatchDistance(); in snapHorizontal() local
143 if (margin > maxDistance) { in snapHorizontal()
150 if (margin > maxDistance) { in snapHorizontal()
157 if (margin > maxDistance) { in snapHorizontal()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DGraphicalEditorPart.java2042 int maxDistance = actualBase.length() >= 4 ? 2 : 1; in addTypoSuggestions() local
2049 if (Math.abs(actualBase.length() - matchWith.length()) > maxDistance) { in addTypoSuggestions()
2055 if (LintUtils.editDistance(actualBase, matchWith) <= maxDistance) { in addTypoSuggestions()