Home
last modified time | relevance | path

Searched refs:bottom (Results 1 – 25 of 803) sorted by relevance

12345678910>>...33

/frameworks/base/graphics/java/android/graphics/
DRectF.java36 public float bottom; field in RectF
53 public RectF(float left, float top, float right, float bottom) { in RectF() argument
57 this.bottom = bottom; in RectF()
69 left = top = right = bottom = 0.0f; in RectF()
74 bottom = r.bottom; in RectF()
80 left = top = right = bottom = 0.0f; in RectF()
85 bottom = r.bottom; in RectF()
95 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals()
103 result = 31 * result + (bottom != +0.0f ? Float.floatToIntBits(bottom) : 0); in hashCode()
109 + right + ", " + bottom + ")"; in toString()
[all …]
DRect.java38 public int bottom; field in Rect
70 public Rect(int left, int top, int right, int bottom) { in Rect() argument
74 this.bottom = bottom; in Rect()
86 left = top = right = bottom = 0; in Rect()
91 bottom = r.bottom; in Rect()
101 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals()
109 result = 31 * result + bottom; in hashCode()
118 sb.append(", "); sb.append(bottom); sb.append(")"); in toString()
137 sb.append(','); sb.append(bottom); sb.append(']'); in toShortString()
159 sb.append(bottom); in flattenToString()
[all …]
DInsets.java34 public final int bottom; field in Insets
36 private Insets(int left, int top, int right, int bottom) { in Insets() argument
40 this.bottom = bottom; in Insets()
55 public static Insets of(int left, int top, int right, int bottom) { in of() argument
56 if (left == 0 && top == 0 && right == 0 && bottom == 0) { in of()
59 return new Insets(left, top, right, bottom); in of()
70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom); in of()
88 if (bottom != insets.bottom) return false; in equals()
101 result = 31 * result + bottom; in hashCode()
111 ", bottom=" + bottom + in toString()
DOutline.java143 public void setRect(int left, int top, int right, int bottom) { in setRect() argument
144 setRoundRect(left, top, right, bottom, 0.0f); in setRect()
151 setRect(rect.left, rect.top, rect.right, rect.bottom); in setRect()
159 public void setRoundRect(int left, int top, int right, int bottom, float radius) { in setRoundRect() argument
160 if (left >= right || top >= bottom) { in setRoundRect()
166 mRect.set(left, top, right, bottom); in setRoundRect()
175 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); in setRoundRect()
181 public void setOval(int left, int top, int right, int bottom) { in setOval() argument
182 if (left >= right || top >= bottom) { in setOval()
187 if ((bottom - top) == (right - left)) { in setOval()
[all …]
DPath.java438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); in arcTo()
453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); in arcTo()
468 public void arcTo(float left, float top, float right, float bottom, float startAngle, in arcTo() argument
471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); in arcTo()
499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { in detectSimplePath() argument
507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); in detectSimplePath()
518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); in addRect()
530 public void addRect(float left, float top, float right, float bottom, Direction dir) { in addRect() argument
531 detectSimplePath(left, top, right, bottom, dir); in addRect()
532 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
[all …]
DCanvas.java447 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); in saveLayer()
460 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer() argument
462 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom, in saveLayer()
470 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { in saveLayer() argument
471 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); in saveLayer()
506 … return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); in saveLayerAlpha()
519 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, in saveLayerAlpha() argument
522 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom, in saveLayerAlpha()
529 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { in saveLayerAlpha() argument
530 return saveLayerAlpha(left, top, right, bottom, alpha, ALL_SAVE_FLAG); in saveLayerAlpha()
[all …]
DRegion.java71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); in Region()
76 public Region(int left, int top, int right, int bottom) { in Region() argument
78 nativeSetRect(mNativeRegion, left, top, right, bottom); in Region()
97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); in set()
102 public boolean set(int left, int top, int right, int bottom) { in set() argument
103 return nativeSetRect(mNativeRegion, left, top, right, bottom); in set()
182 return quickContains(r.left, r.top, r.right, r.bottom); in quickContains()
192 int bottom); in quickContains() argument
200 return quickReject(r.left, r.top, r.right, r.bottom); in quickReject()
208 public native boolean quickReject(int left, int top, int right, int bottom); in quickReject() argument
[all …]
/frameworks/base/libs/hwui/
DRect.h33 (r).left, (r).top, (r).right, (r).bottom
35 (r).left(), (r).top(), (r).right(), (r).bottom()
46 float bottom; variable
58 bottom(0) { in Rect()
61 inline Rect(float left, float top, float right, float bottom): in Rect() argument
65 bottom(bottom) { in Rect()
72 bottom(height) { in Rect()
79 bottom(rect.fBottom) { in Rect()
91 left = top = right = bottom = 0.0f; in clear()
97 return !((left < right) && (top < bottom)); in isEmpty()
[all …]
/frameworks/support/v4/java/android/support/v4/widget/
DTextViewCompat.java39 @Nullable Drawable bottom); in setCompoundDrawablesRelative() argument
43 @Nullable Drawable bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
46 int start, int top, int end, int bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
55 @Nullable Drawable bottom) { in setCompoundDrawablesRelative() argument
56 textView.setCompoundDrawables(start, top, end, bottom); in setCompoundDrawablesRelative()
62 @Nullable Drawable bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
63 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds()
68 int start, int top, int end, int bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
69 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds()
79 @Nullable Drawable bottom) { in setCompoundDrawablesRelative() argument
[all …]
/frameworks/native/libs/ui/
DRect.cpp36 bottom = -1; in makeInvalid()
46 if (bottom < rhs.bottom) { in operator <()
48 } else if (bottom == rhs.bottom) { in operator <()
60 bottom -= top - y; in offsetTo()
70 bottom += y; in offsetBy()
75 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); in operator +()
80 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); in operator -()
88 result->bottom = min(bottom, with.bottom); in intersect()
96 result.bottom); in transform()
99 result = Rect(result.left, height - result.bottom, result.right, in transform()
[all …]
/frameworks/base/core/java/android/view/
DGravity.java232 + ((container.bottom - container.top - h)/2) + yAdj; in apply()
233 outRect.bottom = outRect.top + h; in apply()
239 if (outRect.bottom > container.bottom) { in apply()
240 outRect.bottom = container.bottom; in apply()
246 outRect.bottom = outRect.top + h; in apply()
249 if (outRect.bottom > container.bottom) { in apply()
250 outRect.bottom = container.bottom; in apply()
255 outRect.bottom = container.bottom - yAdj; in apply()
256 outRect.top = outRect.bottom - h; in apply()
266 outRect.bottom = container.bottom + yAdj; in apply()
[all …]
DWindowInsets.java160 return mSystemWindowInsets.bottom; in getSystemWindowInsetBottom()
216 return mWindowDecorInsets.bottom; in getWindowDecorInsetBottom()
230 mSystemWindowInsets.right != 0 || mSystemWindowInsets.bottom != 0; in hasSystemWindowInsets()
245 mWindowDecorInsets.right != 0 || mWindowDecorInsets.bottom != 0; in hasWindowDecorInsets()
311 boolean right, boolean bottom) { in consumeSystemWindowInsets() argument
312 if (left || top || right || bottom) { in consumeSystemWindowInsets()
318 bottom ? 0 : mSystemWindowInsets.bottom); in consumeSystemWindowInsets()
335 int right, int bottom) { in replaceSystemWindowInsets() argument
337 result.mSystemWindowInsets = new Rect(left, top, right, bottom); in replaceSystemWindowInsets()
369 boolean right, boolean bottom) { in consumeWindowDecorInsets() argument
[all …]
/frameworks/native/include/ui/
DRect.h40 left = right = top = bottom = 0; in Rect()
46 bottom = h; in Rect()
62 bottom = h; in Rect()
69 bottom = b; in Rect()
76 bottom = rb.y; in Rect()
82 left = top = right = bottom = 0; in clear()
102 return bottom - top; in getHeight()
106 return Rect(right - left, bottom - top); in getBounds()
116 bottom = rb.y; in setRightBottom()
124 return Point(right, bottom); in rightBottom()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DAnimateableViewBounds.java49 mSourceView.getHeight() - mClipRect.bottom, in getOutline()
62 public void setClipBottom(int bottom) { in setClipBottom() argument
63 if (bottom != mClipRect.bottom) { in setClipBottom()
64 mClipRect.bottom = bottom; in setClipBottom()
69 bottom - mSourceView.getPaddingBottom()); in setClipBottom()
76 return mClipRect.bottom; in getClipBottom()
82 mSourceView.getHeight() - mClipRect.bottom); in updateClipBounds()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java252 float bottom = bounds.bottom - mBorderWidth / 2; in draw() local
268 flapCornerRectF.offsetTo(right - mCornerFlapSide, bottom - mCornerFlapSide); in draw()
273 flapCornerRectF.offsetTo(left, bottom - mCornerFlapSide); in draw()
307 float bottom = bounds.bottom; in drawFakeCornersForCompatibilityMode() local
332 .offsetTo(right - fakeCornerRectF.width(), bottom - fakeCornerRectF.height()); in drawFakeCornersForCompatibilityMode()
334 mCompatibilityModePath.moveTo(right, bottom); in drawFakeCornersForCompatibilityMode()
335 mCompatibilityModePath.lineTo(right - mCornerRoundRadius, bottom); in drawFakeCornersForCompatibilityMode()
341 fakeCornerRectF.offsetTo(left, bottom - fakeCornerRectF.height()); in drawFakeCornersForCompatibilityMode()
343 mCompatibilityModePath.moveTo(left, bottom); in drawFakeCornersForCompatibilityMode()
344 mCompatibilityModePath.lineTo(left, bottom - mCornerRoundRadius); in drawFakeCornersForCompatibilityMode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsResizeTaskDialog.java145 mBounds[0].bottom = mBounds[0].centerY(); in placeTasks()
146 mBounds[1].top = mBounds[0].bottom; in placeTasks()
150 mBounds[1].bottom = mBounds[1].centerY(); in placeTasks()
151 mBounds[0].top = mBounds[1].bottom; in placeTasks()
156 mBounds[0].bottom = mBounds[0].centerY(); in placeTasks()
158 mBounds[1].bottom = mBounds[0].bottom; in placeTasks()
160 mBounds[2].top = mBounds[0].bottom; in placeTasks()
162 mBounds[3].top = mBounds[0].bottom; in placeTasks()
167 mBounds[0].bottom = mBounds[0].centerY(); in placeTasks()
169 mBounds[1].bottom = mBounds[0].bottom; in placeTasks()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DReplacementDrawableSpan.java36 fm.ascent = Math.min(fm.top, fm.top + (textHeight - bounds.bottom) / 2) - halfMargin; in setupFontMetrics()
37 fm.descent = Math.max(fm.bottom, fm.bottom + (bounds.bottom - textHeight) / 2) in setupFontMetrics()
40 fm.bottom = fm.descent; in setupFontMetrics()
52 int y, int bottom, Paint paint) { in draw() argument
54 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2; in draw()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DCardViewBindingAdapter.java40 int bottom = view.getContentPaddingBottom(); in setContentPaddingLeft() local
41 view.setContentPadding(left, top, right, bottom); in setContentPaddingLeft()
48 int bottom = view.getContentPaddingBottom(); in setContentPaddingTop() local
49 view.setContentPadding(left, top, right, bottom); in setContentPaddingTop()
56 int bottom = view.getContentPaddingBottom(); in setContentPaddingRight() local
57 view.setContentPadding(left, top, right, bottom); in setContentPaddingRight()
61 public static void setContentPaddingBottom(CardView view, int bottom) { in setContentPaddingBottom() argument
65 view.setContentPadding(left, top, right, bottom); in setContentPaddingBottom()
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/quality/
Dauto.jd105 <p style="margin-bottom:.5em;">
117 <p style="margin-bottom:.5em;">
129 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
154 <p style="margin-bottom:.5em;">
172 <p style="margin-bottom:.5em;">
184 <p style="margin-bottom:.5em;">
195 <p style="margin-bottom:.5em;">
210 <p style="margin-bottom:.5em;">
222 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/googleplay/quality/
Dauto.jd82 <p style="margin-bottom:.5em;">
93 <p style="margin-bottom:.5em;">
104 <p style="margin-bottom:.5em;">
115 <p style="margin-bottom:.5em;">
126 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
155 <p style="margin-bottom:.5em;">
166 <p style="margin-bottom:.5em;">
181 <p style="margin-bottom:.5em;">
192 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/ja/distribute/googleplay/quality/
Dauto.jd82 <p style="margin-bottom:.5em;">
93 <p style="margin-bottom:.5em;">
104 <p style="margin-bottom:.5em;">
115 <p style="margin-bottom:.5em;">
126 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
155 <p style="margin-bottom:.5em;">
166 <p style="margin-bottom:.5em;">
181 <p style="margin-bottom:.5em;">
192 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/quality/
Dauto.jd105 <p style="margin-bottom:.5em;">
117 <p style="margin-bottom:.5em;">
129 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
154 <p style="margin-bottom:.5em;">
172 <p style="margin-bottom:.5em;">
184 <p style="margin-bottom:.5em;">
195 <p style="margin-bottom:.5em;">
210 <p style="margin-bottom:.5em;">
222 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/docs/html-intl/intl/ru/distribute/googleplay/quality/
Dauto.jd105 <p style="margin-bottom:.5em;">
117 <p style="margin-bottom:.5em;">
129 <p style="margin-bottom:.5em;">
143 <p style="margin-bottom:.5em;">
154 <p style="margin-bottom:.5em;">
172 <p style="margin-bottom:.5em;">
184 <p style="margin-bottom:.5em;">
195 <p style="margin-bottom:.5em;">
210 <p style="margin-bottom:.5em;">
222 <p style="margin-bottom:.5em;">
[all …]
/frameworks/base/core/java/android/animation/
DRectEvaluator.java76 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); in evaluate() local
78 return new Rect(left, top, right, bottom); in evaluate()
80 mRect.set(left, top, right, bottom); in evaluate()
/frameworks/base/services/core/java/com/android/server/policy/
DRecentApplicationsBackground.java60 protected boolean setFrame(int left, int top, int right, int bottom) { in setFrame() argument
62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { in setFrame()
65 return super.setFrame(left, top, right, bottom); in setFrame()
101 final int bottom = chld.bottom + bkg.bottom; in draw() local
115 background.setBounds(left, top, right, bottom); in draw()
145 r.bottom = r.right = Integer.MIN_VALUE; in getChildBounds()
153 r.bottom = Math.max(r.bottom, v.getBottom()); in getChildBounds()

12345678910>>...33