Home
last modified time | relevance | path

Searched refs:getBounds (Results 1 – 25 of 49) sorted by relevance

12

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
DGridMatch.java104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName()
109 return String.format("Align right at x=%1$d", matchedLine - layout.getBounds().x); in getDisplayName()
120 return String.format("Align top at y=%1d", matchedLine - layout.getBounds().y); in getDisplayName()
125 return String.format("Align bottom at y=%1d", matchedLine - layout.getBounds().y); in getDisplayName()
DGridLayoutPainter.java62 Rect b = layout.getBounds(); in paintStructure()
84 Rect b = layout.getBounds(); in paintGrid()
133 Rect b = node.getBounds(); in paint()
169 Rect dragBounds = first.getBounds(); in paintFreeFormDropFeedback()
186 Rect bounds = first.getBounds(); in paintFreeFormDropFeedback()
252 b = element.getBounds(); in paintFreeFormDropFeedback()
295 Rect dragBounds = first.getBounds(); in paintGridModeDropFeedback()
318 Rect bounds = first.getBounds(); in paintGridModeDropFeedback()
354 Rect b = layout.getBounds(); in paintStructure()
DGridModel.java298 baseline += view.node.getBounds().y - getRowY(row); in getBaseline()
685 Rect layoutBounds = layout.getBounds(); in assignCellBoundsFromView()
728 Rect layoutBounds = layout.getBounds(); in assignCellBoundsFromBounds()
757 Rect bounds = view.node.getBounds(); in assignCellBoundsFromBounds()
827 Rect bounds = view.node.getBounds(); in initializeMaxBounds()
997 if (split && !columnSpanSet && view.node.getBounds().x2() > x) { in addColumn()
998 if (view.node.getBounds().x < x) { in addColumn()
1196 } else if (split && view.node.getBounds().y2() > y) { in addRow()
1197 if (view.node.getBounds().y < y) { in addRow()
1464 Rect bounds = view.node.getBounds(); in getIntersectsRow()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DAbsoluteLayoutRule.java86 Rect b = targetNode.getBounds(); in drawFeedback()
105 Rect be = elements[0].getBounds(); in drawFeedback()
153 final Rect b = targetNode.getBounds(); in onDropped()
172 Rect be = element.getBounds(); in onDropped()
232 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x))); in setNewSizeBounds()
237 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y))); in setNewSizeBounds()
244 Rect parentBounds = parent.getBounds(); in getResizeUpdateMessage()
DFrameLayoutRule.java75 Rect b = targetNode.getBounds();
90 Rect be = elements[0].getBounds();
98 Rect currBounds = it.getBounds();
135 Rect b = targetNode.getBounds();
DLinearLayoutRule.java285 Rect bn = targetNode.getBounds(); in onDropEnter()
301 Rect bc = it.getBounds(); in onDropEnter()
368 Rect b = node.getBounds();
409 Rect be = elements[0].getBounds();
447 Rect bounds = element.getBounds();
482 Rect b = targetNode.getBounds();
929 Rect layoutBounds = layout.getBounds();
1013 updateResizeState(resizeState, child, parent, child.getBounds(), newBounds,
DAdapterViewRule.java40 Rect b = node.getBounds(); in onDropEnter()
DBaseLayoutRule.java260 Point p = targetNode.getBounds().getTopLeft(); in onPaste()
286 Point parentP = parentNode.getBounds().getTopLeft(); in onPasteBeforeChild()
287 Point targetP = targetNode.getBounds().getTopLeft(); in onPasteBeforeChild()
314 Rect b = element.getBounds(); in drawElement()
787 Rect parentBounds = parent.getBounds();
799 Rect parentBounds = parent.getBounds();
816 final Rect oldBounds = child.getBounds();
DScrollViewRule.java87 Rect b = targetNode.getBounds(); in drawFeedback()
DHorizontalScrollViewRule.java87 Rect b = targetNode.getBounds(); in drawFeedback()
DEditTextRule.java51 if (parent.getBounds().w >= 320) { in onCreate()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DTestDragElement.java120 public @NonNull Rect getBounds() { in getBounds() method in TestDragElement
140 return mParent != null ? mParent.getBounds() : null; in getParentBounds()
156 return node.getBounds().equals(getBounds()); in isSame()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
DImageCanvas.java120 imageWidth = mImage.getBounds().width; in updateScrollBars()
121 imageHeight = mImage.getBounds().height; in updateScrollBars()
171 Rectangle imageBounds = mImage.getBounds(); in scrollHorizontally()
183 Rectangle imageBounds = mImage.getBounds(); in scrollVertically()
194 Rectangle rect = mImage.getBounds(); in paintCanvas()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeFactoryTest.java62 assertEquals(new Rect(10, 12, 110-10-1, 120-12-1), inode.getBounds()); in testCreateCanvasViewInfo()
85 assertNotNull(inode.getBounds()); in testCreateUiViewElementNode()
86 assertFalse(inode.getBounds().isValid()); in testCreateUiViewElementNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DErrorImageComposite.java51 mSize = new Point(baseImage.getBounds().width, baseImage.getBounds().height); in ErrorImageComposite()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DGuidelinePainter.java54 Rect bounds = dragged.getBounds(); in paint()
72 Rect bounds = n.getBounds(); in paint()
172 Rect fromBounds = from.getBounds(); in paintCycle()
187 Point toCenter = to.getBounds().center(); in paintCycle()
DMoveHandler.java79 Rect bc = child.getBounds(); in MoveHandler()
87 if (bc.equals(element.getBounds())) { in MoveHandler()
183 Rect firstBounds = elements[0].getBounds(); in updateMove()
189 firstBounds = firstNode.getBounds(); in updateMove()
193 Rect layoutBounds = layout.getBounds(); in updateMove()
DConstraintPainter.java69 Rect targetBounds = match.edge.node.getBounds(); in paintConstraint()
97 Rect sourceBounds = sourceNode.getBounds(); in paintConstraint()
98 Rect targetBounds = targetNode.getBounds(); in paintConstraint()
127 Rect bounds = node.getBounds(); in paintSelectionFeedback()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
DBooleanXmlPropertyEditor.java72 int imageWidth = image.getBounds().width + 2; in paint()
87 if (location == null || location.x < mTrueImage.getBounds().width + 2) { in activate()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageControl.java95 Rectangle imageRect = mImage.getBounds(); in fitToWidth()
152 Rectangle r = mImage.getBounds(); in computeSize()
182 Rectangle imageRect = mImage.getBounds(); in onPaint()
DSimpleElement.java86 public @NonNull Rect getBounds() { in getBounds() method in SimpleElement
151 return node.getBounds().equals(mBounds); in isSame()
DSelectionHandles.java75 Rect r = selectedNode.getBounds(); in createHandles()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeFactory.java79 } else if (bounds != null && !SwtUtils.equals(proxy.getBounds(), bounds)) { in create()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/
DTargetMenuListener.java120 Rectangle bounds = combo.getBounds(); in show()
DLocaleMenuListener.java118 Rectangle bounds = combo.getBounds(); in show()

12