Home
last modified time | relevance | path

Searched refs:parentBounds (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DAbsoluteLayoutRule.java244 Rect parentBounds = parent.getBounds(); in getResizeUpdateMessage() local
250 mRulesEngine.pxToDp(newBounds.x - parentBounds.x), in getResizeUpdateMessage()
251 mRulesEngine.pxToDp(newBounds.y - parentBounds.y), in getResizeUpdateMessage()
DBaseLayoutRule.java787 Rect parentBounds = parent.getBounds();
788 state.horizontalFillSegment = new Segment(parentBounds.y2(), newBounds.x,
791 if (Math.abs(newBounds.y2() - parentBounds.y2()) < getMaxMatchDistance()) {
793 newBounds.h = parentBounds.y2() - newBounds.y;
799 Rect parentBounds = parent.getBounds();
800 state.verticalFillSegment = new Segment(parentBounds.x2(), newBounds.y,
803 if (Math.abs(newBounds.x2() - parentBounds.x2()) < getMaxMatchDistance()) {
805 newBounds.w = parentBounds.x2() - newBounds.x;
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRelativeLayoutConversionHelper.java1502 Rectangle parentBounds = view.getAbsRect(); in analyze() local
1512 if (parentBounds.x == childBounds.x) { in analyze()
1515 if (parentBounds.y == childBounds.y) { in analyze()
1518 if (parentBounds.x + parentBounds.width == childBounds.x + childBounds.width) { in analyze()
1521 if (parentBounds.y + parentBounds.height == childBounds.y + childBounds.height) { in analyze()
1537 if (parentBounds.x == childViewBounds.x) { in analyze()
1540 if (parentBounds.y == childViewBounds.y) { in analyze()
1543 if (parentBounds.x + parentBounds.width == childViewBounds.x in analyze()
1547 if (parentBounds.y + parentBounds.height == childViewBounds.y in analyze()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DSimpleElement.java64 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) { in SimpleElement() argument
68 mParentBounds = parentBounds == null ? new Rect() : parentBounds.copy(); in SimpleElement()
DCanvasViewInfo.java518 Rect parentBounds = null; in toSimpleElement() local
525 parentBounds = SwtUtils.toRect(getParent().getAbsRect()); in toSimpleElement()
528 SimpleElement e = new SimpleElement(fqcn, parentFqcn, bounds, parentBounds); in toSimpleElement()