/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 27 * represented by the coordinates of its 4 edges (left, top, right bottom). 30 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 34 public float top; field in class:RectF 46 * top <= bottom. 49 * @param top The Y coordinate of the top of the rectangle 53 public RectF(float left, float top, float right, float bottom) { argument 55 this.top = top; 69 left = top 197 set(float left, float top, float right, float bottom) argument 302 contains(float left, float top, float right, float bottom) argument 344 intersect(float left, float top, float right, float bottom) argument 417 intersects(float left, float top, float right, float bottom) argument 466 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 | 30 * represented by the coordinates of its 4 edges (left, top, right bottom). 33 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 37 * into the column and row described by its left and top coordinates, but not 42 public int top; field in class:Rect 69 * top <= bottom. 72 * @param top The Y coordinate of the top of the rectangle 76 public Rect(int left, int top, int right, int bottom) { argument 78 this.top = top; 270 set(int left, int top, int right, int bottom) argument 355 inset(int left, int top, int right, int bottom) argument 390 contains(int left, int top, int right, int bottom) argument 432 intersect(int left, int top, int right, int bottom) argument 497 intersects(int left, int top, int right, int bottom) argument 525 union(int left, int top, int right, int bottom) argument [all...] |
H A D | Outline.java | 173 public void setRect(int left, int top, int right, int bottom) { argument 174 setRoundRect(left, top, right, bottom, 0.0f); 181 setRect(rect.left, rect.top, rect.right, rect.bottom); 189 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument 190 if (left >= right || top >= bottom) { 200 mRect.set(left, top, right, bottom); 208 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); 242 public void setOval(int left, int top, int right, int bottom) { argument 243 if (left >= right || top >= bottom) { 248 if ((bottom - top) [all...] |
/frameworks/native/include/ui/ |
H A D | FloatRect.h | 25 : left(_left), top(_top), right(_right), bottom(_bottom) {} 28 float getHeight() const { return bottom - top; } 31 float top = 0.0f; member in class:android::FloatRect 37 return a.left == b.left && a.top == b.top && a.right == b.right && a.bottom == b.bottom;
|
H A D | Rect.h | 53 left = top = 0; 60 top = t; 67 top = lt.y; 75 left = top = right = bottom = 0; 95 return bottom - top; 99 return Rect(right - left, bottom - top); 104 top = lt.y; 114 return Point(left, top); 120 return Point(right, top); 128 return (left == rhs.left) && (top [all...] |
/frameworks/base/libs/hwui/ |
H A D | Rect.h | 34 (r).left, (r).top, (r).right, (r).bottom 36 (r).left(), (r).top(), (r).right(), (r).bottom() 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), 78 top(rect.fTop), 85 top(rec 112 set(float left, float top, float right, float bottom) argument [all...] |
H A D | ProfileRenderer.cpp | 22 void ProfileRenderer::drawRect(float left, float top, float right, float bottom, argument 24 mRenderer.drawRect(left, top, right, bottom, &paint);
|
/frameworks/base/core/java/android/animation/ |
H A D | RectEvaluator.java | 59 * (left, top, right, and bottom). 74 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 78 return new Rect(left, top, right, bottom); 80 mRect.set(left, top, right, bottom);
|
/frameworks/support/transition/src/android/support/transition/ |
H A D | RectEvaluator.java | 63 * (left, top, right, and bottom). 78 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 82 return new Rect(left, top, right, bottom); 84 mRect.set(left, top, right, bottom);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 35 top = 0; 41 if (top < rhs.top) { 43 } else if (top == rhs.top) { 61 bottom -= top - y; 63 top = y; 69 top += y; 76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 81 const Rect result(left - rhs.x, top 105 int top = result.left; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | RectFEvaluator.java | 33 * (left, top, right, and bottom). 46 float top = startValue.top + ((endValue.top - startValue.top) * fraction); 49 mRect.set(left, top, right, bottom);
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | SaveLayerInterleaveActivity.java | 63 int top = bounds.top; 70 for (int i = 0; i < regions; i++, top += smallRectHeight) { 71 canvas.saveLayer(bounds.left, top, bounds.right, top + padding, 74 canvas.drawText("offscreen line "+ i, bounds.left, top + padding, 78 Rect partX = new Rect(bounds.left, top + padding, 79 bounds.right,top + smallRectHeight - padding); 82 top + smallRectHeight - padding, mGreenPaint);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | SystemViewInfo.java | 29 public SystemViewInfo(String name, Object cookie, int left, int top, argument 31 super(name, cookie, left, top, right, bottom); 34 public SystemViewInfo(String name, Object cookie, int left, int top, argument 36 super(name, cookie, left, top, right, bottom, viewObject,
|
/frameworks/native/libs/arect/include/android/ |
H A D | rect.h | 48 /** top position */ 49 int32_t top; member in struct:ARect
|
/frameworks/support/design/base/android/support/design/widget/ |
H A D | ShadowViewDelegate.java | 23 void setShadowPadding(int left, int top, int right, int bottom); argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/ |
H A D | BoundsRule.java | 23 * rectangular bound - left/top/right/bottom. 129 if (top == null) { 130 result.top = rect.top; 132 result.top = doCalculate(rect.top, top, rect.height()); 138 result.bottom = doCalculate(rect.top, bottom, rect.height()); 147 this.top = boundsRule.top ! 159 public ValueRule top; field in class:BoundsRule [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | BackgroundFallback.java | 59 int top = height; 82 top = Math.min(top, child.getTop()); 87 if (left >= right || top >= bottom) { 92 if (top > 0) { 93 mBackgroundFallback.setBounds(0, 0, width, top); 97 mBackgroundFallback.setBounds(0, top, left, height); 101 mBackgroundFallback.setBounds(right, top, width, height);
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | SaveLayer2Animation.cpp | 42 int top = bounds.fTop; variable 50 for (int i = 0; i < regions; i++, top += smallRectHeight) { 51 canvas.saveLayer(bounds.fLeft, top, bounds.fRight, top + padding, 58 bounds.fLeft, top + padding, minikin::kBidi_Force_LTR, mBluePaint, nullptr); 61 canvas.drawRect(bounds.fLeft, top + padding, bounds.fRight, 62 top + smallRectHeight - padding, mBluePaint); 66 top + smallRectHeight - padding, minikin::kBidi_Force_LTR, mGreenPaint,
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | CardViewBindingAdapter.java | 38 int top = view.getContentPaddingTop(); 41 view.setContentPadding(left, top, right, bottom); 45 public static void setContentPaddingTop(CardView view, int top) { argument 49 view.setContentPadding(left, top, right, bottom); 55 int top = view.getContentPaddingTop(); 57 view.setContentPadding(left, top, right, bottom); 63 int top = view.getContentPaddingTop(); 65 view.setContentPadding(left, top, right, bottom);
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_hardware_composer_defs.h | 34 int32_t top; member in struct:DvrHwcRecti 41 float top; member in struct:DvrHwcRectf
|
/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...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TaskPositionerTests.java | 80 final int midY = (r.top + r.bottom) / 2; 84 false /*preserveOrientation*/, r.left - MOUSE_DELTA_X, r.top - MOUSE_DELTA_Y, r); 98 mPositioner.resizeDrag(2000.0f, r.top); 100 new Rect(r.right - mMinVisibleWidth, r.top + MOUSE_DELTA_Y, r.right, r.bottom), 115 assertBoundsEquals(new Rect(MOUSE_DELTA_X, r.top, r.right, r.bottom), 120 assertBoundsEquals(new Rect(200 + MOUSE_DELTA_X, r.top, r.right, r.bottom), 123 // Drag to the top 125 assertBoundsEquals(new Rect(r.left + MOUSE_DELTA_X, r.top, r.right, r.bottom), 130 assertBoundsEquals(new Rect(r.left + MOUSE_DELTA_X, r.top, r.right, r.bottom), 142 final int midY = (r.top [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | RpnEvaluator.cpp | 46 Operand* opd = operandStack.top(); 53 Operand* opd2 = operandStack.top(); 55 Operand* opd1 = operandStack.top(); 63 Operand* opd3 = operandStack.top(); 65 Operand* opd2 = operandStack.top(); 67 Operand* opd1 = operandStack.top(); 107 // stack top is result 108 assert(operandStack.top()->type() == Operand::SYMBOL || 109 operandStack.top()->type() == Operand::INTEGER || 110 operandStack.top() [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilter.java | 85 int top = (tempRect.top+HEIGHT_OFFSET)*dims[1]/FACE_X_RANGE; 90 if (top < 0) { 91 top = 0; 92 } else if (top > dims[1]) { 93 top = dims[1]; 111 for (int j = 0; j < (bottom - top); j++) { 113 if (left > 0 && top > 0) { 114 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + left) + 116 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top [all...] |