/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
OutlineOverlay.java | 22 import org.eclipse.swt.graphics.Rectangle; 88 Rectangle r = info.getAbsRect();
|
CanvasViewInfo.java | 40 import org.eclipse.swt.graphics.Rectangle; 77 private final Rectangle mAbsRect; 78 private final Rectangle mSelectionRect; 108 Object viewObject, UiViewElementNode node, Rectangle absRect, 109 Rectangle selectionRect, ViewInfo viewInfo) { 126 public Rectangle getAbsRect() { 131 * Returns the absolute selection bounds of the view info as a rectangle. 140 public Rectangle getSelectionRect() { 647 public static Pair<CanvasViewInfo,List<Rectangle>> create(ViewInfo root, boolean layoutlib5) { 674 private Pair<CanvasViewInfo,List<Rectangle>> create(ViewInfo root) [all...] |
ImageControl.java | 32 import org.eclipse.swt.graphics.Rectangle; 95 Rectangle imageRect = mImage.getBounds(); 152 Rectangle r = mImage.getBounds(); 176 Rectangle rect = getClientArea(); 182 Rectangle imageRect = mImage.getBounds();
|
HoverOverlay.java | 25 import org.eclipse.swt.graphics.Rectangle; 55 * Current mouse hover border rectangle. Null when there's no mouse hover. 56 * The rectangle coordinates do not take account of the translation, which 57 * must be applied to the rectangle when drawing. 59 private Rectangle mHoverRect; 119 * Sets the hover rectangle. The coordinates of the rectangle are in layout 120 * coordinates. The recipient is will own this rectangle. 133 mHoverRect = new Rectangle(x, y, w, h); 146 // Translate the hover rectangle (in canvas coordinates) to contro [all...] |
MarqueeGesture.java | 23 import org.eclipse.swt.graphics.Rectangle; 31 * A {@link MarqueeGesture} is a gesture for swiping out a selection rectangle. 32 * With a modifier key, items that intersect the rectangle can be toggled 93 * overlay rectangle matching the mouse coordinate delta between gesture 97 /** Rectangle border color. */ 100 /** Rectangle fill color. */ 103 /** Current rectangle coordinates (in terms of control coordinates). */ 104 private Rectangle mRectangle = new Rectangle(0, 0, 0, 0); 117 * Updates the size of the marquee rectangle [all...] |
SwtUtils.java | 31 import org.eclipse.swt.graphics.Rectangle; 248 * @param boundingBox the bounding rectangle of the rectangle list, which can be 259 List<Rectangle> rectangles, Rectangle boundingBox, double scale, byte alpha) { 273 for (Rectangle bounds : rectangles) { 331 * Converts the given SWT {@link Rectangle} into an ADT {@link Rect} 333 * @param swtRect the SWT {@link Rectangle} 336 public static Rect toRect(Rectangle swtRect) { 342 * {@link Rectangle} [all...] |
ViewHierarchy.java | 33 import org.eclipse.swt.graphics.Rectangle; 115 private List<Rectangle> mIncludedBounds; 166 Pair<CanvasViewInfo,List<Rectangle>> infos = null; 385 /** Locates and return any views that overlap the given selection rectangle. 386 * @param topLeft The top left corner of the selection rectangle. 387 * @param bottomRight The bottom right corner of the selection rectangle. 389 * rectangle. 394 Rectangle selectionRectangle = new Rectangle(topLeft.x, topLeft.y, bottomRight.x 411 Rectangle canvasRectangle [all...] |
LintOverlay.java | 28 import org.eclipse.swt.graphics.Rectangle; 89 Rectangle bounds = vi.getAbsRect();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
NodeFactory.java | 25 import org.eclipse.swt.graphics.Rectangle; 71 private NodeProxy create(UiViewElementNode uiNode, Rectangle bounds) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtilsTest.java | 21 import org.eclipse.swt.graphics.Rectangle; 195 assertEquals(null, ImageUtils.getBoundingRectangle(Collections.<Rectangle> emptyList())); 197 assertEquals(new Rectangle(1, 2, 3, 4), ImageUtils.getBoundingRectangle(Arrays 198 .asList(new Rectangle(1, 2, 3, 4)))); 199 assertEquals(new Rectangle(1, 2, 3, 4), ImageUtils.getBoundingRectangle(Arrays 200 .asList(new Rectangle(1, 2, 3, 4), new Rectangle(1, 2, 1, 1)))); 201 assertEquals(new Rectangle(5, 5, 25, 25), ImageUtils.getBoundingRectangle(Arrays.asList( 202 new Rectangle(10, 10, 20, 20), new Rectangle(5, 5, 1, 1)))) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
StretchesViewer.java | 33 import org.eclipse.swt.graphics.Rectangle; 127 Rectangle rect = mNinePatchedImage.getContentArea(); 165 private final Rectangle mPadding = new Rectangle(0, 0, 0, 0); 214 Rectangle dest = new Rectangle(0, 0, 0, 0);
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
Buffer11.h | 33 PackPixelsParams(const gl::Rectangle &area, GLenum format, GLenum type, GLuint outputPitch, 36 gl::Rectangle area;
|
/frameworks/native/opengl/tests/hwc/ |
hwcRects.cpp | 48 * # White YV12 rectangle, with overlapping turquoise 49 * # RGBA8888 rectangle at 30%% (alpha: 0.7) transparency 68 * of the graphic format and then the display frame rectangle where 69 * the frame will be displayed. The display frame rectangle is 143 class Rectangle { 145 Rectangle() : format(defaultFormat), transform(defaultTransform), 164 list<Rectangle> rectangle; variable 173 static Rectangle parseRect(string rectStr); 250 // Parse rectangle description [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/flyout/ |
FlyoutControlComposite.java | 29 import org.eclipse.swt.graphics.Rectangle; 167 Rectangle clientArea = getClientArea(); 485 Rectangle clientArea = getClientArea(); 594 dockingTracker.setRectangles(new Rectangle[]{getBounds()}); 599 Rectangle clientArea = container.getClientArea(); 604 dockingTracker.setRectangles(new Rectangle[]{new Rectangle(0, 610 dockingTracker.setRectangles(new Rectangle[]{new Rectangle(0, 617 dockingTracker.setRectangles(new Rectangle[]{new Rectangle(0 [all...] |
/external/proguard/src/proguard/gui/splash/ |
ClipSprite.java | 63 Rectangle clip = graphics.getClipBounds();
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
DrawUtils.java | 23 import org.eclipse.swt.graphics.Rectangle; 48 Rectangle oldClipping = gc.getClipping(); 50 gc.setClipping(new Rectangle(x, y, width, height)); 78 Rectangle imageBounds = image.getBounds(); 88 Rectangle imageBounds = image.getBounds(); 96 * Draws {@link Image} on {@link GC} centered in given {@link Rectangle}. If {@link Image} is 97 * bigger that {@link Rectangle}, {@link Image} will be scaled down as needed with keeping 100 public static void drawScaledImage(GC gc, Image image, Rectangle targetRectangle) { 121 // draw image centered in target rectangle 154 * Draws {@link String} in rectangle, wraps at any character (not by words) [all...] |
/external/deqp/modules/glshared/ |
glsLifetimeTests.hpp | 383 struct Rectangle 385 Rectangle (GLint x_, GLint y_, GLint width_, GLint height_) 396 Rectangle randomViewport (const RenderContext& ctx, GLint maxWidth, GLint maxHeight, 398 void setViewport (const RenderContext& renderCtx, const Rectangle& rect); 399 void readRectangle (const RenderContext& renderCtx, const Rectangle& rect, 423 using details::Rectangle;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
AbstractComboBoxPropertyEditor.java | 28 import org.eclipse.swt.graphics.Rectangle; 121 public void setBounds(Rectangle bounds) {
|
AbstractComboPropertyEditor.java | 25 import org.eclipse.swt.graphics.Rectangle; 102 public final void setBounds(Rectangle bounds) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
Quad.java | 70 public Rectangle boundingBox() { 77 return new Rectangle(x0, y0, x1 - x0, y1 - y0);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleMenuListener.java | 30 import org.eclipse.swt.graphics.Rectangle; 118 Rectangle bounds = combo.getBounds();
|
TargetMenuListener.java | 29 import org.eclipse.swt.graphics.Rectangle; 120 Rectangle bounds = combo.getBounds();
|
/external/chromium_org/printing/ |
printed_document_win.cc | 29 Rectangle(context, rect.x(), rect.y(), rect.right(), rect.bottom());
|
emf_win_unittest.cc | 60 // An empty EMF is invalid, so we put at least a rectangle in it. 61 ::Rectangle(emf.context(), 10, 10, 190, 190); 145 ::Rectangle(emf.context(), 10, 10, 190, 190); 187 // An empty EMF is invalid, so we put at least a rectangle in it. 188 ::Rectangle(emf.context(), 10, 10, 190, 190);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
State.h | 109 const Rectangle &getScissor() const; 128 const Rectangle &getViewport() const; 258 Rectangle mScissor; 275 Rectangle mViewport;
|