/frameworks/native/include/android/ |
H A D | rect.h | 32 int32_t top; member in struct:ARect
|
/frameworks/base/core/java/android/text/style/ |
H A D | LineBackgroundSpan.java | 27 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 D | ReplacementSpan.java | 30 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 D | DrawableMarginSpan.java | 43 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 D | DynamicDrawableSpan.java | 87 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 D | IconMarginSpan.java | 43 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 D | BulletSpan.java | 81 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 D | LeadingMarginSpan.java | 55 * @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 D | QuoteSpan.java | 67 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 D | Insets.java | 32 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 D | YuvImage.java | 28 * 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 D | RunData.java | 31 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 D | ScrollingMovementMethod.java | 59 protected boolean top(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod 80 return top(widget, buffer);
|
H A D | ArrowKeyMovementMethod.java | 157 protected boolean top(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
|
/frameworks/base/libs/hwui/ |
H A D | PathCache.cpp | 30 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 D | Rect.h | 34 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 D | ShapeCache.cpp | 111 float left, top, offset; local 113 computeBounds(bounds, paint, left, top, offset, rectWidth, rectHeight); 126 canvas.translate(-left + offset, -top + offset);
|
H A D | Snapshot.cpp | 87 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 D | TextDropShadowCache.h | 117 float top; member in struct:android::uirenderer::ShadowTexture
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettingsContainerView.java | 104 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | NinePatch_Delegate.java | 162 (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 D | Rect.cpp | 32 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 D | ViewCompatJB.java | 39 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 D | CheckedTextView.java | 176 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 D | ActionBarOverlayLayout.java | 128 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;
|