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

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DRectF.java27 * represented by the coordinates of its 4 edges (left, top, right bottom).
30 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
36 public float bottom; field in class:RectF
46 * top <= bottom.
51 * @param bottom The Y coordinate of the bottom of the rectangle
53 public RectF(float left, float top, float right, float bottom) { argument
57 this.bottom = bottom;
69 left = top = right = bottom
197 set(float left, float top, float right, float bottom) argument
302 contains(float left, float top, float right, float bottom) argument
344 intersect(float left, float top, float right, float bottom) argument
417 intersects(float left, float top, float right, float bottom) argument
466 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.java29 * represented by the coordinates of its 4 edges (left, top, right bottom).
32 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
34 * Note that the right and bottom coordinates are exclusive. This means a Rect
37 * those of its bottom and right.
43 public int bottom; field in class:Rect
68 * top <= bottom.
73 * @param bottom The Y coordinate of the bottom of the rectangle
75 public Rect(int left, int top, int right, int bottom) { argument
79 this.bottom
265 set(int left, int top, int right, int bottom) argument
350 inset(int left, int top, int right, int bottom) argument
385 contains(int left, int top, int right, int bottom) argument
427 intersect(int left, int top, int right, int bottom) argument
492 intersects(int left, int top, int right, int bottom) argument
520 union(int left, int top, int right, int bottom) argument
[all...]
H A DOutline.java161 public void setRect(int left, int top, int right, int bottom) { argument
162 setRoundRect(left, top, right, bottom, 0.0f);
169 setRect(rect.left, rect.top, rect.right, rect.bottom);
177 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument
178 if (left >= right || top >= bottom) {
184 mRect.set(left, top, right, bottom);
193 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
227 public void setOval(int left, int top, int right, int bottom) { argument
228 if (left >= right || top >= bottom) {
233 if ((bottom
[all...]
H A DPath.java453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
483 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
542 * @param bottom The bottom of a rectangle to add to the path
545 public void addRect(float left, float top, float right, float bottom, Directio argument
565 addOval(float left, float top, float right, float bottom, Direction dir) argument
600 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
625 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
655 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
828 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
832 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
834 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
837 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
843 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.h31 float bottom; member in class:android::FloatRect
34 : left(0), top(0), right(0), bottom(0) { }
36 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { }
39 inline float getHeight() const { return bottom - top; }
/frameworks/base/libs/hwui/
H A DRect.h34 (r).left, (r).top, (r).right, (r).bottom
36 (r).left(), (r).top(), (r).right(), (r).bottom()
47 float bottom; member in class:android::uirenderer::Rect
59 bottom(0) {
62 inline Rect(float left, float top, float right, float bottom): argument
66 bottom(bottom) {
73 bottom(height) {
80 bottom(rect.fBottom) {
92 left = top = right = bottom
105 set(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.cpp37 bottom = -1;
47 if (bottom < rhs.bottom) {
49 } else if (bottom == rhs.bottom) {
61 bottom -= top - y;
71 bottom += y;
76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y);
81 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y);
89 result->bottom
107 int bottom = result.right; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DRectFEvaluator.java33 * (left, top, right, and bottom).
48 float bottom = startValue.bottom + ((endValue.bottom - startValue.bottom) * fraction);
49 mRect.set(left, top, right, bottom);
/frameworks/support/v4/java/android/support/v4/widget/
H A DTextViewCompat.java40 @Nullable Drawable bottom);
43 @Nullable Drawable bottom);
46 @DrawableRes int bottom);
56 @Nullable Drawable bottom) {
57 textView.setCompoundDrawables(start, top, end, bottom);
63 @Nullable Drawable bottom) {
64 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
70 @DrawableRes int bottom) {
71 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
106 @Nullable Drawable bottom) {
38 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
41 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
44 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
54 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
61 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
68 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
104 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
111 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
119 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
129 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
136 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
145 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
192 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
212 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
236 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes 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.h52 /** bottom position */
53 int32_t bottom; member in struct:ARect
/frameworks/support/design/base/android/support/design/widget/
H A DShadowViewDelegate.java23 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCardViewBindingAdapter.java40 int bottom = view.getContentPaddingBottom();
41 view.setContentPadding(left, top, right, bottom);
48 int bottom = view.getContentPaddingBottom();
49 view.setContentPadding(left, top, right, bottom);
56 int bottom = view.getContentPaddingBottom();
57 view.setContentPadding(left, top, right, bottom);
61 public static void setContentPaddingBottom(CardView view, int bottom) { argument
65 view.setContentPadding(left, top, right, bottom);
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
H A DReplacementDrawableSpan.java36 fm.ascent = Math.min(fm.top, fm.top + (textHeight - bounds.bottom) / 2) - halfMargin;
37 fm.descent = Math.max(fm.bottom, fm.bottom + (bounds.bottom - textHeight) / 2)
40 fm.bottom = fm.descent;
52 int y, int bottom, Paint paint) {
54 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2;
51 draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
/frameworks/support/v4/jellybean-mr1/android/support/v4/widget/
H A DTextViewCompatJbMr1.java29 @Nullable Drawable bottom) {
31 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom);
36 @Nullable Drawable bottom) {
39 bottom);
43 int start, int top, int end, int bottom) {
46 bottom);
27 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
34 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
42 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
/frameworks/support/v4/jellybean-mr2/android/support/v4/widget/
H A DTextViewCompatJbMr2.java29 @Nullable Drawable bottom) {
30 textView.setCompoundDrawablesRelative(start, top, end, bottom);
35 @Nullable Drawable bottom) {
36 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);
41 @DrawableRes int bottom) {
42 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);
27 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
33 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
39 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
/frameworks/base/core/java/android/view/
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...]
H A DWindowInsets.java160 * Returns the bottom system window inset in pixels.
166 * @return The bottom system window inset
169 return mSystemWindowInsets.bottom;
215 * Returns the bottom window decor inset in pixels.
221 * @return The bottom window decor inset
225 return mWindowDecorInsets.bottom;
239 mSystemWindowInsets.right != 0 || mSystemWindowInsets.bottom != 0;
254 mWindowDecorInsets.right != 0 || mWindowDecorInsets.bottom != 0;
286 * <p>A round window's left, top, right and bottom edges reach all the way to the
315 * @param bottom tru
319 consumeSystemWindowInsets(boolean left, boolean top, boolean right, boolean bottom) argument
343 replaceSystemWindowInsets(int left, int top, int right, int bottom) argument
377 consumeWindowDecorInsets(boolean left, boolean top, boolean right, boolean bottom) argument
393 replaceWindowDecorInsets(int left, int top, int right, int bottom) argument
[all...]
/frameworks/native/include/ui/
H A DRect.h56 bottom = static_cast<int32_t>(h);
63 bottom = b;
70 bottom = rb.y;
76 left = top = right = bottom = 0;
96 return bottom - top;
100 return Rect(right - left, bottom - top);
110 bottom = rb.y;
118 return Point(right, bottom);
124 return Point(left, bottom);
130 (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
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewDelegate.java31 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/base/core/java/com/android/internal/policy/
H A DDockedDividerUtils.java42 outRect.bottom = position;
59 * at the bottom/right. This is used to determine in which direction to extend
65 // left/top to make it more offscreen. If they are on the bottom or right, push them off the
66 // screen by moving it even more to the bottom/right.
71 if (bounds.top >= bounds.bottom) {
72 bounds.top = bounds.bottom - 1;
78 if (bounds.bottom <= bounds.top) {
79 bounds.bottom = bounds.top + 1;
89 return bounds.bottom;
103 ? displayHeight - insets.bottom
[all...]

Completed in 705 milliseconds

1234567891011>>