/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). 35 public float top; field in class:RectF 47 * top <= bottom. 50 * @param top The Y coordinate of the top of the rectangle 54 public RectF(float left, float top, float right, float bottom) { argument 56 this.top = top; 70 left = top 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 | 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 | 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). 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 left = top 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 | 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;
|
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); 183 public native boolean quickContains(int left, int top, int right, argument 192 return quickReject(r.left, r.top, r.right, r.bottom); 200 public native boolean quickReject(int left, int top, in 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...] |
H A D | LargeBitmap.java | 64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight()) 66 return nativeDecodeRegion(mNativeLargeBitmap, rect.left, rect.top, 67 rect.right - rect.left, rect.bottom - rect.top, options);
|
/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/base/libs/hwui/ |
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 | 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, floa argument 195 resetClip(float left, float top, float right, float bottom) argument [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 40 this.top = top; 48 return "Tile (" + left + "," + top + ")->("
|
/frameworks/native/include/android/ |
H A D | rect.h | 32 int32_t top; member in struct:ARect
|
/frameworks/base/core/java/android/view/ |
H A D | Gravity.java | 32 /** Raw bit controlling how the left/top edge is placed. */ 45 /** Push object to the top of its container, not changing its size. */ 231 outRect.top = container.top 232 + ((container.bottom - container.top - h)/2) + yAdj; 233 outRect.bottom = outRect.top + h; 236 if (outRect.top < container.top) { 237 outRect.top = container.top; [all...] |
H A D | DisplayList.java | 277 * Sets the top value for the DisplayList 279 * @param top The top value of the DisplayList 282 public abstract void setTop(int top); argument 301 * Sets the left and top values for the DisplayList 304 * @param top The top value of the DisplayList 308 public abstract void setLeftTop(int left, int top); argument 311 * Sets the left and top values for the DisplayList 314 * @param top Th 318 setLeftTopRightBottom(int left, int top, int right, int bottom) argument [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); 87 top = lt.y; 97 return Point(left, top); 103 return Point(right, top); 111 return (left == rhs.left) && (top [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardLinearLayout.java | 42 int top = indexOfChild(child); 43 mTopChild = top;
|
/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
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | EffectKenBurns.java | 97 start.top = getStartRect().top; 101 end.top = getEndRect().top;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ThinPatchesActivity.java | 79 final int top = (getHeight() - height) / 2; 84 mPatch3.setBounds(left, top, left + height, top + width); 89 mPatch1.setBounds(left, top, left + width, top + height); 95 mPatch2.setBounds(left, top, left + width, top + height);
|
H A D | PathDestructionActivity.java | 59 float left, top, right, bottom; 61 top = MathUtils.random(getHeight() - MIN_SIZE); 63 bottom = top + MathUtils.random(getHeight() - top); 65 path.moveTo(left, top); 66 path.lineTo(right, top);
|
H A D | GradientsActivity.java | 221 float top = 40.0f; 230 mMatrix.postTranslate(right, top); 232 canvas.drawRect(right - mDrawWidth, top, right, top + mDrawHeight, mPaint); 234 top += 40.0f + mDrawHeight; 238 mMatrix.postTranslate(left, top); 240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint); 244 top -= 40.0f + mDrawHeight; 253 top [all...] |
/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); 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/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 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, 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | EventHole.java | 83 View top = this; 84 while (top.getParent() instanceof View) { 85 top = (View)top.getParent(); 91 info.touchableRegion.set(0, 0, top.getWidth(), top.getHeight());
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 133 u32 top; member in struct:__anon809 390 top-most edge of a macroblock. Macroblock types are checked 420 top-most edge of a macroblock. Macroblock types are checked 563 mb pointer to macroblock data structure of the top-left 1149 /* top edges */ 1154 bS[0].top = bS[1].top = bS[2].top = bS[3].top = 4; 1159 bS[0].top [all...] |