Searched defs:bounds (Results 1 - 25 of 25) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DMockNodeProxy.java37 * @param bounds The bounds of a the view in the canvas. Must be either: <br/>
40 * to the model. We never store a null bounds rectangle in the node, a null rectangle
44 public MockNodeProxy(String fqcn, Rectangle bounds, NodeFactory factory) { argument
45 super(makeUiViewNode(fqcn), bounds, factory);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
H A DNodeFactory.java46 * {@link CanvasViewInfo}. The bounds of the node are set to the canvas view bounds.
58 return create(uiNode, null /*bounds*/);
71 private NodeProxy create(UiViewElementNode uiNode, Rectangle bounds) { argument
76 proxy = new NodeProxy(uiNode, bounds, this);
79 } else if (bounds != null && !SwtUtils.equals(proxy.getBounds(), bounds)) {
80 // Update the bounds if necessary
81 proxy.setBounds(bounds);
H A DNodeProxy.java74 * @param bounds The bounds of a the view in the canvas. Must be either: <br/>
77 * to the model. We never store a null bounds rectangle in the node, a null rectangle
81 /*package*/ NodeProxy(UiViewElementNode uiNode, Rectangle bounds, NodeFactory factory) { argument
84 if (bounds == null) {
87 mBounds = SwtUtils.toRect(bounds);
123 * Updates the bounds of this node proxy. Bounds cannot be null, but it can be invalid.
126 /*package*/ void setBounds(Rectangle bounds) { argument
127 SwtUtils.set(mBounds, bounds);
469 return "NodeProxy [node=" + mNode + ", bounds
[all...]
/sdk/uiautomatorviewer/src/com/android/uiautomator/tree/
H A DUiNode.java36 if ("bounds".equals(key)) {
61 String bounds = mAttributes.get("bounds");
62 if (bounds == null) {
83 builder.append(bounds);
87 private void updateBounds(String bounds) { argument
88 Matcher m = BOUNDS_PATTERN.matcher(bounds);
96 throw new RuntimeException("Invalid bounds: " + bounds);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
H A DResizeState.java44 /** The proposed resized bounds of the node */
45 public Rect bounds; field in class:ResizeState
47 /** The preferred wrap_content bounds of the node */
103 * Returns the width attribute to be set to match the new bounds
113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w));
118 * Returns the height attribute to be set to match the new bounds
128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h));
/sdk/rule_api/src/com/android/ide/common/api/
H A DSegmentType.java52 * Returns the X coordinate for an edge of this type given its bounds
55 * @param bounds the bounds of the node
56 * @return the X coordinate for an edge of this type given its bounds
58 public int getX(@Nullable INode node, @NonNull Rect bounds) { argument
59 // We pass in the bounds rather than look it up via node.getBounds() because
61 // bounds rather than actual bounds
64 return bounds.x + bounds
86 getY(@ullable INode node, @NonNull Rect bounds) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
H A DTestDragElement.java57 public TestDragElement setBounds(Rect bounds) { argument
58 this.mRect = bounds;
91 public static TestDragElement create(String fqn, Rect bounds) { argument
92 return create(fqn).setBounds(bounds);
150 return "TestDragElement [fqn=" + mFqcn + ", attributes=" + mAttributes + ", bounds="
H A DTestNode.java66 private Rect mBounds = new Rect(); // Invalid bounds initially
78 public TestNode bounds(Rect bounds) { argument
79 this.mBounds = bounds;
221 + mAttributeInfos + ", attributes=" + mAttributes + ", bounds=" + mBounds + "]";
443 // Recursively initialize this node with the bounds specified in the given hierarchy
445 public void assignBounds(String bounds) { argument
446 Iterable<String> split = Splitter.on('\n').trimResults().split(bounds);
460 String[] bounds = boundsString.split(",");
461 assertEquals(boundsString, 4, bounds
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/
H A DGridDropHandler.java75 * bounds and the drag baseline
82 Rect bounds = mGrid.layout.getBounds();
100 if (x2 < bounds.x || y2 < bounds.y || x1 > bounds.x2() || y1 > bounds.y2()) {
111 addCenterColumnMatch(bounds, x1, y1, x2, y2, columnMatches, max);
125 addColumnGapMatch(bounds, x1, x2, columnMatches, max);
126 addRowGapMatch(bounds, y1, y2, rowMatches, max);
130 x1 = ((x1 - MARGIN_SIZE - bounds
237 addCenterColumnMatch(Rect bounds, int x1, int y1, int x2, int y2, List<GridMatch> columnMatches, int max) argument
299 addColumnGapMatch(Rect bounds, int x1, int x2, List<GridMatch> columnMatches, int max) argument
361 addRowGapMatch(Rect bounds, int y1, int y2, List<GridMatch> rowMatches, int max) argument
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DSimpleElement.java60 * @param bounds The canvas bounds of the originating canvas node of the element.
62 * @param parentBounds The canvas bounds of the parent of this element. Can be null.
64 public SimpleElement(String fqcn, String parentFqcn, Rect bounds, Rect parentBounds) { argument
67 mBounds = bounds == null ? new Rect() : bounds.copy();
81 * Returns the bounds of the element's node, if it originated from an existing
101 * Returns the bounds of the element's parent, absolute for the canvas, or null if there
240 Rect bounds = null;
267 // Parse the canvas bounds
[all...]
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/util/
H A DDrawableViewNode.java111 public Rectangle bounds = new Rectangle(); field in class:DrawableViewNode
152 bounds.x = 0;
153 bounds.width = treeWidth + 2 * PADDING;
172 bounds.y = 0;
173 bounds.height = treeHeight + 2 * PADDING;
251 // Update the bounds.
252 root.bounds.y = Math.min(root.top - PADDING, treeTop - PADDING);
253 root.bounds.height =
255 - root.bounds.y;
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
H A DDurationMinimap.java276 private void drawBackground(GC gc, Rectangle bounds) { argument
278 gc.fillRectangle(bounds);
335 Rectangle bounds = mPositionHelper.getDurationBounds(
339 gc.fillRectangle(bounds);
460 /** Get the bounds for a call duration line. */
480 /** Get the bounds for calls spanning given range. */
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/
H A Dandroid-support-v7-gridlayout.jar ... android.support.v7.widget.GridLayout$Bounds { private int size final synthetic android.support.v7 ...
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests3/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/javaProjectTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/javaProjectTest/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/libsAndJarTest/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/libsAndJarTest/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/apps/NotificationStudio/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/util/ ...
/sdk/testapps/jarCheckTests3/lib2/libs/
H A Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v13/ android/support/v13/app/ ...

Completed in 516 milliseconds