/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/graphics/ |
H A D | CompositeDrawableTest.java | 72 parentDrawable.getChildAt(0).getBoundsRule().bottom = ValueRule.inheritFromParent( 78 expectedBounds.bottom = bounds.top + (int) (HEIGHT * fraction); 83 parentDrawable.getChildAt(0).getBoundsRule().bottom = ValueRule.absoluteValue(200); 88 expectedBounds.bottom = 200; 92 parentDrawable.getChildAt(0).getBoundsRule().bottom = 98 expectedBounds.bottom = bounds.top + (int) (HEIGHT * fraction + 100); 103 parentDrawable.getChildAt(0).getBoundsRule().bottom = 109 expectedBounds.bottom = bounds.top + (int) ((HEIGHT - 200) * fraction); 129 boundsRule.bottom = ValueRule.inheritFromParent(fraction); 137 expectedBounds.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
|
H A D | DynamicDrawableSpan.java | 33 * A constant indicating that the bottom of this span should be aligned 34 * with the bottom of the surrounding text, i.e., at the same level as the 40 * A constant indicating that the bottom of this span should be aligned 81 fm.ascent = -rect.bottom; 85 fm.bottom = 0; 94 int top, int y, int bottom, Paint paint) { 98 int transY = bottom - b.getBounds().bottom; 92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
H A D | IconMarginSpan.java | 42 int top, int baseline, int bottom, 64 need = ht - (v + fm.bottom - fm.top - istartv); 66 fm.bottom += need; 41 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
|
/frameworks/base/libs/hwui/ |
H A D | IProfileRenderer.h | 24 virtual void drawRect(float left, float top, float right, float bottom,
|
H A D | Outline.h | 42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument 48 && bottom == mBounds.bottom 55 mBounds.set(left, top, right, bottom); 61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom), 64 mPath.addRect(left, top, right, bottom);
|
H A D | ProfileRenderer.h | 30 void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | ortho.h | 10 Eigen::AffineMatrix<T, 4> OrthoMatrix(T left, T right, T bottom, T top, argument 15 const T b = t2 / (top - bottom); 18 const T yoff = -(top + bottom) / (top - bottom);
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardViewDelegate.java | 31 void setShadowPadding(int left, int top, int right, int bottom); argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DockedDividerUtils.java | 42 outRect.bottom = position; 59 * at the bottom/right. This is used to determine in which direction to extend 65 // left/top to make it more offscreen. If they are on the bottom or right, push them off the 66 // screen by moving it even more to the bottom/right. 71 if (bounds.top >= bounds.bottom) { 72 bounds.top = bounds.bottom - 1; 78 if (bounds.bottom <= bounds.top) { 79 bounds.bottom = bounds.top + 1; 89 return bounds.bottom; 103 ? displayHeight - insets.bottom [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Path.java | 458 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 473 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 488 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument 491 nArcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 519 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 527 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 538 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 547 * @param bottom The bottom of a rectangle to add to the path 550 public void addRect(float left, float top, float right, float bottom, Directio argument 570 addOval(float left, float top, float right, float bottom, Direction dir) argument 605 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 630 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument 660 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument 837 nArcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 840 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument 842 nAddOval(long nPath, float left, float top, float right, float bottom, int dir) argument 845 nAddArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 847 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 849 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
H A D | Region.java | 71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 76 public Region(int left, int top, int right, int bottom) { argument 78 nativeSetRect(mNativeRegion, left, top, right, bottom); 97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 102 public boolean set(int left, int top, int right, int bottom) { argument 103 return nativeSetRect(mNativeRegion, left, top, right, bottom); 182 return quickContains(r.left, r.top, r.right, r.bottom); 192 int bottom); 200 return quickReject(r.left, r.top, r.right, r.bottom); 208 public native boolean quickReject(int left, int top, int right, int bottom); argument 191 quickContains(int left, int top, int right, int bottom) argument 267 op(int left, int top, int right, int bottom, Op op) argument 412 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 420 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimateableViewBounds.java | 51 * Resets the right and bottom clip for this view. 64 mSourceView.getHeight() - mClipRect.bottom, 69 mSourceView.getHeight() - mClipRect.bottom); 102 /** Sets the bottom clip. */ 103 public void setClipBottom(int bottom) { argument 104 mClipRect.bottom = bottom; 108 /** Returns the bottom clip. */ 110 return mClipRect.bottom; 116 mSourceView.getHeight() - Math.max(0, mClipRect.bottom)); [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | StyledCornersBitmapDrawable.java | 252 float bottom = bounds.bottom - mBorderWidth / 2; 268 flapCornerRectF.offsetTo(right - mCornerFlapSide, bottom - mCornerFlapSide); 273 flapCornerRectF.offsetTo(left, bottom - mCornerFlapSide); 307 float bottom = bounds.bottom; 332 .offsetTo(right - fakeCornerRectF.width(), bottom - fakeCornerRectF.height()); 334 mCompatibilityModePath.moveTo(right, bottom); 335 mCompatibilityModePath.lineTo(right - mCornerRoundRadius, bottom); 341 fakeCornerRectF.offsetTo(left, bottom [all...] |
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 57 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { argument 61 if (bottom != null) bottom = TintedDrawable.wrap(bottom); 62 super.setCompoundDrawables(left, top, right, bottom); 68 Drawable bottom) { 72 if (bottom != null) bottom = TintedDrawable.wrap(bottom); 73 super.setCompoundDrawablesRelative(start, top, end, bottom); 67 setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, Drawable bottom) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | DividerItemDecoration.java | 132 final int bottom = mBounds.bottom + Math.round(child.getTranslationY()); 133 final int top = bottom - mDivider.getIntrinsicHeight(); 134 mDivider.setBounds(left, top, right, bottom); 143 final int bottom; 147 bottom = parent.getHeight() - parent.getPaddingBottom(); 149 parent.getWidth() - parent.getPaddingRight(), bottom); 152 bottom = parent.getHeight(); 161 mDivider.setBounds(left, top, right, bottom);
|
/frameworks/support/compat/java/android/support/v4/widget/ |
H A D | TextViewCompat.java | 80 @Nullable Drawable bottom) { 81 textView.setCompoundDrawables(start, top, end, bottom); 86 @Nullable Drawable bottom) { 87 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 92 @DrawableRes int bottom) { 93 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 241 @Nullable Drawable bottom) { 243 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom); 249 @Nullable Drawable bottom) { 252 rtl ? start : end, bottom); 78 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 90 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument 239 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 247 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 256 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument 282 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 289 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 296 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument 399 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 419 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument 443 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument [all...] |
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaProfileRenderer.cpp | 22 void SkiaProfileRenderer::drawRect(float left, float top, float right, float bottom, argument 24 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
|
H A D | SkiaProfileRenderer.h | 29 void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomLayout.java | 30 public LayoutParams(int left, int top, int right, int bottom) { argument 35 mBottom = bottom;
|
/frameworks/support/transition/api22/android/support/transition/ |
H A D | ViewUtilsApi22.java | 36 public void setLeftTopRightBottom(View v, int left, int top, int right, int bottom) { argument 40 sSetLeftTopRightBottomMethod.invoke(v, left, top, right, bottom);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | ClipRectAnimation.java | 60 int b = mFromRect.bottom + (int) ((mToRect.bottom - mFromRect.bottom) * it);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | RestrictedLockImageSpan.java | 50 int bottom, Paint paint) { 56 float transY = (bottom - drawable.getBounds().bottom) / 2.0f; 49 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
H A D | ClipRectTBAnimation.java | 26 * Special case of ClipRectAnimation that animates only the top/bottom 83 mFromRect.bottom - translation + (int) ((mToRect.bottom - mFromRect.bottom) * it));
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
H A D | RectUtils.java | 54 (int) fullRectF.bottom); 56 (int) partialRectF.bottom); 64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom);
|