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

12345678910

/frameworks/base/graphics/java/android/graphics/
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;
75 bottom
235 set(int left, int top, int right, int bottom) argument
327 contains(int left, int top, int right, int bottom) argument
369 intersect(int left, int top, int right, int bottom) argument
442 intersects(int left, int top, int right, int bottom) argument
472 union(int left, int top, int right, int bottom) argument
[all...]
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;
72 bottom
172 set(float left, float top, float right, float bottom) argument
277 contains(float left, float top, float right, float bottom) argument
319 intersect(float left, float top, float right, float bottom) argument
392 intersects(float left, float top, float right, float bottom) argument
441 union(float left, float top, float right, float bottom) argument
[all...]
H A DRegion.java64 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
69 public Region(int left, int top, int right, int bottom) { argument
71 nativeSetRect(mNativeRegion, left, top, right, bottom);
89 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
94 public boolean set(int left, int top, int right, int bottom) { argument
95 return nativeSetRect(mNativeRegion, left, top, right, bottom);
174 return quickContains(r.left, r.top, r.right, r.bottom);
184 int bottom);
192 return quickReject(r.left, r.top, r.right, r.bottom);
200 public native boolean quickReject(int left, int top, int right, int bottom); argument
183 quickContains(int left, int top, int right, int bottom) argument
259 op(int left, int top, int right, int bottom, Op op) argument
371 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
379 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/libs/hwui/
H A DRect.h39 tmp.bottom = min(bottom, b);
47 float bottom; member in class:android::uirenderer::Rect
59 bottom(0) {
62 inline Rect(float left, float top, float right, float bottom): argument
66 bottom(bottom) {
73 bottom(height) {
85 left = top = right = bottom = 0.0f;
91 return !((left < right) && (top < bottom));
98 set(float left, float top, float right, float bottom) argument
[all...]
H A DOpenGLRenderer.h68 virtual void prepareDirty(float left, float top, float right, float bottom, bool opaque);
82 virtual int saveLayer(float left, float top, float right, float bottom,
84 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
97 ANDROID_API bool quickReject(float left, float top, float right, float bottom);
98 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
113 float left, float top, float right, float bottom, SkPaint* paint);
115 virtual void drawRect(float left, float top, float right, float bottom, SkPaint* paint);
116 virtual void drawRoundRect(float left, float top, float right, float bottom,
119 virtual void drawOval(float left, float top, float right, float bottom, SkPaint* paint);
120 virtual void drawArc(float left, float top, float right, float bottom,
[all...]
H A DSnapshot.h117 bool clip(float left, float top, float right, float bottom, argument
119 Rect r(left, top, right, bottom);
170 void setClip(float left, float top, float right, float bottom) { argument
171 clipRect->set(left, top, right, bottom);
190 void resetClip(float left, float top, float right, float bottom) { argument
192 clipRect->set(left, top, right, bottom);
/frameworks/base/libs/ui/
H A DRect.cpp33 bottom = -1;
44 if (bottom<rhs.bottom) {
46 } else if (bottom == rhs.bottom) {
59 bottom -= top - y;
70 bottom+=y;
76 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y);
82 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y);
91 result->bottom
[all...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DRunData.java31 public int left, top, right, bottom; field in class:RunData.TileData
36 public TileData(int left, int top, int right, int bottom, argument
41 this.bottom = bottom;
49 + right + "," + bottom + ")";
/frameworks/base/core/java/android/view/
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. */
231 + ((container.bottom - container.top - h)/2) + yAdj;
232 outRect.bottom = outRect.top + h;
238 if (outRect.bottom > container.bottom) {
239 outRect.bottom = container.bottom;
245 outRect.bottom
[all...]
H A DFocusFinder.java78 // make up a rect at top left or bottom right of root
272 // edge to be closer to the source's top edge than rect1's bottom edge.
304 return (srcRect.bottom > destRect.bottom || srcRect.top >= destRect.bottom)
307 return (srcRect.top < destRect.top || srcRect.bottom <= destRect.top)
308 && srcRect.bottom < destRect.bottom;
326 return (rect2.bottom >= rect1.top) && (rect2.top <= rect1.bottom);
[all...]
H A DGLES20Canvas.java251 nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, mOpaque);
258 private static native void nPrepareDirty(int renderer, int left, int top, int right, int bottom, argument
417 public boolean clipRect(float left, float top, float right, float bottom) { argument
418 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
422 float right, float bottom, int op);
425 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument
426 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt);
430 public boolean clipRect(int left, int top, int right, int bottom) { argument
431 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
434 private static native boolean nClipRect(int renderer, int left, int top, int right, int bottom, argument
421 nClipRect(int renderer, float left, float top, float right, float bottom, int op) argument
477 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
481 nQuickReject(int renderer, float left, float top, float right, float bottom, int edge) argument
579 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument
591 nSaveLayer(int renderer, float left, float top, float right, float bottom, int paint, int saveFlags) argument
606 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument
614 nSaveLayerAlpha(int renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument
665 nDrawArc(int renderer, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, int paint) argument
684 nDrawPatch(int renderer, int bitmap, byte[] buffer, byte[] chunks, float left, float top, float right, float bottom, int paint) argument
758 nDrawBitmap(int renderer, int bitmap, byte[] buffer, float srcLeft, float srcTop, float srcRight, float srcBottom, float left, float top, float right, float bottom, int paint) argument
867 nDrawOval(int renderer, float left, float top, float right, float bottom, int paint) argument
941 drawRect(float left, float top, float right, float bottom, Paint paint) argument
947 nDrawRect(int renderer, float left, float top, float right, float bottom, int paint) argument
973 nDrawRoundRect(int renderer, float left, float top, float right, float bottom, float rx, float y, int paint) argument
[all...]
/frameworks/base/native/include/android/
H A Drect.h32 int32_t bottom; member in struct:ARect
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandedView.java44 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
45 super.onLayout(changed, left, top, right, bottom);
46 int height = bottom - top;
/frameworks/base/include/ui/
H A DRect.h38 left = top = 0; right = w; bottom = h;
41 left = l; top = t; right = r; bottom = b;
44 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y;
50 left = top = right = bottom = 0;
74 return bottom-top;
84 bottom = rb.y;
92 return Point(right, bottom);
98 return Point(left, bottom);
104 (right == rhs.right) && (bottom == rhs.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
H A DReplacementSpan.java30 int top, int y, int bottom, Paint paint);
28 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) 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/base/libs/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/services/java/com/android/server/wm/
H A DBlackFrame.java90 outer.left, inner.top, inner.left, outer.bottom);
92 if (outer.bottom > inner.bottom) {
94 inner.left, inner.bottom, outer.right, outer.bottom);
98 inner.right, outer.top, outer.right, inner.bottom);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGradientsActivity.java224 float bottom = 40.0f + mDrawHeight;
235 bottom += 40.0f + mDrawHeight;
245 bottom -= 40.0f + mDrawHeight;
249 mMatrix.postTranslate(left, bottom);
251 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint);
254 bottom += 40.0f + mDrawHeight;
260 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint);
264 top = bottom + 20.0f;
265 bottom
[all...]

Completed in 233 milliseconds

12345678910