/frameworks/base/awt/org/apache/harmony/awt/gl/ |
H A D | MultiRectArea.java | 46 public int[] rect; field in class:MultiRectArea 101 bottomX1 = rect[rectIndex]; 102 bottomX2 = rect[rectIndex + 2]; 116 rect[rectIndex + 3] = rect[rectIndex + 3] + 1; 135 int i = rect[0]; 137 rect = MultiRectAreaOp.checkBufSize(rect, 4); 138 rect[i++] = pointX1; 139 rect[ 231 addRectCashed(int[] rect, int rectOff, int rectLength) argument 249 int[] rect; field in class:MultiRectArea.Iterator 566 add(Rectangle rect) argument 574 intersect(Rectangle rect) argument 582 substract(Rectangle rect) argument [all...] |
H A D | MultiRectAreaOp.java | 317 int[] rect1 = src1.rect; 318 int[] rect2 = src2.rect; 319 int[] rect = createBuf(0); 339 rect = checkBufSize(rect, 4); 340 rect[k++] = x11 > x21 ? x11 : x21; 341 rect[k++] = y11 > y21 ? y11 : y21; 342 rect[k++] = x12 > x22 ? x22 : x12; 343 rect[k++] = y12 > y22 ? y22 : y12; 348 rect[ 756 subtractRect(int x11, int y11, int x12, int y12, int[] rect, int index, MultiRectArea dst) argument [all...] |
/frameworks/base/tests/FrameworkTest/src/com/android/frameworktest/scroll/ |
H A D | RequestRectangleVisible.java | 43 final Rect rect = new Rect(); 61 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight()); 62 childToMakeVisible.requestRectangleOnScreen(rect, true); 69 rect.set(0, 0, topBlob.getWidth(), topBlob.getHeight()); 70 topBlob.requestRectangleOnScreen(rect, true); 77 rect.set(0, 0, childToMakeVisible.getLeft(), childToMakeVisible.getHeight()); 78 childToMakeVisible.requestRectangleOnScreen(rect, true); 85 rect.set(0, 0, bottomBlob.getWidth(), bottomBlob.getHeight()); 86 bottomBlob.requestRectangleOnScreen(rect, true);
|
H A D | RequestRectangleVisibleWithInternalScroll.java | 65 // the rect we want to make visible is offset to match 67 Rect rect = new Rect(); 68 rect.set(0, 0, 0, mTextBlob.getHeight()); 69 rect.offset(0, mTextBlob.getScrollY()); 70 mTextBlob.requestRectangleOnScreen(rect);
|
/frameworks/base/tests/FrameworkTest/tests/src/com/android/frameworktest/listview/ |
H A D | ListItemRequestRectAboveThinFirstItemTest.java | 51 // having the second item call requestRectangleOnScreen with a rect above 60 final Rect rect = new Rect(); 61 second.getDrawingRect(rect); 62 rect.offset(0, -2 * second.getBottom()); 64 getActivity().requestRectangleOnScreen(1, rect); 85 final Rect rect = new Rect(); 86 secondToLast.getDrawingRect(rect); 87 rect.offset(0, 91 getActivity().requestRectangleOnScreen(secondToLastIndex, rect);
|
/frameworks/base/core/jni/ |
H A D | com_android_internal_graphics_NativeUtils.cpp | 37 static jboolean scrollRect(JNIEnv* env, jobject graphics2D, jobject canvas, jobject rect, int dx, int dy) { argument 44 if (NULL != rect) { 45 GraphicsJNI::jrect_to_irect(env, rect, &src);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | OvalShape.java | 37 canvas.drawOval(rect(), paint);
|
H A D | ArcShape.java | 48 canvas.drawArc(rect(), mStart, mSweep, true, paint);
|
H A D | RectShape.java | 50 protected final RectF rect() { method in class:RectShape
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path.java | 164 * Returns true if the path specifies a rectangle. If so, and if rect is 165 * not null, set rect to the bounds of the path. If the path does not 166 * specify a rectangle, return false and ignore rect. 168 * @param rect If not null, returns the bounds of the path if it specifies 172 public boolean isRect(RectF rect) { argument 186 Rectangle2D rect = mPath.getBounds2D(); 187 bounds.left = (float)rect.getMinX(); 188 bounds.right = (float)rect.getMaxX(); 189 bounds.top = (float)rect.getMinY(); 190 bounds.bottom = (float)rect 399 addRect(RectF rect, Direction dir) argument 489 addRoundRect(RectF rect, float rx, float ry, Direction dir) argument 506 addRoundRect(RectF rect, float[] radii, Direction dir) argument [all...] |
H A D | Canvas.java | 309 public boolean clipRect(Rect rect, Op op) { argument 310 return clipRect(rect.left, rect.top, rect.right, rect.bottom); 317 public boolean clipRect(Rect rect) { argument 318 return clipRect(rect.left, rect.top, rect.right, rect 325 clipRect(RectF rect, Op op) argument 333 clipRect(RectF rect) argument 337 quickReject(RectF rect, EdgeType type) argument 342 quickReject(RectF rect, _Original_Canvas.EdgeType type) argument 680 drawRect(RectF rect, Paint paint) argument 725 drawRoundRect(RectF rect, float rx, float ry, Paint paint) argument [all...] |
/frameworks/base/awt/java/awt/geom/ |
H A D | RectangularShape.java | 268 public boolean intersects(Rectangle2D rect) { argument 269 return intersects(rect.getX(), rect.getY(), rect.getWidth(), rect.getHeight()); 272 public boolean contains(Rectangle2D rect) { argument 273 return contains(rect.getX(), rect.getY(), rect.getWidth(), rect [all...] |
H A D | Arc2D.java | 864 * @param rect 874 public void setArc(Rectangle2D rect, double start, double extent, int type) { argument 875 setArc(rect.getX(), rect.getY(), rect.getWidth(), rect.getHeight(), start, extent, type); 1109 public boolean contains(Rectangle2D rect) { argument 1110 return contains(rect.getX(), rect.getY(), rect [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 143 * Returns true if the path specifies a rectangle. If so, and if rect is 144 * not null, set rect to the bounds of the path. If the path does not 145 * specify a rectangle, return false and ignore rect. 147 * @param rect If not null, returns the bounds of the path if it specifies 151 public boolean isRect(RectF rect) { argument 152 return native_isRect(mNativePath, rect); 348 * @param rect The rectangle to add as a closed contour to the path 351 public void addRect(RectF rect, Direction dir) { argument 352 if (rect == null) { 353 throw new NullPointerException("need rect paramete 419 addRoundRect(RectF rect, float rx, float ry, Direction dir) argument 435 addRoundRect(RectF rect, float[] radii, Direction dir) argument 554 native_isRect(int nPath, RectF rect) argument 573 native_addRect(int nPath, RectF rect, int dir) argument 581 native_addRoundRect(int nPath, RectF rect, float rx, float ry, int dir) argument [all...] |
H A D | Canvas.java | 459 * @param rect The rect to intersect with the current clip 463 public boolean clipRect(RectF rect, Region.Op op) { argument 465 rect.left, rect.top, rect.right, rect.bottom, 473 * @param rect The rectangle to intersect with the current clip. 477 public boolean clipRect(Rect rect, Region.Op op) { argument 479 rect 490 clipRect(RectF rect) argument 499 clipRect(Rect rect) argument 638 quickReject(RectF rect, EdgeType type) argument 842 drawRect(RectF rect, Paint paint) argument 934 drawRoundRect(RectF rect, float rx, float ry, Paint paint) argument 1485 native_quickReject(int nativeCanvas, RectF rect, int native_edgeType) argument 1506 native_drawRect(int nativeCanvas, RectF rect, int paint) argument 1519 native_drawRoundRect(int nativeCanvas, RectF rect, float rx, float ry, int paint) argument [all...] |
H A D | Region.java | 239 * Perform the specified Op on this region and the specified rect. Return 248 * Perform the specified Op on this region and the specified rect. Return 265 * Set this region to the result of performing the Op on the specified rect 268 public boolean op(Rect rect, Region region, Op op) { argument 269 return nativeOp(mNativeRegion, rect, region.mNativeRegion, 357 private static native boolean nativeGetBounds(int native_region, Rect rect); argument 363 private static native boolean nativeOp(int native_dst, Rect rect, argument
|
/frameworks/base/awt/java/awt/ |
H A D | Polygon.java | 433 * @param rect 439 public boolean contains(Rectangle2D rect) { argument 440 return contains(rect.getX(), rect.getY(), rect.getWidth(), rect.getHeight()); 472 * @param rect 478 public boolean intersects(Rectangle2D rect) { argument 479 return intersects(rect.getX(), rect [all...] |
/frameworks/base/core/java/android/text/style/ |
H A D | DynamicDrawableSpan.java | 81 Rect rect = d.getBounds(); 84 fm.ascent = -rect.bottom; 91 return rect.right;
|
/frameworks/base/awt/java/awt/image/ |
H A D | RenderedImage.java | 59 * @param rect 63 public Raster getData(Rectangle rect); argument
|
/frameworks/base/awt/org/apache/harmony/awt/ |
H A D | ClipRegion.java | 57 public void intersect(final Rectangle rect) { argument 58 clip.intersect(rect);
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 260 * Translate the screen rect to the application frame. 262 public void translateRectInScreenToAppWinFrame(Rect rect) { argument 263 rect.scale(applicationInvertedScale); 298 public void translateRectInAppWindowToScreen(Rect rect) { argument 299 rect.scale(applicationScale); 305 public void translateRectInScreenToAppWindow(Rect rect) { argument 306 rect.scale(applicationInvertedScale);
|
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
H A D | JavaShapeRasterizer.java | 63 void add(MultiRectArea.LineCash rect, int[] points, int[] orient, int length, int y) { argument 93 rect.addLine(dst, dstLength); 99 void add(MultiRectArea.LineCash rect, int[] points, int[] orient, int length, int y) { argument 117 rect.addLine(points, length); 120 rect.add(points[i++], y, points[i++], y); 126 abstract void add(MultiRectArea.LineCash rect, int[] points, int[] orient, int length, int y); argument 420 MultiRectArea.LineCash rect = new MultiRectArea.LineCash(edgesCount); 421 rect.setLine(y); 458 rect.skipLine(); 462 filler.add(rect, cross [all...] |
/frameworks/base/libs/ui/ |
H A D | Region.cpp | 209 int Region::iterator::iterate(Rect* rect) argument 213 const SkIRect& r(mIt.rect()); 214 rect->left = r.fLeft; 215 rect->top = r.fTop; 216 rect->right = r.fRight; 217 rect->bottom= r.fBottom; 273 const SkIRect& ir(iterator.rect());
|
/frameworks/base/tests/CoreTests/android/view/ |
H A D | FocusFinderTest.java | 101 final Rect rect = new Rect(0, 0, 20, 20); 103 assertBeamsOverlap(View.FOCUS_LEFT, rect, rect); 104 assertBeamsOverlap(View.FOCUS_RIGHT, rect, rect); 105 assertBeamsOverlap(View.FOCUS_UP, rect, rect); 106 assertBeamsOverlap(View.FOCUS_DOWN, rect, rect); 491 * Assert that particular rect i [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 147 final RectF rect = boundingBox; 149 GestureUtilities.translate(pts, -rect.left, -rect.top); 151 float sx = width / rect.width(); 152 float sy = height / rect.height();
|