Searched refs:left (Results 1 - 25 of 954) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/app/usage/
H A DUsageStatsTest.java31 private UsageStats left; field in class:UsageStatsTest
36 left = new UsageStats();
42 left.mPackageName = "com.test";
43 left.mBeginTimeStamp = 100000;
47 left.add(right);
49 assertThat(left.getFirstTimeStamp()).isEqualTo(99999);
54 left.mPackageName = "com.test";
55 left.mEndTimeStamp = 100000;
59 left.add(right);
61 assertThat(left
[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).
33 public float left; field in class:RectF
45 * checking is performed, so the caller must ensure that left <= right and
48 * @param left The X coordinate of the left side of the rectangle
53 public RectF(float left, float top, float right, float bottom) { argument
54 this.left = left;
62 * rectangle (which is left unmodifie
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.java31 public final int left; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
37 this.left = left;
48 * @param left the left 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,
[all...]
H A DRect.java32 * represented by the coordinates of its 4 edges (left, top, right bottom).
35 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
39 * into the column and row described by its left and top coordinates, but not
43 public int left; field in class:Rect
70 * checking is performed, so the caller must ensure that left <= right and
73 * @param left The X coordinate of the left side of the rectangle
78 public Rect(int left, int top, int right, int bottom) { argument
79 this.left = left;
299 set(int left, int top, int right, int bottom) argument
384 inset(int left, int top, int right, int bottom) argument
419 contains(int left, int top, int right, int bottom) argument
461 intersect(int left, int top, int right, int bottom) argument
539 intersects(int left, int top, int right, int bottom) argument
567 union(int left, int top, int right, int bottom) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DGlobalSortKeyComparator.java29 public int compare(NotificationRecord left, NotificationRecord right) { argument
30 if (left.getGlobalSortKey() == null) {
31 Slog.wtf(TAG, "Missing left global sort key: " + left);
38 return left.getGlobalSortKey().compareTo(right.getGlobalSortKey());
/frameworks/base/core/java/android/hardware/camera2/params/
H A DReprocessFormatsMap.java77 int left = entry.length;
81 left--;
84 if (left < 1) {
90 left--;
99 if (left < length) {
103 "expected: %d)", inputFormat, left, length));
107 left -= length;
132 int left = mEntry.length;
136 left--;
139 if (left <
[all...]
/frameworks/base/libs/hwui/
H A DRect.h33 #define RECT_ARGS(r) (r).left, (r).top, (r).right, (r).bottom
34 #define SK_RECT_ARGS(r) (r).left(), (r).top(), (r).right(), (r).bottom()
42 float left; member in class:android::uirenderer::Rect
53 inline Rect() : left(0), top(0), right(0), bottom(0) {}
55 inline Rect(float left, float top, float right, float bottom) argument
56 : left(left), top(top), right(right), bottom(bottom) {}
58 inline Rect(float width, float height) : left(0.0f), top(0.0f), right(width), bottom(height) {}
62 left(rect.fLeft)
69 left(rec
88 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).
73 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction);
78 return new Rect(left, top, right, bottom);
80 mRect.set(left, top, right, bottom);
/frameworks/support/transition/src/main/java/androidx/transition/
H A DRectEvaluator.java61 * (left, top, right, and bottom).
75 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction);
80 return new Rect(left, top, right, bottom);
82 mRect.set(left, top, right, bottom);
/frameworks/native/include/ui/
H A DFloatRect.h25 : left(_left), top(_top), right(_right), bottom(_bottom) {}
27 float getWidth() const { return right - left; }
34 (left > other.left) ? left : other.left,
41 float left = 0.0f; member in class:android::FloatRect
48 return a.left == b.left && a.top == b.top && a.right == b.right && a.bottom == b.bottom;
/frameworks/native/libs/ui/include/ui/
H A DFloatRect.h25 : left(_left), top(_top), right(_right), bottom(_bottom) {}
27 float getWidth() const { return right - left; }
34 (left > other.left) ? left : other.left,
41 float left = 0.0f; member in class:android::FloatRect
48 return a.left == b.left && a.top == b.top && a.right == b.right && a.bottom == b.bottom;
/frameworks/native/libs/ui/include_vndk/ui/
H A DFloatRect.h25 : left(_left), top(_top), right(_right), bottom(_bottom) {}
27 float getWidth() const { return right - left; }
34 (left > other.left) ? left : other.left,
41 float left = 0.0f; member in class:android::FloatRect
48 return a.left == b.left && a.top == b.top && a.right == b.right && a.bottom == b.bottom;
/frameworks/native/libs/ui/
H A DRect.cpp34 left = 0;
44 if (left < rhs.left) {
46 } else if (left == rhs.left) {
60 right -= left - x;
62 left = x;
68 left += x;
76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y);
81 const Rect result(left
104 int left = height - result.bottom; local
[all...]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DFrom2iToMS_16x16.c33 LVM_INT32 temp1,left,right; local
37 left = (LVM_INT32)*src;
44 temp1 = (left+right)>>1;
49 temp1 = (left-right)>>1;
62 LVM_FLOAT temp1,left,right; local
66 left = (LVM_FLOAT)*src;
73 temp1 = (left + right) / 2.0f;
78 temp1 = (left - right) / 2.0f;
/frameworks/base/services/core/java/com/android/server/wm/utils/
H A DInsetUtils.java33 inOutInsets.left += insetsToAdd.left;
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/
H A DRectFEvaluator.java33 * (left, top, right, and bottom).
45 float left = startValue.left + ((endValue.left - startValue.left) * fraction);
49 mRect.set(left, top, right, bottom);
/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;
83 * Inset lengths from all edges of a rectangle. `left` and `top` are measured
84 * from the left and top
89 int32_t left = 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
[all...]
/frameworks/base/services/core/java/com/android/server/wm/animation/
H A DClipRectLRAnimation.java24 * Special case of ClipRectAnimation that animates only the left/right
46 tr.setClipRect(mFromRect.left + (int) ((mToRect.left - mFromRect.left) * it),
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DMathExpr.java32 MathExpr(Expr left, String op, Expr right) { argument
33 super(left, right);
83 final Expr left = getLeft();
85 if (left.isDynamic() == right.isDynamic()) {
89 Expr dyn = left.isDynamic() ? left : right;
91 Expr constExpr = left.isDynamic() ? right : left;
108 final Expr left = getLeft();
110 Preconditions.check(left
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DSystemViewInfo.java29 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 Drect.h42 * In a valid ARect, left <= right and top <= bottom. ARect with left=0, top=10,
50 int32_t left; member in struct:ARect
/frameworks/support/leanback/src/main/java/androidx/leanback/graphics/
H A DBoundsRule.java23 * rectangular bound - left/top/right/bottom.
117 if (left == null) {
118 result.left = rect.left;
120 result.left = doCalculate(rect.left, left, rect.width());
126 result.right = doCalculate(rect.left, right, rect.width());
145 this.left = boundsRule.left !
156 public ValueRule left; field in class:BoundsRule
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCardViewBindingAdapter.java37 public static void setContentPaddingLeft(CardView view, int left) { argument
41 view.setContentPadding(left, top, right, bottom);
46 int left = view.getContentPaddingLeft();
49 view.setContentPadding(left, top, right, bottom);
54 int left = view.getContentPaddingLeft();
57 view.setContentPadding(left, top, right, bottom);
62 int left = view.getContentPaddingLeft();
65 view.setContentPadding(left, top, right, bottom);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskPositionerTests.java102 // Start a drag resize starting upper left.
104 false /*preserveOrientation*/, r.left - MOUSE_DELTA_X, r.top - MOUSE_DELTA_Y, r);
124 mPositioner.resizeDrag(r.left, 2000.0f);
126 new Rect(r.left + MOUSE_DELTA_X, r.bottom - mMinVisibleHeight, r.right, r.bottom),
129 // Start a drag resize left and see that only the left coord changes..
131 false /*preserveOrientation*/, r.left - MOUSE_DELTA_X, midY, r);
133 // Drag to the left.
144 mPositioner.resizeDrag(r.left, 0.0f);
145 assertBoundsEquals(new Rect(r.left
[all...]

Completed in 1195 milliseconds

1234567891011>>