Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DResizeHandler.java110 int margin = mSnap ? 0 : abs(newBounds.x - x); in snapVertical()
118 int margin = mSnap ? 0 : abs(newBounds.x - (x - newBounds.w)); in snapVertical()
133 int margin = mSnap ? 0 : abs(newBounds.y - y); in snapHorizontal()
141 int margin = mSnap ? 0 : abs(newBounds.y - (y - newBounds.h)); in snapHorizontal()
160 if (compatible && !mSnap) { in isEdgeTypeCompatible()
183 mSnap = (modifierMask & DropFeedback.MODIFIER2) == 0; in updateResize()
220 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { in updateResize()
244 && (!mSnap || Math.abs(match.delta) < BaseLayoutRule.getMaxMatchDistance())) { in updateResize()
DMoveHandler.java117 int margin = !mSnap ? 0 : abs(newBounds.x - x); in snapVertical()
124 int margin = !mSnap ? 0 : abs(newBounds.x - (x - newBounds.w)); in snapVertical()
142 int margin = !mSnap ? 0 : abs(newBounds.y - y); in snapHorizontal()
149 int margin = !mSnap ? 0 : abs(newBounds.y - (y - newBounds.h)); in snapHorizontal()
156 int margin = !mSnap ? 0 : abs(newBounds.y - (y - newBounds.h / 2)); in snapHorizontal()
181 mSnap = (modifierMask & DropFeedback.MODIFIER2) == 0; in updateMove()
DGuidelineHandler.java111 protected boolean mSnap = true; field in GuidelineHandler