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

1234567

/frameworks/native/include/android/
H A Drect.h32 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/graphics/java/android/graphics/
H A DInsets.java32 public final int top; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
38 this.top = top;
49 * @param top the top 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,
[all...]
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/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/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
/frameworks/base/libs/hwui/
H A DPathCache.cpp30 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
32 computeBounds(bounds, paint, left, top, offset, width, height);
36 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
41 top = bounds.fTop;
99 float left, top, offset; local
29 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
35 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
H A DRect.h34 float top; member in class:android::uirenderer::Rect
46 top(0),
51 inline Rect(float left, float top, float right, float bottom): argument
53 top(top),
60 top(0.0f),
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, floa argument
[all...]
H A DShapeCache.cpp111 float left, top, offset; local
113 computeBounds(bounds, paint, left, top, offset, rectWidth, rectHeight);
126 canvas.translate(-left + offset, -top + offset);
H A DSnapshot.cpp87 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom);
109 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument
112 tmp.set(left, top, right, bottom);
121 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument
122 Rect r(left, top, right, bottom);
133 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op);
145 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kUnion_Op);
152 setClip(r.left, r.top, r.right, r.bottom);
158 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op);
170 void Snapshot::setClip(float left, float top, floa argument
195 resetClip(float left, float top, float right, float bottom) argument
[all...]
H A DTextDropShadowCache.h117 float top; member in struct:android::uirenderer::ShadowTexture
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsContainerView.java104 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/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),
221 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/native/libs/ui/
H A DRect.cpp32 top = 0;
39 if (top<rhs.top) {
41 } else if (top == rhs.top) {
60 bottom -= top - y;
62 top = y;
69 top += 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
108 int top = result.left; local
[all...]
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java39 public static void postInvalidateOnAnimation(View view, int left, int top, argument
41 view.postInvalidate(left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java176 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
177 super.internalSetPadding(left, top, right, bottom);
234 final int top = y;
235 final int bottom = top + height;
245 checkMarkDrawable.setBounds( left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java128 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
136 if (top && lp.topMargin != insets.top) {
138 lp.topMargin = insets.top;
158 // The top and bottom action bars are always within the content area.
179 insets.top += mActionBarHeight;
186 insets.top += mActionBarHeight;

Completed in 1477 milliseconds

1234567