/frameworks/base/core/tests/coretests/src/android/app/usage/ |
H A D | UsageStatsTest.java | 31 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 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). 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 D | Insets.java | 31 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 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 41 public int left; field in class:Rect 68 * checking is performed, so the caller must ensure that left <= right and 71 * @param left The X coordinate of the left side of the rectangle 76 public Rect(int left, int top, int right, int bottom) { argument 77 this.left = left; 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...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | From2iToMS_16x16.c | 33 LVM_INT32 temp1,left,right; local 37 left = (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 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 D | ReprocessFormatsMap.java | 77 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/native/include/ui/ |
H A D | FloatRect.h | 25 : left(_left), top(_top), right(_right), bottom(_bottom) {} 27 float getWidth() const { return right - left; } 30 float left = 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() 44 float left; member in class:android::uirenderer::Rect 56 left(0), 62 inline Rect(float left, float top, float right, float bottom): argument 63 left(left), 70 left(0.0f), 77 left(rect.fLeft), 84 left(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). 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/android/support/transition/ |
H A D | RectEvaluator.java | 63 * (left, top, right, and bottom). 77 int left = startValue.left + (int) ((endValue.left - startValue.left) * 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 | 34 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/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | RectFEvaluator.java | 33 * (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 D | Image.h | 78 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/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_intra_prediction.c | 162 static void Get4x4NeighbourPels(u8 *a, u8 *l, u8 *data, u8 *above, u8 *left, 165 static void Intra16x16HorizontalPrediction(u8 *data, u8 *left); 166 static void Intra16x16DcPrediction(u8 *data, u8 *above, u8 *left, 168 static void Intra16x16PlanePrediction(u8 *data, u8 *above, u8 *left); 169 static void IntraChromaDcPrediction(u8 *data, u8 *above, u8 *left, 171 static void IntraChromaHorizontalPrediction(u8 *data, u8 *left); 173 static void IntraChromaPlanePrediction(u8 *data, u8 *above, u8 *left); 176 static void Intra4x4HorizontalPrediction(u8 *data, u8 *left); 177 static void Intra4x4DcPrediction(u8 *data, u8 *above, u8 *left, u32 A, u32 B); 179 static void Intra4x4DiagonalDownRightPrediction(u8 *data, u8 *above, u8 *left); 540 h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum) argument 622 h264bsdIntra16x16Prediction(mbStorage_t *pMb, u8 *data, i32 residual[][16], u8 *above, u8 *left, u32 constrainedIntraPred) argument 696 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *above, u8 *left, u32 constrainedIntraPred) argument 840 h264bsdIntraChromaPrediction(mbStorage_t *pMb, u8 *data, i32 residual[][16], u8 *above, u8 *left, u32 predMode, u32 constrainedIntraPred) argument 1026 Intra16x16HorizontalPrediction(u8 *data, u8 *left) argument 1057 Intra16x16DcPrediction(u8 *data, u8 *above, u8 *left, u32 availableA, u32 availableB) argument 1108 Intra16x16PlanePrediction(u8 *data, u8 *above, u8 *left) argument 1155 IntraChromaDcPrediction(u8 *data, u8 *above, u8 *left, u32 availableA, u32 availableB) argument 1253 IntraChromaHorizontalPrediction(u8 *data, u8 *left) argument 1323 IntraChromaPlanePrediction(u8 *data, u8 *above, u8 *left) argument 1383 Get4x4NeighbourPels(u8 *a, u8 *l, u8 *data, u8 *above, u8 *left, u32 blockNum) argument 1520 Intra4x4HorizontalPrediction(u8 *data, u8 *left) argument 1552 Intra4x4DcPrediction(u8 *data, u8 *above, u8 *left, u32 availableA, u32 availableB) argument 1645 Intra4x4DiagonalDownRightPrediction(u8 *data, u8 *above, u8 *left) argument 1683 Intra4x4VerticalRightPrediction(u8 *data, u8 *above, u8 *left) argument 1722 Intra4x4HorizontalDownPrediction(u8 *data, u8 *above, u8 *left) argument 1798 Intra4x4HorizontalUpPrediction(u8 *data, u8 *left) argument [all...] |
/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 46 tr.setClipRect(mFromRect.left + (int) ((mToRect.left - mFromRect.left) * it),
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | MathExpr.java | 32 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/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 | 46 /** left position */ 47 int32_t left; member in struct:ARect 50 /** left position */
|
/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. 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 D | CardViewBindingAdapter.java | 37 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/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_hardware_composer_defs.h | 33 int32_t left; member in struct:DvrHwcRecti 40 float left; member in struct:DvrHwcRectf
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TaskPositionerTests.java | 82 // Start a drag resize starting upper left. 84 false /*preserveOrientation*/, r.left - MOUSE_DELTA_X, r.top - MOUSE_DELTA_Y, r); 104 mPositioner.resizeDrag(r.left, 2000.0f); 106 new Rect(r.left + MOUSE_DELTA_X, r.bottom - mMinVisibleHeight, r.right, r.bottom), 109 // Start a drag resize left and see that only the left coord changes.. 111 false /*preserveOrientation*/, r.left - MOUSE_DELTA_X, midY, r); 113 // Drag to the left. 124 mPositioner.resizeDrag(r.left, 0.0f); 125 assertBoundsEquals(new Rect(r.left [all...] |