/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 27 * 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 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 | 29 * 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). 38 public int bottom; field in class:Rect 63 * top <= bottom. 68 * @param bottom The Y coordinate of the bottom of the rectangle 70 public Rect(int left, int top, int right, int bottom) { argument 74 this.bottom = bottom; 86 left = top = right = bottom 260 set(int left, int top, int right, int bottom) argument 352 contains(int left, int top, int right, int bottom) argument 394 intersect(int left, int top, int right, int bottom) argument 459 intersects(int left, int top, int right, int bottom) argument 487 union(int left, int top, int right, int bottom) argument [all...] |
H A D | Outline.java | 143 public void setRect(int left, int top, int right, int bottom) { argument 144 setRoundRect(left, top, right, bottom, 0.0f); 151 setRect(rect.left, rect.top, rect.right, rect.bottom); 159 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument 160 if (left >= right || top >= bottom) { 166 mRect.set(left, top, right, bottom); 175 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); 181 public void setOval(int left, int top, int right, int bottom) { argument 182 if (left >= right || top >= bottom) { 187 if ((bottom [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 | 33 (r).left, (r).top, (r).right, (r).bottom 35 (r).left(), (r).top(), (r).right(), (r).bottom() 46 float bottom; member in class:android::uirenderer::Rect 58 bottom(0) { 61 inline Rect(float left, float top, float right, float bottom): argument 65 bottom(bottom) { 72 bottom(height) { 79 bottom(rect.fBottom) { 91 left = top = right = bottom 104 set(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/support/v4/jellybean-mr2/android/support/v4/widget/ |
H A D | TextViewCompatJbMr2.java | 28 @Nullable Drawable bottom) { 29 textView.setCompoundDrawablesRelative(start, top, end, bottom); 34 @Nullable Drawable bottom) { 35 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom); 39 int start, int top, int end, int bottom) { 40 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom); 26 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 32 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 38 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 36 bottom = -1; 46 if (bottom < rhs.bottom) { 48 } else if (bottom == rhs.bottom) { 60 bottom -= top - y; 70 bottom += y; 75 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 80 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); 88 result->bottom 106 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/core/java/android/view/animation/ |
H A D | ClipRectTBAnimation.java | 22 * Special case of ClipRectAnimation that animates only the top/bottom 46 mFromRect.bottom + (int) ((mToRect.bottom - mFromRect.bottom) * it));
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | TextViewCompat.java | 39 @Nullable Drawable bottom); 43 @Nullable Drawable bottom); 46 int start, int top, int end, int bottom); 55 @Nullable Drawable bottom) { 56 textView.setCompoundDrawables(start, top, end, bottom); 62 @Nullable Drawable bottom) { 63 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 68 int start, int top, int end, int bottom) { 69 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 79 @Nullable Drawable bottom) { 37 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 45 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument 53 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 60 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 67 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument 77 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 84 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 92 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument 103 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 110 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 119 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument 154 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 174 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 198 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument [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 | 52 /** bottom position */ 53 int32_t bottom; member in struct:ARect
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowViewDelegate.java | 23 void setShadowPadding(int left, int top, int right, int bottom); argument
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | CardViewBindingAdapter.java | 40 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 D | ReplacementDrawableSpan.java | 36 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 D | TextViewCompatJbMr1.java | 29 @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/native/include/ui/ |
H A D | Rect.h | 40 left = right = top = bottom = 0; 46 bottom = h; 62 bottom = h; 69 bottom = b; 76 bottom = rb.y; 82 left = top = right = bottom = 0; 102 return bottom - top; 106 return Rect(right - left, bottom - top); 116 bottom = rb.y; 124 return Point(right, bottom); [all...] |
/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/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsResizeTaskDialog.java | 145 mBounds[0].bottom = mBounds[0].centerY(); 146 mBounds[1].top = mBounds[0].bottom; 150 mBounds[1].bottom = mBounds[1].centerY(); 151 mBounds[0].top = mBounds[1].bottom; 156 mBounds[0].bottom = mBounds[0].centerY(); 158 mBounds[1].bottom = mBounds[0].bottom; 160 mBounds[2].top = mBounds[0].bottom; 162 mBounds[3].top = mBounds[0].bottom; 167 mBounds[0].bottom [all...] |
/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
|
/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
|