Searched refs:bottom (Results 226 - 250 of 709) sorted by path

1234567891011>>

/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedRotateDrawable.java61 final int h = bounds.bottom - bounds.top;
H A DAnimatedVectorDrawable.java466 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
467 mAnimatedVectorState.mVectorDrawable.setHotspotBounds(left, top, right, bottom);
H A DBitmapDrawable.java604 final int bottom = bounds.bottom - mDstRect.bottom;
605 mOpticalInsets = Insets.of(left, top, right, bottom);
H A DDrawable.java218 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 DDrawableContainer.java106 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 DDrawableWrapper.java257 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
259 mDrawable.setHotspotBounds(left, top, right, bottom);
H A DGradientDrawable.java182 /** 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 DInsetDrawable.java227 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 DLayerDrawable.java459 * @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 DNinePatchDrawable.java233 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 DRippleDrawable.java635 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
637 mHotspotBounds.set(left, top, right, bottom);
H A DRotateDrawable.java148 final int h = bounds.bottom - bounds.top;
H A DScaleDrawable.java243 d.setBounds(r.left, r.top, r.right, r.bottom);
H A DShapeDrawable.java145 * @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 DVectorDrawable.java496 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 DOvalShape.java44 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
H A DRectShape.java45 (int) Math.floor(rect.right), (int) Math.floor(rect.bottom));
H A DRoundRectShape.java102 (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 DPdfDocument.java123 pageInfo.mContentRect.right, pageInfo.mContentRect.bottom));
354 || contentRect.bottom > mPageInfo.mPageHeight)) {
H A DPdfEditor.java143 clip.left, clip.top, clip.right, clip.bottom);
H A DPdfRenderer.java390 || destClip.bottom > destination.getHeight()) {
411 final int contentBottom = (destClip != null) ? destClip.bottom
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp42 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 DBakedOpRenderer.cpp54 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 DBakedOpRenderer.h98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument
99 float ltrb[4] = { left, top, right, bottom };
H A DBakedOpState.cpp29 if (clip.bottom < bounds.bottom) clipSideFlags |= OpClipSideFlags::Bottom;

Completed in 211 milliseconds

1234567891011>>