Searched defs:top (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/base/awt/java/awt/
H A DInsets.java30 * the space that a container should leave at each edge: the top, the bottom,
44 * The top inset indicates the size of the space added to the top of the
47 public int top; field in class:Insets
68 * Instantiates a new Inset object with the specified top, left, bottom,
71 * @param top
72 * the top inset.
80 public Insets(int top, int left, int bottom, int right) { argument
81 setValues(top, left, bottom, right);
92 hashCode = HashCode.combine(hashCode, top);
157 set(int top, int left, int bottom, int right) argument
173 setValues(int top, int left, int bottom, int right) argument
[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 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,
71 need = ht - (v + fm.bottom - fm.top - istartv);
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.java87 fm.top = fm.ascent;
97 int top, int y, int bottom, Paint paint) {
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);
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.java78 int top, int baseline, int bottom,
92 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f,
77 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.java55 * @param top the top 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/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dustack.h33 inline reference top (void) { return (m_Storage.back()); } function in class:ustl::stack
34 inline const_reference top (void) const { return (m_Storage.back()); } function in class:ustl::stack
H A Duheap.h142 inline reference top (void) const { return (m_v.at(0)); } function in class:ustl::priority_queue
/frameworks/base/services/java/com/android/server/status/
H A DExpandedView.java49 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
50 super.onLayout(changed, left, top, right, bottom);
51 int height = bottom - top;
H A DTrackingView.java40 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
41 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/android/text/
H A DStyled.java53 float x, int top, int y, int bottom,
117 canvas.drawRect(x - ret, top, x, bottom, workPaint);
119 canvas.drawRect(x, top, x + ret, bottom, workPaint);
156 x - ret, top, y, bottom, workPaint);
159 x, top, y, bottom, workPaint);
240 float x, int top, int y, int bottom,
299 x, top, y, bottom, fmi, paint, workPaint,
308 if (fmi.top < minTop)
309 minTop = fmi.top;
321 fmi.top
50 drawUniformRun(Canvas canvas, Spanned text, int start, int end, int dir, boolean runIsRtl, float x, int top, int y, int bottom, Paint.FontMetricsInt fmi, TextPaint paint, TextPaint workPaint, boolean needWidth) argument
237 drawDirectionalRun(Canvas canvas, CharSequence text, int start, int end, int dir, boolean runIsRtl, float x, int top, int y, int bottom, Paint.FontMetricsInt fmi, TextPaint paint, TextPaint workPaint, boolean needWidth) argument
334 drawText(Canvas canvas, CharSequence text, int start, int end, int dir, boolean runIsRtl, float x, int top, int y, int bottom, TextPaint paint, TextPaint workPaint, boolean needWidth) argument
392 drawText(Canvas canvas, CharSequence text, int start, int end, int direction, float x, int top, int y, int bottom, TextPaint paint, TextPaint workPaint, boolean needWidth) argument
[all...]
/frameworks/policies/base/phone/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);
95 final int top = chld.top - bkg.top;
110 background.setBounds(left, top, right, bottom);
139 r.left = r.top = Integer.MAX_VALUE;
146 r.top = Math.min(r.top,
[all...]
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java143 public void setPadding(int left, int top, int right, int bottom) { argument
144 super.setPadding(left, top, right, bottom);
H A DFrameLayout.java36 * children are pegged to the top left of the screen.
37 * Children are drawn in a stack, with the most recently added child on top.
131 mForegroundPaddingTop = padding.top;
176 * Supply a Drawable that is to be rendered on top of all of the child
181 * @param drawable The Drawable to be drawn on top of the children.
208 mForegroundPaddingTop = padding.top;
223 * foreground drawable, if non-null, is always drawn on top of the children.
274 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
281 final int parentBottom = bottom - top - mPaddingBottom - mForegroundPaddingBottom;
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java28 * region by left, top, width and height.
139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top);
182 int[] calculateOffsets(int left, int top) { argument
185 offsets = new int[] {top * mStrides[0] + left,
186 mHeight * mStrides[0] + top / 2 * mStrides[1]
192 offsets = new int[] {top * mStrides[0] + left / 2 * 4};
218 // Make sure left, top, width and height are all even.
222 rect.top &= ~1;
224 rect.bottom = rect.top + height;
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).
35 public int top; field in class:Rect
50 * top <= bottom.
53 * @param top The Y coordinate of the top of the rectangle
57 public Rect(int left, int top, int right, int bottom) { argument
59 this.top = top;
73 top
233 set(int left, int top, int right, int bottom) argument
325 contains(int left, int top, int right, int bottom) argument
367 intersect(int left, int top, int right, int bottom) argument
440 intersects(int left, int top, int right, int bottom) argument
470 union(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dget_tns.cpp348 Int top; local
449 top = sfb_per_win;
453 tempInt = MINIMUM(top, tns_bands);
459 top -= get9_n_lessbits(num_start_band_bits,
462 tempInt = MINIMUM(top, tns_bands);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DLayoutResult.java85 public LayoutViewInfo(String name, Object key, int left, int top, int right, int bottom) { argument
90 mTop = top;
/frameworks/base/awt/org/apache/harmony/awt/gl/
H A DMultiRectAreaOp.java100 void findActive(int top, int bottom) { argument
105 if (region[index + 3] >= top) { // y2 >= top
146 int top = region[i + 1];
152 if (level[j] == top) {
155 if (level[j] > top) {
162 level[j] = top;
264 int top;
268 top = bottom + 1;
271 d1.findActive(top, botto
384 int top, bottom; field in class:MultiRectAreaOp.Union
570 addVerRegion(int[] top, int[] bottom) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java269 public void initializeInvalidateRegion(int left, int top, int right, int bottom) { argument
271 region.set(left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java117 // Let the view's click listener have top priority (the More button relies on this)
234 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
235 super.onLayout(changed, left, top, right, bottom);
279 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java74 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,
91 fmi.top, fmi.descent,
97 * First line ascent is top, bottom line descent is bottom.
108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
109 fmi.top, fmi.descent,
136 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
137 fmi.top, fm
311 assertLineMetrics(Layout l, int line, int top, int ascent, int descent, int height) argument
[all...]

Completed in 213 milliseconds

1234