/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedRotateDrawable.java | 61 final int h = bounds.bottom - bounds.top;
|
H A D | AnimatedVectorDrawable.java | 466 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 467 mAnimatedVectorState.mVectorDrawable.setHotspotBounds(left, top, right, bottom);
|
H A D | BitmapDrawable.java | 604 final int bottom = bounds.bottom - mDstRect.bottom; 605 mOpticalInsets = Insets.of(left, top, right, bottom);
|
H A D | Drawable.java | 218 public void setBounds(int left, int top, int right, int bottom) { argument 226 oldBounds.right != right || oldBounds.bottom != bottom) { 231 mBounds.set(left, top, right, bottom); 241 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); 694 * @param bottom position in pixels of the bottom bound 697 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument
|
H A D | DrawableContainer.java | 106 result = (r.left | r.top | r.bottom | r.right) != 0; 308 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 310 mHotspotBounds = new Rect(left, top, right, bottom); 312 mHotspotBounds.set(left, top, right, bottom); 316 mCurrDrawable.setHotspotBounds(left, top, right, bottom); 561 hotspotBounds.right, hotspotBounds.bottom); 1067 if (t.bottom > r.bottom) r.bottom = t.bottom; [all...] |
H A D | DrawableWrapper.java | 257 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 259 mDrawable.setHotspotBounds(left, top, right, bottom);
|
H A D | GradientDrawable.java | 182 /** draw the gradient from the top to the bottom */ 184 /** draw the gradient from the top-right to the bottom-left */ 188 /** draw the gradient from the bottom-right to the top-left */ 190 /** draw the gradient from the bottom to the top */ 192 /** draw the gradient from the bottom-left to the top-right */ 196 /** draw the gradient from the top-left to the bottom-right */ 225 * ordered top-left, top-right, bottom-right, bottom-left. This property 248 * ordered top-left, top-right, bottom-right, bottom [all...] |
H A D | InsetDrawable.java | 227 out.bottom = mState.mInsetBottom.getDimension(b.height()); 237 padding.bottom += mTmpInsetRect.bottom; 240 | mTmpInsetRect.top | mTmpInsetRect.bottom) != 0; 252 contentInsets.bottom + mTmpInsetRect.bottom); 262 || mTmpInsetRect.bottom > 0)) { 276 r.bottom -= mState.mInsetBottom.getDimension(bounds.height());
|
H A D | LayerDrawable.java | 459 * @param bottom The bottom padding of the new layer. 462 int left, int top, int right, int bottom) { 470 childDrawable.mInsetB = bottom; 763 * @param b number of pixels to subtract from the bottom bound 782 * @param b number of pixels to inset from the bottom bound 855 * @param b number of pixels to inset from the bottom bound 865 * @return number of pixels to inset from the bottom bound 1056 padding.bottom = paddingB; 1059 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom ! 461 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument 1083 setPadding(int left, int top, int right, int bottom) argument 1116 setPaddingRelative(int start, int top, int end, int bottom) argument 1297 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
H A D | NinePatchDrawable.java | 233 scaledBounds.bottom = bounds.top + Math.round(bounds.height() / scale); 243 final float cy = (bounds.top + bounds.bottom) / 2.0f; 271 return (padding.left | padding.top | padding.right | padding.bottom) != 0; 291 bounds.bottom - mOutlineInsets.bottom, 309 opticalInsets.left, opticalInsets.bottom); 674 final int bottom = Drawable.scaleFromDensity( 675 sourceOpticalInsets.bottom, sourceDensity, targetDensity, true); 676 mOpticalInsets = Insets.of(left, top, right, bottom); 692 mPadding.bottom [all...] |
H A D | RippleDrawable.java | 635 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 637 mHotspotBounds.set(left, top, right, bottom);
|
H A D | RotateDrawable.java | 148 final int h = bounds.bottom - bounds.top;
|
H A D | ScaleDrawable.java | 243 d.setBounds(r.left, r.top, r.right, r.bottom);
|
H A D | ShapeDrawable.java | 145 * @param bottom padding for the bottom (in pixels) 147 public void setPadding(int left, int top, int right, int bottom) { argument 148 if ((left | top | right | bottom) == 0) { 154 mShapeState.mPadding.set(left, top, right, bottom); 161 * in the Rect object as: left, top, right, bottom.
|
H A D | VectorDrawable.java | 496 final int bottom = Drawable.scaleFromDensity( 497 opticalInsets.bottom, sourceDensity, targetDensity, false); 498 mDpiScaledInsets = Insets.of(left, top, right, bottom); 698 R.styleable.VectorDrawable_opticalInsetBottom, state.mOpticalInsets.bottom); 1018 mOpticalInsets.bottom, sourceDensity, targetDensity, false);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | OvalShape.java | 44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
|
H A D | RectShape.java | 45 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
|
H A D | RoundRectShape.java | 102 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom), radius); 119 r.right - mInset.right, r.bottom - mInset.bottom);
|
/frameworks/base/graphics/java/android/graphics/pdf/ |
H A D | PdfDocument.java | 123 pageInfo.mContentRect.right, pageInfo.mContentRect.bottom)); 354 || contentRect.bottom > mPageInfo.mPageHeight)) {
|
H A D | PdfEditor.java | 143 clip.left, clip.top, clip.right, clip.bottom);
|
H A D | PdfRenderer.java | 390 || destClip.bottom > destination.getHeight()) { 411 final int contentBottom = (destClip != null) ? destClip.bottom
|
/frameworks/base/libs/hwui/ |
H A D | BakedOpDispatcher.cpp | 42 vertices[2] = { bounds.left, bounds.bottom, 0, 1 }; 43 vertices[3] = { bounds.right, bounds.bottom, 1, 1 }; 512 std::min(1.0f, op.src.bottom / texture->height()));
|
H A D | BakedOpRenderer.cpp | 54 repaintRect.right, repaintRect.bottom)); 112 area.left, mRenderTarget.viewportHeight - area.bottom, width, height); 177 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, 260 rectangleVertices.push_back(Vertex{bounds.left, bounds.bottom}); 261 rectangleVertices.push_back(Vertex{bounds.right, bounds.bottom}); 359 info.clipBottom = clip.bottom;
|
H A D | BakedOpRenderer.h | 98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument 99 float ltrb[4] = { left, top, right, bottom };
|
H A D | BakedOpState.cpp | 29 if (clip.bottom < bounds.bottom) clipSideFlags |= OpClipSideFlags::Bottom;
|