Searched refs:bottom (Results 1 - 25 of 348) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DRectF.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
37 public float bottom; field in class:RectF
47 * top <= bottom.
52 * @param bottom The Y coordinate of the bottom of the rectangle
54 public RectF(float left, float top, float right, float bottom) { argument
58 this.bottom = bottom;
70 left = top = right = bottom
198 set(float left, float top, float right, float bottom) argument
303 contains(float left, float top, float right, float bottom) argument
345 intersect(float left, float top, float right, float bottom) argument
418 intersects(float left, float top, float right, float bottom) argument
467 union(float left, float top, float right, float bottom) argument
[all...]
H A DInsets.java34 public final int bottom; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
40 this.bottom = bottom;
51 * @param bottom the bottom inset
55 public static Insets of(int left, int top, int right, int bottom) { argument
56 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
59 return new Insets(left, top, right, bottom);
70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom);
[all...]
H A DRect.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
37 public int bottom; field in class:Rect
50 * top <= bottom.
55 * @param bottom The Y coordinate of the bottom of the rectangle
57 public Rect(int left, int top, int right, int bottom) { argument
61 this.bottom = bottom;
73 left = top = right = bottom
247 set(int left, int top, int right, int bottom) argument
339 contains(int left, int top, int right, int bottom) argument
380 intersect(int left, int top, int right, int bottom) argument
443 intersects(int left, int top, int right, int bottom) argument
471 union(int left, int top, int right, int bottom) argument
[all...]
H A DRegion.java71 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
411 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
419 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFloatRect.h30 float bottom; member in class:android::FloatRect
34 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { }
37 inline float getHeight() const { return bottom - top; }
/frameworks/base/libs/hwui/
H A DRect.h31 (r).left, (r).top, (r).right, (r).bottom
42 float bottom; member in class:android::uirenderer::Rect
54 bottom(0) {
57 inline Rect(float left, float top, float right, float bottom): argument
61 bottom(bottom) {
68 bottom(height) {
80 left = top = right = bottom = 0.0f;
86 return !((left < right) && (top < bottom));
90 left = top = right = bottom
93 set(float left, float top, float right, float bottom) argument
[all...]
H A DSnapshot.cpp81 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom);
98 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument
100 tmp.set(left, top, right, bottom);
114 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument
115 Rect r(left, top, right, bottom);
127 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op);
138 setClip(r.left, r.top, r.right, r.bottom);
144 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op);
156 void Snapshot::setClip(float left, float top, float right, float bottom) { argument
157 clipRect->set(left, top, right, bottom);
178 resetClip(float left, float top, float right, float bottom) argument
[all...]
H A DSnapshot.h86 bool clip(float left, float top, float right, float bottom,
105 void setClip(float left, float top, float right, float bottom);
116 void resetClip(float left, float top, float right, float bottom);
237 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
/frameworks/native/libs/ui/
H A DRect.cpp34 bottom = -1;
44 if (bottom < rhs.bottom) {
46 } else if (bottom == rhs.bottom) {
58 bottom -= top - y;
68 bottom += y;
73 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y);
78 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y);
86 result->bottom
104 int bottom = result.right; local
[all...]
/frameworks/base/core/java/android/animation/
H A DRectEvaluator.java30 * (left, top, right, and bottom).
43 startValue.bottom + (int)((endValue.bottom - startValue.bottom) * fraction));
/frameworks/native/include/android/
H A Drect.h34 int32_t bottom; member in struct:ARect
/frameworks/base/core/java/android/view/
H A DIMagnificationCallbacks.aidl26 void onRectangleOnScreenRequested(int left, int top, int right, int bottom);
H A DGravity.java34 /** Raw bit controlling how the right/bottom edge is placed. */
36 /** Raw bit controlling whether the right/bottom edge is clipped to its
47 /** Push object to the bottom of its container, not changing its size. */
232 + ((container.bottom - container.top - h)/2) + yAdj;
233 outRect.bottom = outRect.top + h;
239 if (outRect.bottom > container.bottom) {
240 outRect.bottom = container.bottom;
246 outRect.bottom
[all...]
/frameworks/native/include/ui/
H A DRect.h42 bottom = h;
49 bottom = b;
56 bottom = rb.y;
62 left = top = right = bottom = 0;
82 return bottom - top;
86 return Rect(right - left, bottom - top);
96 bottom = rb.y;
104 return Point(right, bottom);
110 return Point(left, bottom);
116 (right == rhs.right) && (bottom
[all...]
/frameworks/base/core/java/android/text/style/
H A DLineBackgroundSpan.java27 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 DDynamicDrawableSpan.java36 * A constant indicating that the bottom of this span should be aligned
37 * with the bottom of the surrounding text, i.e., at the same level as the
43 * A constant indicating that the bottom of this span should be aligned
84 fm.ascent = -rect.bottom;
88 fm.bottom = 0;
97 int top, int y, int bottom, Paint paint) {
101 int transY = bottom - b.getBounds().bottom;
95 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
H A DIconMarginSpan.java43 int top, int baseline, int bottom,
65 need = ht - (v + fm.bottom - fm.top - istartv);
67 fm.bottom += need;
42 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
H A DDrawableMarginSpan.java43 int top, int baseline, int bottom,
68 need = ht - (v + fm.bottom - fm.top - istartv);
70 fm.bottom += need;
42 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/media/java/android/media/videoeditor/
H A DEffectKenBurns.java99 start.bottom = getStartRect().bottom;
103 end.bottom = getEndRect().bottom;
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java61 protected boolean setFrame(int left, int top, int right, int bottom) { argument
63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
66 return super.setFrame(left, top, right, bottom);
102 final int bottom = chld.bottom + bkg.bottom;
116 background.setBounds(left, top, right, bottom);
146 r.bottom = r.right = Integer.MIN_VALUE;
154 r.bottom = Math.max(r.bottom,
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java65 * Top and bottom padding are affected, as is the line descent and height.
74 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
75 fmi.top, fmi.bottom);
80 * Ascent of top line and descent of bottom line are affected.
90 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
92 fmi.ascent, fmi.bottom);
97 * First line ascent is top, bottom line descent is bottom.
108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
111 fmi.ascent, fmi.bottom);
[all...]
/frameworks/rs/scriptc/
H A Drs_math.rsh97 * @param bottom plane
104 float4 *top, float4 *bottom,
122 bottom->x = viewProj->m[3] + viewProj->m[1];
123 bottom->y = viewProj->m[7] + viewProj->m[5];
124 bottom->z = viewProj->m[11] + viewProj->m[9];
125 bottom->w = viewProj->m[15] + viewProj->m[13];
143 len = length(bottom->xyz);
144 *bottom /= len;
157 * @param bottom plane
164 float4 *top, float4 *bottom,
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilter.java86 int bottom = (tempRect.bottom+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE;
100 if (bottom > dims[1]) {
101 bottom = dims[1];
102 } else if (bottom < 0) {
103 bottom = 0;
111 for (int j = 0; j < (bottom - top); j++) {
145 if (bottom < dims[1]) {
146 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * bottom + left + k) +
148 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * bottom
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java88 int bottom = (faceRect.bottom+HEIGHT_OFFSET)*bitmap.getHeight()/FACE_X_RANGE;
102 if (bottom > bitmap.getHeight()) {
103 bottom = bitmap.getHeight();
104 } else if (bottom < 0) {
105 bottom = 0;
113 for (int j = 0; j < (bottom - top); j++) {
147 if (bottom < bitmap.getHeight()) {
148 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * bottom + left + k) +
150 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * bottom
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DPagerTabStrip.java34 * android:layout_gravity to TOP or BOTTOM to pin it to the top or bottom
151 public void setPadding(int left, int top, int right, int bottom) { argument
152 if (bottom < mMinPaddingBottom) {
153 bottom = mMinPaddingBottom;
155 super.setPadding(left, top, right, bottom);
260 final int bottom = height;
263 final int top = bottom - mIndicatorHeight;
266 canvas.drawRect(left, top, right, bottom, mTabPaint);
278 int bottom = getHeight();
281 int top = bottom
[all...]

Completed in 471 milliseconds

1234567891011>>