Searched refs:bottom (Results 1 - 25 of 625) 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...]
/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) {
87 bottom(rec
112 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/support/transition/ics/android/support/transition/
H A DRectEvaluator.java61 * (left, top, right, and bottom).
78 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
80 return new Rect(left, top, right, bottom);
82 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/compat/java/android/support/v4/widget/
H A DTextViewCompat.java39 @Nullable Drawable bottom);
42 @Nullable Drawable bottom);
45 @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);
111 @Nullable Drawable bottom) {
37 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
40 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
43 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
109 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
116 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
124 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
139 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
146 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
155 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
202 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
222 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
246 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/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DBottomNavigationViewUsage.java32 * This demonstrates idiomatic usage of the bottom navigation widget.
42 final BottomNavigationView bottom =
44 mOriginalTint = bottom.getItemIconTintList();
48 bottom.getMenu().getItem(0).setEnabled(!bottom.getMenu().getItem(0).isEnabled());
55 if (bottom.getMenu().size() < 5) {
56 MenuItem item = bottom.getMenu().add("Bananas");
65 bottom.getMenu().removeItem(0);
72 if (bottom.getItemIconTintList() == null) {
73 bottom
[all...]
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DBottomNavigationViewUsage.java32 * This demonstrates idiomatic usage of the bottom navigation widget.
42 final BottomNavigationView bottom =
44 mOriginalTint = bottom.getItemIconTintList();
48 bottom.getMenu().getItem(0).setEnabled(!bottom.getMenu().getItem(0).isEnabled());
55 if (bottom.getMenu().size() < 5) {
56 MenuItem item = bottom.getMenu().add("Bananas");
65 bottom.getMenu().removeItem(0);
72 if (bottom.getItemIconTintList() == null) {
73 bottom
[all...]
/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/compat/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/compat/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

Completed in 3564 milliseconds

1234567891011>>