Searched refs:bottom (Results 1 - 25 of 326) 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/libs/ui/
H A DRect.cpp34 bottom = -1;
45 if (bottom<rhs.bottom) {
47 } else if (bottom == rhs.bottom) {
60 bottom -= top - y;
71 bottom+=y;
77 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y);
83 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y);
92 result->bottom
110 int bottom = result.right; local
[all...]
/frameworks/base/libs/hwui/
H A DRect.h36 float bottom; member in class:android::uirenderer::Rect
48 bottom(0) {
51 inline Rect(float left, float top, float right, float bottom): argument
55 bottom(bottom) {
62 bottom(height) {
74 left = top = right = bottom = 0.0f;
80 return !((left < right) && (top < bottom));
84 left = top = right = bottom = 0.0f;
87 inline void 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 DOpenGLRenderer.h163 * @param bottom The bottom coordinate of the dirty rectangle
168 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
204 ANDROID_API int saveLayer(float left, float top, float right, float bottom, argument
208 return saveLayer(left, top, right, bottom, paint ? paint->getAlpha() : 255, mode, flags);
210 ANDROID_API int saveLayerAlpha(float left, float top, float right, float bottom, argument
212 return saveLayer(left, top, right, bottom, alpha, SkXfermode::kSrcOver_Mode, flags);
214 virtual int saveLayer(float left, float top, float right, float bottom,
217 int saveLayerDeferred(float left, float top, float right, float bottom,
231 ANDROID_API bool quickReject(float left, float top, float right, float bottom);
371 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) 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/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/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.h39 left = top = 0; right = w; bottom = h;
42 left = l; top = t; right = r; bottom = b;
45 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y;
51 left = top = right = bottom = 0;
75 return bottom-top;
79 return Rect(right-left, bottom-top);
92 bottom = rb.y;
100 return Point(right, bottom);
106 return Point(left, bottom);
112 (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
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/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/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 2297 milliseconds

1234567891011>>