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

12345

/frameworks/base/native/include/android/
H A Drect.h30 int32_t top; 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);
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.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.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/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
40 this.top = top;
48 return "Tile (" + left + "," + top + ")->("
/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.java59 protected boolean top(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
80 return top(widget, buffer);
H A DArrowKeyMovementMethod.java157 protected boolean top(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
H A DBaseMovementMethod.java192 return top(widget, buffer);
210 return top(widget, buffer);
228 return top(widget, buffer);
317 * Performs a top movement action.
318 * Moves the cursor or scrolls to the top of the buffer.
324 protected boolean top(TextView widget, Spannable buffer) { method in class:BaseMovementMethod
376 * Moves the cursor or scrolls to the start of the line or to the top of the
390 * Moves the cursor or scrolls to the start of the line or to the top of the
510 final int top = widget.getScrollY();
511 int topLine = layout.getLineForVertical(top);
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DBlackFrame.java32 final int top; field in class:BlackFrame.BlackSurface
38 top = t;
51 mTmpMatrix.setTranslate(left, top);
60 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): ("
84 if (outer.top < inner.top) {
86 outer.left, outer.top, inner.right, inner.top);
90 outer.left, inner.top, inner.left, outer.bottom);
98 inner.right, outer.top, oute
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java162 (int) loc.left, (int) loc.top, (int) loc.width(), (int) loc.height(),
171 loc.left, loc.top, loc.width(), loc.height(),
184 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/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;
/frameworks/base/libs/hwui/
H A DRect.h37 tmp.top = max(top, t);
45 float top; member in class:android::uirenderer::Rect
57 top(0),
62 inline Rect(float left, float top, float right, float bottom): argument
64 top(top),
71 top(0.0f),
85 left = top = right = bottom = 0.0f;
91 return !((left < right) && (top < botto
98 set(float left, float top, float right, float bottom) argument
[all...]
H A DTextDropShadowCache.h104 float top; member in struct:android::uirenderer::ShadowTexture
/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/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);
101 final int top = chld.top - bkg.top;
116 background.setBounds(left, top, right, bottom);
145 r.left = r.top = Integer.MAX_VALUE;
152 r.top = Math.min(r.top,
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java121 // Let the view's click listener have top priority (the More button relies on this)
238 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
239 super.onLayout(changed, left, top, right, bottom);
283 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top);
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp40 jfieldID top; member in struct:android::__anon54
135 rect.top = GET_INT(dirtyRect, gRectClassInfo.top);
165 clipRect.set(rect.left, rect.top, rect.right, rect.bottom);
170 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
224 GET_FIELD_ID(gRectClassInfo.top, clazz, "top", "I");

Completed in 1336 milliseconds

12345