Home
last modified time | relevance | path

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

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DResizeGesture.java152 int deltaY = p.y - start.y; in getNewBounds() local
154 if (deltaX == 0 && deltaY == 0) { in getNewBounds()
162 int newH = Math.abs(b.h + (direction.isTop() ? -deltaY : deltaY)); in getNewBounds()
165 deltaY = (int) (deltaX / aspectRatio); in getNewBounds()
167 deltaX = (int) (deltaY * aspectRatio); in getNewBounds()
199 int ny1 = b.y + deltaY; in getNewBounds()
210 int ny2 = b.y + b.h + deltaY; in getNewBounds()
DGestureManager.java864 int deltaY = (int) (scale * (boundingBox.y - p.y)); in dragStart() local
866 e.offsetY = -deltaY; in dragStart()
873 dragBounds = new Rect(deltaX, deltaY, width, height); in dragStart()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DAbsoluteLayoutRule.java180 int deltaY = (feedback.dragBounds != null ? feedback.dragBounds.y : 0); in onDropped()
183 int y = p.y - b.y + deltaY; in onDropped()