/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.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). 37 public float bottom; field in class:RectF 47 * top <= bottom. 52 * @param bottom The Y coordinate of the bottom of the rectangle 54 public RectF(float left, float top, float right, float bottom) { argument 58 this.bottom = bottom; 70 left = top = right = bottom 198 set(float left, float top, float right, float bottom) argument 303 contains(float left, float top, float right, float bottom) argument 345 intersect(float left, float top, float right, float bottom) argument 418 intersects(float left, float top, float right, float bottom) argument 467 union(float left, float top, float right, float bottom) argument [all...] |
H A D | Insets.java | 34 public final int bottom; field in class:Insets 36 private Insets(int left, int top, int right, int bottom) { argument 40 this.bottom = bottom; 51 * @param bottom the bottom inset 55 public static Insets of(int left, int top, int right, int bottom) { argument 56 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 59 return new Insets(left, top, right, bottom); 70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom); [all...] |
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). 37 public int bottom; field in class:Rect 62 * top <= bottom. 67 * @param bottom The Y coordinate of the bottom of the rectangle 69 public Rect(int left, int top, int right, int bottom) { argument 73 this.bottom = bottom; 85 left = top = right = bottom 259 set(int left, int top, int right, int bottom) argument 351 contains(int left, int top, int right, int bottom) argument 392 intersect(int left, int top, int right, int bottom) argument 455 intersects(int left, int top, int right, int bottom) argument 483 union(int left, int top, int right, int bottom) argument [all...] |
H A D | Outline.java | 142 public void setRect(int left, int top, int right, int bottom) { argument 143 setRoundRect(left, top, right, bottom, 0.0f); 150 setRect(rect.left, rect.top, rect.right, rect.bottom); 158 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument 159 if (left >= right || top >= bottom) { 165 mRect.set(left, top, right, bottom); 174 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); 180 public void setOval(int left, int top, int right, int bottom) { argument 181 if (left >= right || top >= bottom) { 186 if ((bottom [all...] |
H A D | Path.java | 438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 468 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument 471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 527 * @param bottom The bottom of a rectangle to add to the path 530 public void addRect(float left, float top, float right, float bottom, Directio argument 550 addOval(float left, float top, float right, float bottom, Direction dir) argument 585 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 610 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument 640 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument 804 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 808 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 810 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument 813 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 819 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | FloatRect.h | 30 float bottom; member in class:android::FloatRect 34 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { } 37 inline float getHeight() const { return bottom - top; }
|
/frameworks/base/libs/hwui/ |
H A D | Rect.h | 32 (r).left, (r).top, (r).right, (r).bottom 34 (r).left(), (r).top(), (r).right(), (r).bottom() 45 float bottom; member in class:android::uirenderer::Rect 57 bottom(0) { 60 inline Rect(float left, float top, float right, float bottom): argument 64 bottom(bottom) { 71 bottom(height) { 78 bottom(rect.fBottom) { 90 left = top = right = bottom 103 set(float left, float top, float right, float bottom) argument [all...] |
H A D | Snapshot.cpp | 93 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); 110 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument 112 tmp.set(left, top, right, bottom); 126 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument 127 Rect r(left, top, right, bottom); 139 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); 150 setClip(r.left, r.top, r.right, r.bottom); 156 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op); 168 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 169 clipRect->set(left, top, right, bottom); 190 resetClip(float left, float top, float right, float bottom) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | RectEvaluator.java | 59 * (left, top, right, and bottom). 76 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); 78 return new Rect(left, top, right, bottom); 80 mRect.set(left, top, right, bottom);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 34 bottom = -1; 44 if (bottom < rhs.bottom) { 46 } else if (bottom == rhs.bottom) { 58 bottom -= top - y; 68 bottom += y; 73 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 78 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); 86 result->bottom 104 int bottom = result.right; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowInsets.java | 151 * Returns the bottom system window inset in pixels. 157 * @return The bottom system window inset 160 return mSystemWindowInsets.bottom; 206 * Returns the bottom window decor inset in pixels. 212 * @return The bottom window decor inset 216 return mWindowDecorInsets.bottom; 230 mSystemWindowInsets.right != 0 || mSystemWindowInsets.bottom != 0; 245 mWindowDecorInsets.right != 0 || mWindowDecorInsets.bottom != 0; 277 * <p>A round window's left, top, right and bottom edges reach all the way to the 306 * @param bottom tru 310 consumeSystemWindowInsets(boolean left, boolean top, boolean right, boolean bottom) argument 334 replaceSystemWindowInsets(int left, int top, int right, int bottom) argument 368 consumeWindowDecorInsets(boolean left, boolean top, boolean right, boolean bottom) argument 384 replaceWindowDecorInsets(int left, int top, int right, int bottom) argument [all...] |
H A D | Gravity.java | 34 /** Raw bit controlling how the right/bottom edge is placed. */ 36 /** Raw bit controlling whether the right/bottom edge is clipped to its 47 /** Push object to the bottom of its container, not changing its size. */ 232 + ((container.bottom - container.top - h)/2) + yAdj; 233 outRect.bottom = outRect.top + h; 239 if (outRect.bottom > container.bottom) { 240 outRect.bottom = container.bottom; 246 outRect.bottom [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 49 mSourceView.getHeight() - mClipRect.bottom, 61 /** Sets the bottom clip. */ 62 public void setClipBottom(int bottom) { argument 63 if (bottom != mClipRect.bottom) { 64 mClipRect.bottom = bottom; 69 bottom - mSourceView.getPaddingBottom()); 74 /** Returns the bottom clip. */ 76 return mClipRect.bottom; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | SystemViewInfo.java | 30 int right, int bottom) { 31 super(name, cookie, left, top, right, bottom); 35 int right, int bottom, Object viewObject, Object layoutParamsObject) { 36 super(name, cookie, left, top, right, bottom, viewObject, 29 SystemViewInfo(String name, Object cookie, int left, int top, int right, int bottom) argument 34 SystemViewInfo(String name, Object cookie, int left, int top, int right, int bottom, Object viewObject, Object layoutParamsObject) argument
|
/frameworks/native/include/android/ |
H A D | rect.h | 34 int32_t bottom; member in struct:ARect
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | ReplacementDrawableSpan.java | 35 fm.ascent = Math.min(fm.top, fm.top + (textHeight - bounds.bottom) / 2) - halfMargin; 36 fm.descent = Math.max(fm.bottom, fm.bottom + (bounds.bottom - textHeight) / 2) 39 fm.bottom = fm.descent; 51 int y, int bottom, Paint paint) { 53 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2; 50 draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/native/include/ui/ |
H A D | Rect.h | 37 left = right = top = bottom = 0; 43 bottom = h; 50 bottom = b; 57 bottom = rb.y; 63 left = top = right = bottom = 0; 83 return bottom - top; 87 return Rect(right - left, bottom - top); 97 bottom = rb.y; 105 return Point(right, bottom); 111 return Point(left, bottom); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | ExpandableOutlineView.java | 66 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom); 73 protected void setOutlineRect(float left, float top, float right, float bottom) { argument 76 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom); 79 mOutlineRect.bottom = (int) Math.max(top, mOutlineRect.bottom);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ClipRectAnimation.java | 51 int b = mFromRect.bottom + (int) ((mToRect.bottom - mFromRect.bottom) * it);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | BackgroundFallback.java | 53 int bottom = 0; 76 bottom = Math.max(bottom, child.getBottom()); 79 if (left >= right || top >= bottom) { 96 if (bottom < height) { 97 mBackgroundFallback.setBounds(left, bottom, right, height);
|
/frameworks/base/core/java/android/text/style/ |
H A D | LineBackgroundSpan.java | 27 int top, int baseline, int bottom, 25 drawBackground(Canvas c, Paint p, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) argument
|
H A D | DynamicDrawableSpan.java | 33 * A constant indicating that the bottom of this span should be aligned 34 * with the bottom of the surrounding text, i.e., at the same level as the 40 * A constant indicating that the bottom of this span should be aligned 81 fm.ascent = -rect.bottom; 85 fm.bottom = 0; 94 int top, int y, int bottom, Paint paint) { 98 int transY = bottom - b.getBounds().bottom; 92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/support/v7/cardview/base/android/support/v7/widget/ |
H A D | CardViewDelegate.java | 32 void setShadowPadding(int left, int top, int right, int bottom); argument
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | StyledCornersBitmapDrawable.java | 243 float bottom = bounds.bottom - mBorderWidth / 2; 259 flapCornerRectF.offsetTo(right - mCornerFlapSide, bottom - mCornerFlapSide); 264 flapCornerRectF.offsetTo(left, bottom - mCornerFlapSide); 287 float bottom = bounds.bottom; 312 .offsetTo(right - fakeCornerRectF.width(), bottom - fakeCornerRectF.height()); 314 mCompatibilityModePath.moveTo(right, bottom); 315 mCompatibilityModePath.lineTo(right - mCornerRoundRadius, bottom); 321 fakeCornerRectF.offsetTo(left, bottom [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsBackground.java | 60 protected boolean setFrame(int left, int top, int right, int bottom) { argument 62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { 65 return super.setFrame(left, top, right, bottom); 101 final int bottom = chld.bottom + bkg.bottom; 115 background.setBounds(left, top, right, bottom); 145 r.bottom = r.right = Integer.MIN_VALUE; 153 r.bottom = Math.max(r.bottom, [all...] |