/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 28 * 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; 70 left = top = right = bottom 198 set(float left, float top, float right, float bottom) argument 303 contains(float left, float top, float right, float bottom) argument 345 intersect(float left, float top, float right, float bottom) argument 418 intersects(float left, float top, float right, float bottom) argument 467 union(float left, float top, float right, float bottom) argument [all...] |
H A D | Insets.java | 34 public final int bottom; field in class:Insets 36 private Insets(int left, int top, int right, int bottom) { argument 40 this.bottom = bottom; 51 * @param bottom the bottom 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, r.right, r.bottom); [all...] |
H A D | Rect.java | 28 * 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; 73 left = top = right = bottom 247 set(int left, int top, int right, int bottom) argument 339 contains(int left, int top, int right, int bottom) argument 380 intersect(int left, int top, int right, int bottom) argument 443 intersects(int left, int top, int right, int bottom) argument 471 union(int left, int top, int right, int bottom) argument [all...] |
H A D | Region.java | 64 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 69 public Region(int left, int top, int right, int bottom) { argument 71 nativeSetRect(mNativeRegion, left, top, right, bottom); 89 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 94 public boolean set(int left, int top, int right, int bottom) { argument 95 return nativeSetRect(mNativeRegion, left, top, right, bottom); 174 return quickContains(r.left, r.top, r.right, r.bottom); 184 int bottom); 192 return quickReject(r.left, r.top, r.right, r.bottom); 200 public native boolean quickReject(int left, int top, int right, int bottom); argument 183 quickContains(int left, int top, int right, int bottom) argument 259 op(int left, int top, int right, int bottom, Op op) argument 371 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument 379 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 34 bottom = -1; 45 if (bottom<rhs.bottom) { 47 } else if (bottom == rhs.bottom) { 60 bottom -= top - y; 71 bottom+=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-rhs.y, right-rhs.x, bottom-rhs.y); 92 result->bottom 110 int bottom = result.right; local [all...] |
/frameworks/base/libs/hwui/ |
H A D | Rect.h | 36 float bottom; member in class:android::uirenderer::Rect 48 bottom(0) { 51 inline Rect(float left, float top, float right, float bottom): argument 55 bottom(bottom) { 62 bottom(height) { 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, float right, float bottom) { argument [all...] |
H A D | Snapshot.h | 86 bool clip(float left, float top, float right, float bottom, 99 void setClip(float left, float top, float right, float bottom); 110 void resetClip(float left, float top, float right, float bottom); 231 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
|
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, float right, float bottom) { argument 195 resetClip(float left, float top, float right, float bottom) argument [all...] |
H A D | OpenGLRenderer.h | 108 * @param bottom The bottom coordinate of the dirty rectangle 113 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 149 virtual int saveLayer(float left, float top, float right, float bottom, 151 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 164 ANDROID_API bool quickReject(float left, float top, float right, float bottom); 165 bool quickRejectNoScissor(float left, float top, float right, float bottom); 166 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); 183 float left, float top, float right, float bottom, SkPaint* paint); 186 float left, float top, float right, float bottom, in [all...] |
/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 41 this.bottom = bottom; 49 + right + "," + bottom + ")"
|
/frameworks/native/include/android/ |
H A D | rect.h | 34 int32_t bottom; member in struct:ARect
|
/frameworks/base/core/java/android/view/ |
H A D | Gravity.java | 34 /** Raw bit controlling how the right/bottom edge is placed. */ 36 /** Raw bit controlling whether the right/bottom edge is clipped to its 47 /** Push object to the bottom of its container, not changing its size. */ 232 + ((container.bottom - container.top - h)/2) + yAdj; 233 outRect.bottom = outRect.top + h; 239 if (outRect.bottom > container.bottom) { 240 outRect.bottom = container.bottom; 246 outRect.bottom [all...] |
/frameworks/native/include/ui/ |
H A D | Rect.h | 39 left = top = 0; right = w; bottom = h; 42 left = l; top = t; right = r; bottom = b; 45 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y; 51 left = top = right = bottom = 0; 75 return bottom-top; 79 return Rect(right-left, bottom-top); 92 bottom = rb.y; 100 return Point(right, bottom); 106 return Point(left, bottom); 112 (right == rhs.right) && (bottom [all...] |
/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 | DynamicDrawableSpan.java | 36 * 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 D | IconMarginSpan.java | 43 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 D | DrawableMarginSpan.java | 43 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 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
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | EffectKenBurns.java | 99 start.bottom = getStartRect().bottom; 103 end.bottom = getEndRect().bottom;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsBackground.java | 61 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/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 65 * Top and bottom padding are affected, as is the line descent and height. 74 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, 92 fmi.ascent, fmi.bottom); 97 * First line ascent is top, bottom line descent is bottom. 108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 111 fmi.ascent, fmi.bottom); [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 97 * @param bottom plane 104 float4 *top, float4 *bottom, 122 bottom->x = viewProj->m[3] + viewProj->m[1]; 123 bottom->y = viewProj->m[7] + viewProj->m[5]; 124 bottom->z = viewProj->m[11] + viewProj->m[9]; 125 bottom->w = viewProj->m[15] + viewProj->m[13]; 143 len = length(bottom->xyz); 144 *bottom /= len; 157 * @param bottom plane 164 float4 *top, float4 *bottom, [all...] |
/frameworks/support/renderscript/v8/rs_support/scriptc/ |
H A D | rs_math.rsh | 97 * @param bottom plane 104 float4 *top, float4 *bottom, 122 bottom->x = viewProj->m[3] + viewProj->m[1]; 123 bottom->y = viewProj->m[7] + viewProj->m[5]; 124 bottom->z = viewProj->m[11] + viewProj->m[9]; 125 bottom->w = viewProj->m[15] + viewProj->m[13]; 143 len = length(bottom->xyz); 144 *bottom /= len; 157 * @param bottom plane 164 float4 *top, float4 *bottom, [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 34 * android:layout_gravity to TOP or BOTTOM to pin it to the top or bottom 151 public void setPadding(int left, int top, int right, int bottom) { argument 152 if (bottom < mMinPaddingBottom) { 153 bottom = mMinPaddingBottom; 155 super.setPadding(left, top, right, bottom); 260 final int bottom = height; 263 final int top = bottom - mIndicatorHeight; 266 canvas.drawRect(left, top, right, bottom, mTabPaint); 278 int bottom = getHeight(); 281 int top = bottom [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | PathDestructionActivity.java | 59 float left, top, right, bottom; 63 bottom = top + MathUtils.random(getHeight() - top); 67 path.lineTo(right, bottom); 68 path.lineTo(left, bottom);
|