Searched refs:bottom (Results 1 - 25 of 709) 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.java30 * represented by the coordinates of its 4 edges (left, top, right bottom).
33 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
35 * Note that the right and bottom coordinates are exclusive. This means a Rect
38 * those of its bottom and right.
44 public int bottom; field in class:Rect
69 * top <= bottom.
74 * @param bottom The Y coordinate of the bottom of the rectangle
76 public Rect(int left, int top, int right, int bottom) { argument
80 this.bottom
270 set(int left, int top, int right, int bottom) argument
355 inset(int left, int top, int right, int bottom) argument
390 contains(int left, int top, int right, int bottom) argument
432 intersect(int left, int top, int right, int bottom) argument
497 intersects(int left, int top, int right, int bottom) argument
525 union(int left, int top, int right, int bottom) argument
[all...]
H A DOutline.java173 public void setRect(int left, int top, int right, int bottom) { argument
174 setRoundRect(left, top, right, bottom, 0.0f);
181 setRect(rect.left, rect.top, rect.right, rect.bottom);
189 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument
190 if (left >= right || top >= bottom) {
200 mRect.set(left, top, right, bottom);
208 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
242 public void setOval(int left, int top, int right, int bottom) { argument
243 if (left >= right || top >= bottom) {
248 if ((bottom
[all...]
/frameworks/native/include/ui/
H A DFloatRect.h25 : left(_left), top(_top), right(_right), bottom(_bottom) {}
28 float getHeight() const { return bottom - top; }
33 float bottom = 0.0f; member in class:android::FloatRect
37 return a.left == b.left && a.top == b.top && a.right == b.right && a.bottom == b.bottom;
H A DRect.h55 bottom = static_cast<int32_t>(h);
62 bottom = b;
69 bottom = rb.y;
75 left = top = right = bottom = 0;
95 return bottom - top;
99 return Rect(right - left, bottom - top);
109 bottom = rb.y;
117 return Point(right, bottom);
123 return Point(left, bottom);
129 (right == rhs.right) && (bottom
[all...]
/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...]
H A DProfileRenderer.cpp22 void ProfileRenderer::drawRect(float left, float top, float right, float bottom, argument
24 mRenderer.drawRect(left, top, right, bottom, &paint);
/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/src/android/support/transition/
H A DRectEvaluator.java63 * (left, top, right, and bottom).
80 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
82 return new Rect(left, top, right, bottom);
84 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/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() < bottom.getMaxItemCount()) {
56 MenuItem item = bottom.getMenu().add("Bananas");
65 if (bottom.getMenu().size() > 0) {
66 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() < bottom.getMaxItemCount()) {
56 MenuItem item = bottom.getMenu().add("Bananas");
65 if (bottom.getMenu().size() > 0) {
66 bottom
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskPositionerTests.java80 final int midY = (r.top + r.bottom) / 2;
89 assertBoundsEquals(new Rect(MOUSE_DELTA_X, MOUSE_DELTA_Y, r.right, r.bottom),
94 assertBoundsEquals(new Rect(400 + MOUSE_DELTA_X, MOUSE_DELTA_Y, r.right, r.bottom),
100 new Rect(r.right - mMinVisibleWidth, r.top + MOUSE_DELTA_Y, r.right, r.bottom),
106 new Rect(r.left + MOUSE_DELTA_X, r.bottom - mMinVisibleHeight, r.right, r.bottom),
115 assertBoundsEquals(new Rect(MOUSE_DELTA_X, r.top, r.right, r.bottom),
120 assertBoundsEquals(new Rect(200 + MOUSE_DELTA_X, r.top, r.right, r.bottom),
125 assertBoundsEquals(new Rect(r.left + MOUSE_DELTA_X, r.top, r.right, r.bottom),
128 // Drag to the bottom
[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/libs/arect/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/native/libs/vr/libdvr/include/dvr/
H A Ddvr_hardware_composer_defs.h36 int32_t bottom; member in struct:DvrHwcRecti
43 float bottom; member in struct:DvrHwcRectf
/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/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/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DBoundsRule.java23 * rectangular bound - left/top/right/bottom.
135 if (bottom == null) {
136 result.bottom = rect.bottom;
138 result.bottom = doCalculate(rect.top, bottom, rect.height());
148 this.bottom = boundsRule.bottom != null ? new ValueRule(boundsRule.bottom) : null;
164 /** {@link ValueRule} for bottom attribut
165 public ValueRule bottom; field in class:BoundsRule
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DBackgroundFallback.java61 int bottom = 0;
84 bottom = Math.max(bottom, child.getBottom());
87 if (left >= right || top >= bottom) {
104 if (bottom < height) {
105 mBackgroundFallback.setBounds(left, bottom, right, height);

Completed in 4068 milliseconds

1234567891011>>