Searched defs:bottom (Results 1 - 25 of 111) sorted by relevance

12345

/frameworks/base/native/include/android/
H A Drect.h32 int32_t bottom; member in struct:ARect
/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 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
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 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 DBulletSpan.java81 int top, int baseline, int bottom,
103 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f);
107 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p);
80 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
H A DLeadingMarginSpan.java57 * @param bottom the bottom of the line
66 int top, int baseline, int bottom,
139 int top, int baseline, int bottom,
64 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
137 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 DQuoteSpan.java67 int top, int baseline, int bottom,
76 c.drawRect(x, top, x + dir * STRIPE_WIDTH, bottom, p);
66 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/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/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;
H A DTrackingView.java39 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
40 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java64 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
85 return bottom(widget, buffer);
H A DArrowKeyMovementMethod.java167 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
H A DBaseMovementMethod.java201 return bottom(widget, buffer);
219 return bottom(widget, buffer);
237 return bottom(widget, buffer);
329 * Performs a bottom movement action.
330 * Moves the cursor or scrolls to the bottom of the buffer.
336 protected boolean bottom(TextView widget, Spannable buffer) { method in class:BaseMovementMethod
538 final int bottom = widget.getScrollY() + innerHeight;
539 int bottomLine = layout.getLineForVertical(bottom);
540 if (layout.getLineTop(bottomLine + 1) < bottom + 1) {
588 final int bottom
[all...]
/frameworks/base/libs/ui/
H A DRegion.cpp252 bounds.top = bounds.bottom = 0;
264 bounds.bottom = storage.top().bottom;
276 // rect.left, rect.top, rect.right, rect.bottom);
298 if (p->top == q->bottom) {
310 const int bottom = span[0].bottom; local
313 r->bottom = bottom;
338 b.bottom
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java184 final int left, final int top, final int right, final int bottom,
198 new Rect(left, top, right, bottom),
220 left, top, right - left, bottom - top, destDensity, srcDensity);
183 draw(int canvas_instance, final int left, final int top, final int right, final int bottom, int bitmap_instance, byte[] c, int paint_instance_or_null, final int destDensity, final int srcDensity) argument
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java162 public void setPadding(int left, int top, int right, int bottom) { argument
163 super.setPadding(left, top, right, bottom);
/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...]
/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/java/com/android/internal/view/menu/
H A DIconMenuItemView.java185 // When there is an icon, make sure the text is at the bottom
238 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
239 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp42 jfieldID bottom; member in struct:android::__anon54
137 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
165 clipRect.set(rect.left, rect.top, rect.right, rect.bottom);
170 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
226 GET_FIELD_ID(gRectClassInfo.bottom, clazz, "bottom", "I");
/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...]
/frameworks/base/include/private/ui/
H A DRegionHelper.h78 int inside = spanner.next(current.top, current.bottom);
85 current.top < current.bottom) {
164 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy;
166 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy;
173 inline int next(TYPE& top, TYPE& bottom) argument
177 int inside = SpannerBase::next(top, bottom, more_lhs, more_rhs);
201 aBottom = rects->bottom + reg.dy;

Completed in 7855 milliseconds

12345