/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapRegionDecoder.java | 183 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() 187 rect.right - rect.left, rect.bottom - rect.top, options);
|
H A D | Canvas.java | 294 public int saveLayer(float left, float top, float right, float bottom, argument 296 return native_saveLayer(mNativeCanvas, left, top, right, bottom, 325 public int saveLayerAlpha(float left, float top, float right, float bottom, argument 327 return native_saveLayerAlpha(mNativeCanvas, left, top, right, bottom, 465 rect.left, rect.top, rect.right, rect.bottom, 479 rect.left, rect.top, rect.right, rect.bottom, 509 * @param right The right side of the rectangle to intersect with the 516 public boolean clipRect(float left, float top, float right, float bottom, argument 518 return native_clipRect(mNativeCanvas, left, top, right, botto 535 clipRect(float left, float top, float right, float bottom) argument 551 clipRect(int left, int top, int right, int bottom) argument 682 quickReject(float left, float top, float right, float bottom, EdgeType type) argument 868 drawRect(float left, float top, float right, float bottom, Paint paint) argument 1470 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument 1491 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom, int native_edgeType) argument 1508 native_drawRect(int nativeCanvas, float left, float top, float right, float bottom, int paint) argument [all...] |
H A D | LargeBitmap.java | 64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight()) 67 rect.right - rect.left, rect.bottom - rect.top, options);
|
H A D | Path.java | 362 * @param right The right side of a rectangle to add to the path 366 public void addRect(float left, float top, float right, float bottom, argument 368 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); 427 * two radius values [X, Y]. The corners are ordered top-left, top-right, 428 * bottom-right, bottom-left 573 float right, float bottom, int dir); 572 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
|
H A D | Rect.java | 28 * represented by the coordinates of its 4 edges (left, top, right bottom). 31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 36 public int right; field in class:Rect 49 * checking is performed, so the caller must ensure that left <= right and 54 * @param right The X coordinate of the right side of the rectagle 57 public Rect(int left, int top, int right, int bottom) { argument 60 this.right = right; 74 right 235 set(int left, int top, int right, int bottom) argument 327 contains(int left, int top, int right, int bottom) argument 369 intersect(int left, int top, int right, int bottom) argument 442 intersects(int left, int top, int right, int bottom) argument 472 union(int left, int top, int right, int bottom) argument [all...] |
H A D | RectF.java | 26 * represented by the coordinates of its 4 edges (left, top, right bottom). 29 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 34 public float right; field in class:RectF 44 * checking is performed, so the caller must ensure that left <= right and 49 * @param right The X coordinate of the right side of the rectagle 52 public RectF(float left, float top, float right, float bottom) { argument 55 this.right = right; 69 right 141 set(float left, float top, float right, float bottom) argument 246 contains(float left, float top, float right, float bottom) argument 288 intersect(float left, float top, float right, float bottom) argument 361 intersects(float left, float top, float right, float bottom) argument 410 union(float left, float top, float right, float bottom) argument [all...] |
H A D | Region.java | 56 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 61 public Region(int left, int top, int right, int bottom) { argument 63 nativeSetRect(mNativeRegion, left, top, right, bottom); 81 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 86 public boolean set(int left, int top, int right, int bottom) { argument 87 return nativeSetRect(mNativeRegion, left, top, right, bottom); 166 return quickContains(r.left, r.top, r.right, r.bottom); 175 public native boolean quickContains(int left, int top, int right, argument 184 return quickReject(r.left, r.top, r.right, r.bottom); 192 public native boolean quickReject(int left, int top, int right, in argument 251 op(int left, int top, int right, int bottom, Op op) argument 353 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument 361 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
H A D | YuvImage.java | 223 rect.right = rect.left + width; 231 rect.right = rect.left + width;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedRotateDrawable.java | 75 int w = bounds.right - bounds.left; 191 mState.mDrawable.setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
|
H A D | Drawable.java | 121 public void setBounds(int left, int top, int right, int bottom) { argument 129 oldBounds.right != right || oldBounds.bottom != bottom) { 130 mBounds.set(left, top, right, bottom); 140 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
|
H A D | DrawableContainer.java | 398 if (t.right > r.right) r.right = t.right;
|
H A D | GradientDrawable.java | 137 /** draw the gradient from the top-right to the bottom-left */ 139 /** draw the gradient from the right to the left */ 141 /** draw the gradient from the bottom-right to the top-left */ 145 /** draw the gradient from the bottom-left to the top-right */ 147 /** draw the gradient from the left to the right */ 149 /** draw the gradient from the top-left to the bottom-right */ 178 * top-left, top-right, bottom-right, bottom-left 291 mRect.right + rad, mRect.bottom + rad, 349 canvas.drawLine(r.left, y, r.right, [all...] |
H A D | InsetDrawable.java | 170 padding.right += mInsetState.mInsetRight; 222 r.right -= mInsetState.mInsetRight; 225 mInsetState.mDrawable.setBounds(r.left, r.top, r.right, r.bottom);
|
H A D | LayerDrawable.java | 132 int right = a.getDimensionPixelOffset( 157 addLayer(dr, id, left, top, right, bottom); 171 * @param right The right padding of the new layer. 174 private void addLayer(Drawable layer, int id, int left, int top, int right, int bottom) { argument 194 childDrawable.mInsetR = right; 283 right -= r; 339 padding.right = 0; 347 padding.right += mPaddingR[i]; 452 bounds.right [all...] |
H A D | NinePatchDrawable.java | 175 dest.right = Bitmap.scaleFromDensity(src.right, sdensity, tdensity);
|
H A D | RotateDrawable.java | 78 int w = bounds.right - bounds.left; 176 bounds.right, bounds.bottom);
|
H A D | ScaleDrawable.java | 223 mScaleState.mDrawable.setBounds(r.left, r.top, r.right, r.bottom);
|
H A D | ShapeDrawable.java | 120 * @param right padding for the right side (in pixels) 123 public void setPadding(int left, int top, int right, int bottom) { argument 124 if ((left | top | right | bottom) == 0) { 130 mShapeState.mPadding.set(left, top, right, bottom); 136 * Define the padding in the Rect object as: left, top, right, bottom.
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | RoundRectShape.java | 97 r.right - mInset.right, r.bottom - mInset.bottom);
|
/frameworks/base/include/media/ |
H A D | AudioTrack.h | 256 * left and right volumes. Levels must be <= 1.0. 258 status_t setVolume(float left, float right); 259 void getVolume(float* left, float* right);
|
/frameworks/base/include/private/ui/ |
H A D | RegionHelper.h | 81 TYPE left, right; local 82 int inside = spannerInner.next(current.left, current.right); 84 if (current.left < current.right && 225 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; 232 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; 235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; 237 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; 246 inline int next(TYPE& left, TYPE& right) argument 250 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); 262 void advance(region& reg, TYPE& left, TYPE& right) { argument [all...] |
/frameworks/base/include/ui/ |
H A D | Rect.h | 38 left = top = 0; right = w; bottom = h; 41 left = l; top = t; right = r; bottom = b; 44 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y; 50 left = top = right = bottom = 0; 69 return right-left; 83 right = rb.x; 92 return Point(right, bottom); 95 return Point(right, top); 104 (right == rhs.right) [all...] |
/frameworks/base/include/ui/egl/ |
H A D | android_natives.h | 50 int32_t right; member in struct:android_native_rect_t
|
/frameworks/base/include/utils/ |
H A D | List.h | 116 inline bool operator==(const _Iter& right) const { 117 return mpNode == right.mpNode; } 119 inline bool operator!=(const _Iter& right) const { 120 return mpNode != right.mpNode; } 126 inline bool operator==(const OTHER& right) const { 127 return mpNode == right.mpNode; } 130 inline bool operator!=(const OTHER& right) const { 131 return mpNode != right.mpNode; } 178 List<T>& operator=(const List<T>& right); 313 List<T>& List<T>::operator=(const List<T>& right) argument [all...] |
/frameworks/base/libs/surfaceflinger_client/ |
H A D | SharedBufferStack.cpp | 72 buffers[buffer].crop.r = uint16_t(crop.right); 103 reg.rects[0].r = uint16_t(bounds.right); 110 reg.rects[i].r = uint16_t(r[i].right); 154 res.right = buffers[buffer].crop.r;
|