Searched refs:getBounds (Results 1 - 25 of 80) sorted by relevance

1234

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
H A DGridMatch.java104 return String.format("Align left at x=%1$d", matchedLine - layout.getBounds().x);
109 return String.format("Align right at x=%1$d", matchedLine - layout.getBounds().x);
120 return String.format("Align top at y=%1d", matchedLine - layout.getBounds().y);
125 return String.format("Align bottom at y=%1d", matchedLine - layout.getBounds().y);
H A DGridLayoutPainter.java62 Rect b = layout.getBounds();
84 Rect b = layout.getBounds();
133 Rect b = node.getBounds();
169 Rect dragBounds = first.getBounds();
186 Rect bounds = first.getBounds();
252 b = element.getBounds();
293 Rect dragBounds = first.getBounds();
337 Rect b = layout.getBounds();
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/
H A DCaptureDisplay.java76 sShell.computeTrim(0, 0, Math.max(sButtonBar.getBounds().width,
77 image.getBounds().width), sButtonBar.getBounds().height
78 + image.getBounds().height + 5);
81 sShell.setLocation(parentShell.getBounds().x
82 + (parentShell.getBounds().width - bounds.width) / 2, parentShell.getBounds().y
83 + (parentShell.getBounds().height - bounds.height) / 2);
138 e.gc.fillRectangle(0, 0, sCanvas.getBounds().width, sCanvas.getBounds()
[all...]
H A DPixelPerfectLoupe.java156 int zoomedX = -mCrosshairLocation.x * mZoom - mZoom / 2 + getBounds().width / 2;
157 int zoomedY = -mCrosshairLocation.y * mZoom - mZoom / 2 + getBounds().height / 2;
224 int zoomedX = -mCrosshairLocation.x * mZoom - mZoom / 2 + getBounds().width / 2;
225 int zoomedY = -mCrosshairLocation.y * mZoom - mZoom / 2 + getBounds().height / 2;
233 e.gc.drawImage(mOverlayImage, 0, mHeight - mOverlayImage.getBounds().height);
243 && (mCanvasWidth != getBounds().width || mCanvasHeight != getBounds().height)) {
247 mCanvasWidth = getBounds().width;
248 mCanvasHeight = getBounds().height;
298 mWidth = mImage.getBounds()
[all...]
H A DTreeView.java211 mViewport.width = getBounds().width / mZoom;
212 mViewport.height = getBounds().height / mZoom;
568 e.gc.fillRectangle(0, 0, getBounds().width, getBounds().height);
628 && mSelectedNode.viewNode.image.getBounds().height != 1
629 && mSelectedNode.viewNode.image.getBounds().width != 1) {
646 1.0 * mSelectedNode.viewNode.image.getBounds().width
647 / mSelectedNode.viewNode.image.getBounds().height;
652 .getBounds().width);
657 .getBounds()
[all...]
H A DPixelPerfectPixelPanel.java78 e.gc.fillRectangle(0, 0, getBounds().width, getBounds().height);
109 - (mImage.getBounds().height - mOverlayImage.getBounds().height);
111 && xInOverlay < mOverlayImage.getBounds().width
112 && yInOverlay < mOverlayImage.getBounds().height) {
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/util/
H A DTreeColumnResizer.java54 mColumn1Width = (mControl.getBounds().width - 18) / 2;
55 mColumn2Width = (mControl.getBounds().width - 18) / 2;
57 int dif = mControl.getBounds().width - 18 - (mColumn1Width + mColumn2Width);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
H A DTestDragElement.java120 public @NonNull Rect getBounds() { method in class:TestDragElement
140 return mParent != null ? mParent.getBounds() : null;
156 return node.getBounds().equals(getBounds());
/sdk/rule_api/src/com/android/ide/common/api/
H A DIDragElement.java51 public abstract Rect getBounds(); method in interface:IDragElement
H A DINode.java67 Rect getBounds(); method in interface:INode
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
H A DErrorImageComposite.java51 mSize = new Point(baseImage.getBounds().width, baseImage.getBounds().height);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
H A DAbsoluteLayoutRule.java86 Rect b = targetNode.getBounds();
105 Rect be = elements[0].getBounds();
153 final Rect b = targetNode.getBounds();
172 Rect be = element.getBounds();
232 mRulesEngine.pxToDp(newBounds.x - node.getParent().getBounds().x)));
237 mRulesEngine.pxToDp(newBounds.y - node.getParent().getBounds().y)));
244 Rect parentBounds = parent.getBounds();
H A DFrameLayoutRule.java75 Rect b = targetNode.getBounds();
90 Rect be = elements[0].getBounds();
98 Rect currBounds = it.getBounds();
135 Rect b = targetNode.getBounds();
H A DAdapterViewRule.java40 Rect b = node.getBounds();
H A DEditTextRule.java51 if (parent.getBounds().w >= 320) {
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/
H A DImageCanvas.java120 imageWidth = mImage.getBounds().width;
121 imageHeight = mImage.getBounds().height;
171 Rectangle imageBounds = mImage.getBounds();
183 Rectangle imageBounds = mImage.getBounds();
194 Rectangle rect = mImage.getBounds();
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DNodeFactoryTest.java62 assertEquals(new Rect(10, 12, 110-10-1, 120-12-1), inode.getBounds());
85 assertNotNull(inode.getBounds());
86 assertFalse(inode.getBounds().isValid());
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/
H A DBooleanXmlPropertyEditor.java72 int imageWidth = image.getBounds().width + 2;
87 if (location == null || location.x < mTrueImage.getBounds().width + 2) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
H A DGuidelinePainter.java54 Rect bounds = dragged.getBounds();
72 Rect bounds = n.getBounds();
172 Rect fromBounds = from.getBounds();
187 Point toCenter = to.getBounds().center();
H A DMoveHandler.java79 Rect bc = child.getBounds();
87 if (bc.equals(element.getBounds())) {
183 Rect firstBounds = elements[0].getBounds();
189 firstBounds = firstNode.getBounds();
193 Rect layoutBounds = layout.getBounds();
/sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/
H A DResolutionChooserDialog.java64 Rectangle rect = mMonitors[mMonitorIndex].getBounds();
112 Rectangle r = m.getBounds();
/sdk/ddms/app/src/com/android/ddms/
H A DDropdownSelectionListener.java70 Rectangle rect = item.getBounds();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DNodeFactory.java79 } else if (bounds != null && !SwtUtils.equals(proxy.getBounds(), bounds)) {
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DImageControl.java95 Rectangle imageRect = mImage.getBounds();
152 Rectangle r = mImage.getBounds();
182 Rectangle imageRect = mImage.getBounds();
/sdk/assetstudio/src/com/android/assetstudiolib/
H A DTextRenderUtil.java68 Rectangle2D bounds = layout.getBounds();

Completed in 560 milliseconds

1234