Searched refs:bottom (Results 1 - 25 of 468) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DRectF.java28 * 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 DInsets.java34 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 DRect.java28 * 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 DOutline.java142 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 DPath.java438 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 DFloatRect.h30 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 DRect.h32 (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 DSnapshot.cpp93 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 DRectEvaluator.java59 * (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 DRect.cpp34 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 DWindowInsets.java151 * 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 DGravity.java34 /** 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 DAnimateableViewBounds.java62 mSourceView.getHeight() - Math.max(mClipRect.bottom, mOutlineClipRect.bottom),
129 /** Animates the bottom clip. */
130 void animateClipBottom(int bottom, int duration) { argument
135 mClipBottomAnimator = ObjectAnimator.ofInt(this, "clipBottom", bottom);
141 /** Sets the bottom clip. */
142 public void setClipBottom(int bottom) { argument
143 if (bottom != mClipRect.bottom) {
144 mClipRect.bottom
160 setOutlineClipBottom(int bottom) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DSystemViewInfo.java30 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 Drect.h34 int32_t bottom; member in struct:ARect
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DReplacementDrawableSpan.java35 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/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java66 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 DClipRectAnimation.java51 int b = mFromRect.bottom + (int) ((mToRect.bottom - mFromRect.bottom) * it);
/frameworks/native/include/ui/
H A DRect.h42 bottom = h;
49 bottom = b;
56 bottom = rb.y;
62 left = top = right = bottom = 0;
82 return bottom - top;
86 return Rect(right - left, bottom - top);
96 bottom = rb.y;
104 return Point(right, bottom);
110 return Point(left, bottom);
116 (right == rhs.right) && (bottom
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java53 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 DLineBackgroundSpan.java27 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 DDynamicDrawableSpan.java33 * 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 DCardViewDelegate.java32 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DStyledCornersBitmapDrawable.java243 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 DRecentApplicationsBackground.java60 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...]

Completed in 1786 milliseconds

1234567891011>>