Searched refs:right (Results 1 - 25 of 772) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/app/usage/
H A DUsageStatsTest.java32 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 DRectF.java27 * 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 DInsets.java33 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 DRect.java30 * 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 DOutline.java173 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 DFrom2iToMS_16x16.c33 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 DGlobalSortKeyComparator.java29 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 DFloatRect.h25 : 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 DRect.h34 (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 DProfileRenderer.cpp22 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 DRectEvaluator.java59 * (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 DRectEvaluator.java63 * (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 DRectFEvaluator.java33 * (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 DRect.cpp36 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 DImage.h78 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 DTreeBase.h23 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 DClipRectLRAnimation.java24 * 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 DTaskPositionerTests.java89 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 DSystemViewInfo.java30 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 Drect.h51 int32_t right; member in struct:ARect
/frameworks/support/design/base/android/support/design/widget/
H A DShadowViewDelegate.java23 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCardViewBindingAdapter.java39 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 Ddvr_hardware_composer_defs.h35 int32_t right; member in struct:DvrHwcRecti
42 float right; member in struct:DvrHwcRectf
/frameworks/base/core/java/android/view/
H A DGravity.java34 /** 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 DBackgroundFallback.java60 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);

Completed in 6956 milliseconds

1234567891011>>