Home
last modified time | relevance | path

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

12345678910>>...36

/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.java43 public int bottom; field in Rect
75 public Rect(int left, int top, int right, int bottom) { in Rect() argument
79 this.bottom = bottom; in Rect()
91 left = top = right = bottom = 0; in Rect()
96 bottom = r.bottom; in Rect()
106 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals()
114 result = 31 * result + bottom; in hashCode()
123 sb.append(", "); sb.append(bottom); sb.append(")"); in toString()
142 sb.append(','); sb.append(bottom); sb.append(']'); in toShortString()
164 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.java161 public void setRect(int left, int top, int right, int bottom) { in setRect() argument
162 setRoundRect(left, top, right, bottom, 0.0f); in setRect()
169 setRect(rect.left, rect.top, rect.right, rect.bottom); in setRect()
177 public void setRoundRect(int left, int top, int right, int bottom, float radius) { in setRoundRect() argument
178 if (left >= right || top >= bottom) { in setRoundRect()
184 mRect.set(left, top, right, bottom); in setRoundRect()
193 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); in setRoundRect()
227 public void setOval(int left, int top, int right, int bottom) { in setOval() argument
228 if (left >= right || top >= bottom) { in setOval()
233 if ((bottom - top) == (right - left)) { in setOval()
[all …]
DPath.java453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); in arcTo()
468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); in arcTo()
483 public void arcTo(float left, float top, float right, float bottom, float startAngle, in arcTo() argument
486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); in arcTo()
514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { in detectSimplePath() argument
522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); in detectSimplePath()
533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); in addRect()
545 public void addRect(float left, float top, float right, float bottom, Direction dir) { in addRect() argument
546 detectSimplePath(left, top, right, bottom, dir); in addRect()
547 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt); in addRect()
[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 …]
DCanvas.java429 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); in saveLayer()
442 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, in saveLayer() argument
444 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom, in saveLayer()
452 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { in saveLayer() argument
453 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); in saveLayer()
488 … return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); in saveLayerAlpha()
501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, in saveLayerAlpha() argument
504 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom, in saveLayerAlpha()
511 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha) { in saveLayerAlpha() argument
512 return saveLayerAlpha(left, top, right, bottom, alpha, ALL_SAVE_FLAG); in saveLayerAlpha()
[all …]
/frameworks/base/libs/hwui/
DRect.h34 (r).left, (r).top, (r).right, (r).bottom
36 (r).left(), (r).top(), (r).right(), (r).bottom()
47 float bottom; variable
59 bottom(0) { in Rect()
62 inline Rect(float left, float top, float right, float bottom): in Rect() argument
66 bottom(bottom) { in Rect()
73 bottom(height) { in Rect()
80 bottom(rect.fBottom) { in Rect()
87 bottom(rect.fBottom) { in Rect()
99 left = top = right = bottom = 0.0f; in clear()
[all …]
DOpenGLRenderer.h138 float left, float top, float right, float bottom, bool opaque);
155 virtual int saveLayer(float left, float top, float right, float bottom, in saveLayer() argument
157 return saveLayer(left, top, right, bottom, paint, flags, nullptr); in saveLayer()
162 int saveLayer(float left, float top, float right, float bottom,
165 int saveLayerDeferred(float left, float top, float right, float bottom,
180 float left, float top, float right, float bottom, const SkPaint* paint);
182 void drawRect(float left, float top, float right, float bottom,
184 void drawRoundRect(float left, float top, float right, float bottom,
187 void drawOval(float left, float top, float right, float bottom,
189 void drawArc(float left, float top, float right, float bottom,
[all …]
/frameworks/native/libs/ui/
DRect.cpp37 bottom = -1; in makeInvalid()
47 if (bottom < rhs.bottom) { in operator <()
49 } else if (bottom == rhs.bottom) { in operator <()
61 bottom -= top - y; in offsetTo()
71 bottom += y; in offsetBy()
76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); in operator +()
81 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); in operator -()
89 result->bottom = min(bottom, with.bottom); in intersect()
97 result.bottom); in transform()
100 result = Rect(result.left, height - result.bottom, result.right, in transform()
[all …]
/frameworks/support/compat/java/android/support/v4/widget/
DTextViewCompat.java39 @Nullable Drawable bottom); in setCompoundDrawablesRelative() argument
42 @Nullable Drawable bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
45 @DrawableRes int bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
56 @Nullable Drawable bottom) { in setCompoundDrawablesRelative() argument
57 textView.setCompoundDrawables(start, top, end, bottom); in setCompoundDrawablesRelative()
63 @Nullable Drawable bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
64 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds()
70 @DrawableRes int bottom) { in setCompoundDrawablesRelativeWithIntrinsicBounds() argument
71 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); in setCompoundDrawablesRelativeWithIntrinsicBounds()
111 @Nullable Drawable bottom) { in setCompoundDrawablesRelative() argument
[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.java169 return mSystemWindowInsets.bottom; in getSystemWindowInsetBottom()
225 return mWindowDecorInsets.bottom; in getWindowDecorInsetBottom()
239 mSystemWindowInsets.right != 0 || mSystemWindowInsets.bottom != 0; in hasSystemWindowInsets()
254 mWindowDecorInsets.right != 0 || mWindowDecorInsets.bottom != 0; in hasWindowDecorInsets()
320 boolean right, boolean bottom) { in consumeSystemWindowInsets() argument
321 if (left || top || right || bottom) { in consumeSystemWindowInsets()
327 bottom ? 0 : mSystemWindowInsets.bottom); in consumeSystemWindowInsets()
344 int right, int bottom) { in replaceSystemWindowInsets() argument
346 result.mSystemWindowInsets = new Rect(left, top, right, bottom); in replaceSystemWindowInsets()
378 boolean right, boolean bottom) { in consumeWindowDecorInsets() argument
[all …]
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DBottomNavigationViewUsage.java42 final BottomNavigationView bottom = in onCreate() local
44 mOriginalTint = bottom.getItemIconTintList(); in onCreate()
48 bottom.getMenu().getItem(0).setEnabled(!bottom.getMenu().getItem(0).isEnabled()); in onCreate()
55 if (bottom.getMenu().size() < 5) { in onCreate()
56 MenuItem item = bottom.getMenu().add("Bananas"); in onCreate()
65 bottom.getMenu().removeItem(0); in onCreate()
72 if (bottom.getItemIconTintList() == null) { in onCreate()
73 bottom.setItemIconTintList(mOriginalTint); in onCreate()
75 bottom.setItemIconTintList(null); in onCreate()
83 final int menuSize = bottom.getMenu().size(); in onCreate()
[all …]
/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/native/include/ui/
DRect.h56 bottom = static_cast<int32_t>(h); in Rect()
63 bottom = b; in Rect()
70 bottom = rb.y; in Rect()
76 left = top = right = bottom = 0; in clear()
96 return bottom - top; in getHeight()
100 return Rect(right - left, bottom - top); in getBounds()
110 bottom = rb.y; in setRightBottom()
118 return Point(right, bottom); in rightBottom()
124 return Point(left, bottom); in leftBottom()
130 (right == rhs.right) && (bottom == rhs.bottom);
[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/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/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/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/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/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/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/
DNavigationBarButton.java56 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { in setCompoundDrawables() argument
60 if (bottom != null) bottom = TintedDrawable.wrap(bottom); in setCompoundDrawables()
61 super.setCompoundDrawables(left, top, right, bottom); in setCompoundDrawables()
67 Drawable bottom) { in setCompoundDrawablesRelative() argument
71 if (bottom != null) bottom = TintedDrawable.wrap(bottom); in setCompoundDrawablesRelative()
72 super.setCompoundDrawablesRelative(start, top, end, bottom); in setCompoundDrawablesRelative()
/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>>...36