/frameworks/base/core/tests/coretests/src/android/app/usage/ |
H A D | UsageStatsTest.java | 32 private UsageStats right; field in class:UsageStatsTest 37 right = new UsageStats(); 44 right.mPackageName = "com.test"; 45 right.mBeginTimeStamp = 99999; 47 left.add(right); 56 right.mPackageName = "com.test"; 57 right.mEndTimeStamp = 100001; 59 left.add(right); 69 right.mPackageName = "com.test"; 70 right [all...] |
/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). 35 public float right; field in class:RectF 45 * checking is performed, so the caller must ensure that left <= right and 50 * @param right The X coordinate of the right side of the rectangle 53 public RectF(float left, float top, float right, float bottom) { argument 56 this.right = right; 69 left = top = right 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 | 33 public final int right; field in class:Insets 36 private Insets(int left, int top, int right, int bottom) { argument 39 this.right = right; 50 * @param right the right 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, [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). 35 * Note that the right and bottom coordinates are exclusive. This means a Rect 38 * those of its bottom and right. 43 public int right; field in class:Rect 68 * checking is performed, so the caller must ensure that left <= right and 73 * @param right The X coordinate of the right side of the rectangle 76 public Rect(int left, int top, int right, int bottom) { argument 79 this.right 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) == (right [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | From2iToMS_16x16.c | 33 LVM_INT32 temp1,left,right; local 40 right = (LVM_INT32)*src; 44 temp1 = (left+right)>>1; 49 temp1 = (left-right)>>1;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | GlobalSortKeyComparator.java | 29 public int compare(NotificationRecord left, NotificationRecord right) { argument 34 if (right.getGlobalSortKey() == null) { 35 Slog.wtf(TAG, "Missing right global sort key: " + right); 38 return left.getGlobalSortKey().compareTo(right.getGlobalSortKey());
|
/frameworks/native/include/ui/ |
H A D | FloatRect.h | 25 : left(_left), top(_top), right(_right), bottom(_bottom) {} 27 float getWidth() const { return right - left; } 32 float right = 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;
|
/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() 46 float right; member in class:android::uirenderer::Rect 58 right(0), 62 inline Rect(float left, float top, float right, float bottom): argument 65 right(right), 72 right(width), 79 right(rect.fRight), 86 right(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). 75 int right = startValue.right + (int) ((endValue.right - startValue.right) * 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). 79 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 82 return new Rect(left, top, right, bottom); 84 mRect.set(left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | RectFEvaluator.java | 33 * (left, top, right, and bottom). 47 float right = startValue.right + ((endValue.right - startValue.right) * fraction); 49 mRect.set(left, top, right, bottom);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 36 right = -1; 50 if (right < rhs.right) { 60 right -= left - x; 70 right += x; 76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 81 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); 88 result->right = min(right, with.right); 106 int right = height - result.top; local [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Image.h | 78 inline bool operator==(const Range& left, const Range& right) { argument 79 return left.start == right.start && left.end == right.end; 85 * edges, while `right` and `bottom` are measured from the right and bottom 91 int32_t right = 0; member in struct:aapt::Bounds 96 : left(l), top(t), right(r), bottom(b) {} 102 return left != 0 || top != 0 || right != 0 || bottom != 0; 105 inline bool operator==(const Bounds& left, const Bounds& right) { argument 106 return left.left == right [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | TreeBase.h | 23 NodeBase* right; member in class:mcld::NodeBase 26 NodeBase() : left(NULL), right(NULL) {} 57 bool isRoot() const { return (m_pNode->right == m_pNode); } 60 return ((m_pNode->right) != (m_pNode->right->right)); 64 return ((m_pNode->left) != (m_pNode->left->right)); 83 this->m_pNode = this->m_pNode->right; 95 this->m_pNode->right = pOther;
|
/frameworks/base/services/core/java/com/android/server/wm/animation/ |
H A D | ClipRectLRAnimation.java | 24 * Special case of ClipRectAnimation that animates only the left/right 48 mFromRect.right + (int) ((mToRect.right - mFromRect.right) * it),
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TaskPositionerTests.java | 89 assertBoundsEquals(new Rect(MOUSE_DELTA_X, MOUSE_DELTA_Y, r.right, r.bottom), 94 assertBoundsEquals(new Rect(400 + MOUSE_DELTA_X, MOUSE_DELTA_Y, r.right, r.bottom), 100 new Rect(r.right - mMinVisibleWidth, r.top + MOUSE_DELTA_Y, r.right, r.bottom), 106 new Rect(r.left + MOUSE_DELTA_X, r.bottom - mMinVisibleHeight, r.right, r.bottom), 115 assertBoundsEquals(new Rect(MOUSE_DELTA_X, r.top, r.right, r.bottom), 118 // Drag to the right. 120 assertBoundsEquals(new Rect(200 + MOUSE_DELTA_X, r.top, r.right, r.bottom), 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, [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | SystemViewInfo.java | 30 int right, int bottom) { 31 super(name, cookie, left, top, right, bottom); 35 int right, int bottom, Object viewObject, Object layoutParamsObject) { 36 super(name, cookie, left, top, right, bottom, viewObject, 29 SystemViewInfo(String name, Object cookie, int left, int top, int right, int bottom) argument 34 SystemViewInfo(String name, Object cookie, int left, int top, int right, int bottom, Object viewObject, Object layoutParamsObject) argument
|
/frameworks/native/libs/arect/include/android/ |
H A D | rect.h | 51 int32_t right; 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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | CardViewBindingAdapter.java | 39 int right = view.getContentPaddingRight(); 41 view.setContentPadding(left, top, right, bottom); 47 int right = view.getContentPaddingRight(); 49 view.setContentPadding(left, top, right, bottom); 53 public static void setContentPaddingRight(CardView view, int right) { argument 57 view.setContentPadding(left, top, right, bottom); 64 int right = view.getContentPaddingRight(); 65 view.setContentPadding(left, top, right, bottom);
|
/frameworks/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_hardware_composer_defs.h | 35 int32_t right; member in struct:DvrHwcRecti 42 float right; member in struct:DvrHwcRectf
|
/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 51 /** Push object to the right of its container, not changing its size. */ 176 * pushes it to the right; if gravity is RIGHT it pushes it to 178 * right or left; otherwise it is ignored. 191 + ((container.right - container.left - w)/2) + xAdj; 192 outRect.right = outRect.left + w; 198 if (outRect.right > container.right) { 199 outRect.right [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | BackgroundFallback.java | 60 int right = 0; 83 right = Math.max(right, child.getRight()); 87 if (left >= right || top >= bottom) { 100 if (right < width) { 101 mBackgroundFallback.setBounds(right, top, width, height); 105 mBackgroundFallback.setBounds(left, bottom, right, height);
|