Searched refs:mBounds (Results 1 – 7 of 7) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SimpleElement.java | 44 private final Rect mBounds; field in SimpleElement 67 mBounds = bounds == null ? new Rect() : bounds.copy(); in SimpleElement() 87 return mBounds; in getBounds() 151 return node.getBounds().equals(mBounds); in isSame() 193 if (mBounds != null && mBounds.isValid()) { in toString() 194 sb.append(String.format(",R=%d %d %d %d", mBounds.x, mBounds.y, mBounds.w, mBounds.h)); in toString() 325 if ((mBounds == null && se.mBounds != null) || in equals() 326 (mBounds != null && !mBounds.equals(se.mBounds))) { in equals() 356 if (mBounds != null && mBounds.isValid()) { in hashCode() 357 c = 31*c + mBounds.hashCode(); in hashCode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
D | MoveHandler.java | 192 mBounds = new Rect(offsetX, offsetY, firstBounds.w, firstBounds.h); in updateMove() 194 if (mBounds.x2() > layoutBounds.x2()) { in updateMove() 195 mBounds.x -= mBounds.x2() - layoutBounds.x2(); in updateMove() 197 if (mBounds.y2() > layoutBounds.y2()) { in updateMove() 198 mBounds.y -= mBounds.y2() - layoutBounds.y2(); in updateMove() 200 if (mBounds.x < layoutBounds.x) { in updateMove() 201 mBounds.x = layoutBounds.x; in updateMove() 203 if (mBounds.y < layoutBounds.y) { in updateMove() 204 mBounds.y = layoutBounds.y; in updateMove() 209 Rect b = mBounds; in updateMove() [all …]
|
D | GuidelinePainter.java | 77 if (state.mBounds != null) { in paint() 88 gc.drawRect(state.mBounds); in paint() 92 int y = state.mBounds.y + feedback.dragBaseline; in paint() 93 gc.drawLine(state.mBounds.x, y, state.mBounds.x2(), y); in paint() 149 ConstraintPainter.paintConstraint(gc, state.mBounds, m); in showMatch() 174 fromBounds = state.mBounds; in paintCycle() 193 toCenter = state.mBounds.center(); in paintCycle()
|
D | ResizeHandler.java | 184 mBounds = newBounds; in updateResize()
|
D | GuidelineHandler.java | 93 protected Rect mBounds; field in GuidelineHandler
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | NodeProxy.java | 61 private final Rect mBounds; field in NodeProxy 85 mBounds = new Rect(); in NodeProxy() 87 mBounds = SwtUtils.toRect(bounds); in NodeProxy() 93 return mBounds; in getBounds() 127 SwtUtils.set(mBounds, bounds); in setBounds() 469 return "NodeProxy [node=" + mNode + ", bounds=" + mBounds + "]"; in toString()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
D | TestNode.java | 65 private Rect mBounds = new Rect(); // Invalid bounds initially field in TestNode 78 this.mBounds = bounds; in bounds() 141 return mBounds; in getBounds() 220 + mAttributeInfos + ", attributes=" + mAttributes + ", bounds=" + mBounds + "]"; in toString() 466 mBounds = new Rect(left, top, right - left, bottom - top);
|