HomeSort by relevance Sort by last modified time
    Searched refs:newBounds (Results 1 - 25 of 27) sorted by null

1 2

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
ResizeHandler.java 107 protected void snapVertical(Segment vEdge, int x, Rect newBounds) {
110 int margin = mSnap ? 0 : abs(newBounds.x - x);
114 newBounds.w += newBounds.x - x;
115 newBounds.x = x;
118 int margin = mSnap ? 0 : abs(newBounds.x - (x - newBounds.w));
122 newBounds.w = x - newBounds.x;
130 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) {
    [all...]
MoveHandler.java 114 protected void snapVertical(Segment vEdge, int x, Rect newBounds) {
117 int margin = !mSnap ? 0 : abs(newBounds.x - x);
121 newBounds.x = x;
124 int margin = !mSnap ? 0 : abs(newBounds.x - (x - newBounds.w));
128 newBounds.x = x - newBounds.w;
131 newBounds.x = x - newBounds.w / 2;
139 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) {
    [all...]
GuidelineHandler.java 387 protected void snapVertical(Segment vEdge, int x, Rect newBounds) {
388 newBounds.x = x;
391 protected void snapHorizontal(Segment hEdge, int y, Rect newBounds) {
392 newBounds.y = y;
    [all...]
  /external/chromium_org/ui/message_center/cocoa/
popup_controller.h 77 - (void)showWithAnimation:(NSRect)newBounds;
90 - (void)setBounds:(NSRect)newBounds;
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
AbsoluteLayoutRule.java 225 Rect previousBounds, Rect newBounds, SegmentType horizontalEdge,
227 super.setNewSizeBounds(resizeState, node, layout, previousBounds, newBounds,
229 if (verticalEdge != null && newBounds.x != previousBounds.x) {
232 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x)));
234 if (horizontalEdge != null && newBounds.y != previousBounds.y) {
237 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y)));
243 Rect newBounds, SegmentType horizontalEdge, SegmentType verticalEdge) {
246 return super.getResizeUpdateMessage(resizeState, child, parent, newBounds,
250 mRulesEngine.pxToDp(newBounds.x - parentBounds.x),
251 mRulesEngine.pxToDp(newBounds.y - parentBounds.y)
    [all...]
BaseLayoutRule.java 753 @NonNull INode parent, @NonNull Rect newBounds, int modifierMask) {
755 state.bounds = newBounds;
764 if (Math.abs(newBounds.h - b.h) < maxMatchDistance) {
767 newBounds.y += newBounds.h - b.h;
769 newBounds.h = b.h;
773 if (Math.abs(newBounds.w - b.w) < maxMatchDistance) {
776 newBounds.x += newBounds.w - b.w;
778 newBounds.w = b.w
    [all...]
LinearLayoutRule.java     [all...]