Searched refs:right (Results 26 - 50 of 772) sorted by relevance

1234567891011>>

/frameworks/native/include/ui/
H A DRect.h54 right = static_cast<int32_t>(w);
61 right = r;
68 right = rb.x;
75 left = top = right = bottom = 0;
90 return right - left;
99 return Rect(right - left, bottom - top);
108 right = rb.x;
117 return Point(right, bottom);
120 return Point(right, top);
129 (right
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DBoundsRule.java23 * rectangular bound - left/top/right/bottom.
123 if (right == null) {
124 result.right = rect.right;
126 result.right = doCalculate(rect.left, right, rect.width());
146 this.right = boundsRule.right != null ? new ValueRule(boundsRule.right) : null;
161 /** {@link ValueRule} for right attribut
162 public ValueRule right; field in class:BoundsRule
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraUtils.java60 long right = widthB * (long) heightB;
61 if (left == right) {
63 right = widthB;
65 return (left < right) ? -1 : (left > right ? 1 : 0);
/frameworks/base/core/java/android/view/
H A DWindowInsets.java147 * Returns the right system window inset in pixels.
153 * @return The right system window inset
156 return mSystemWindowInsets.right;
201 * Returns the right window decor inset in pixels.
207 * @return The right window decor inset
211 return mWindowDecorInsets.right;
239 mSystemWindowInsets.right != 0 || mSystemWindowInsets.bottom != 0;
254 mWindowDecorInsets.right != 0 || mWindowDecorInsets.bottom != 0;
286 * <p>A round window's left, top, right and bottom edges reach all the way to the
314 * @param right tru
319 consumeSystemWindowInsets(boolean left, boolean top, boolean right, boolean bottom) argument
343 replaceSystemWindowInsets(int left, int top, int right, int bottom) argument
377 consumeWindowDecorInsets(boolean left, boolean top, boolean right, boolean bottom) argument
393 replaceWindowDecorInsets(int left, int top, int right, int bottom) argument
[all...]
/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);
84 final Expr right = getRight();
85 if (left.isDynamic() == right.isDynamic()) {
89 Expr dyn = left.isDynamic() ? left : right;
91 Expr constExpr = left.isDynamic() ? right : left;
109 final Expr right = getRight();
110 Preconditions.check(left.isDynamic() ^ right.isDynamic(), "Two-way binding of a math " +
112 "dynamic: (%s) %s (%s)", left, mOp, right);
113 final Expr constExpr = (left.isDynamic() ? right
[all...]
/frameworks/base/core/java/android/text/style/
H A DLineBackgroundSpan.java26 int left, int right,
25 drawBackground(Canvas c, Paint p, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) argument
/frameworks/base/libs/hwui/
H A DIProfileRenderer.h24 virtual void drawRect(float left, float top, float right, float bottom,
H A DOutline.h42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument
46 && right == mBounds.right
55 mBounds.set(left, top, right, bottom);
61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom),
64 mPath.addRect(left, top, right, bottom);
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dortho.h10 Eigen::AffineMatrix<T, 4> OrthoMatrix(T left, T right, T bottom, T top, argument
14 const T a = t2 / (right - left);
17 const T xoff = -(right + left) / (right - left);
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardViewDelegate.java31 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/base/core/java/com/android/internal/policy/
H A DDockedDividerUtils.java39 outRect.right = position;
59 * at the bottom/right. This is used to determine in which direction to extend
65 // left/top to make it more offscreen. If they are on the bottom or right, push them off the
66 // screen by moving it even more to the bottom/right.
68 if (bounds.left >= bounds.right) {
69 bounds.left = bounds.right - 1;
75 if (bounds.right <= bounds.left) {
76 bounds.right = bounds.left + 1;
87 return bounds.right;
104 : displayWidth - insets.right;
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPath.java458 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
473 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
488 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
491 nArcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
519 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
527 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
538 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
546 * @param right The right side of a rectangle to add to the path
550 public void addRect(float left, float top, float right, floa argument
570 addOval(float left, float top, float right, float bottom, Direction dir) argument
605 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
630 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
660 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
837 nArcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
840 nAddRect(long nPath, float left, float top, float right, float bottom, int dir) argument
842 nAddOval(long nPath, float left, float top, float right, float bottom, int dir) argument
845 nAddArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
847 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
849 nAddRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument
[all...]
H A DRegion.java71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
76 public Region(int left, int top, int right, int bottom) { argument
78 nativeSetRect(mNativeRegion, left, top, right, bottom);
97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
102 public boolean set(int left, int top, int right, int bottom) { argument
103 return nativeSetRect(mNativeRegion, left, top, right, bottom);
182 return quickContains(r.left, r.top, r.right, r.bottom);
191 public native boolean quickContains(int left, int top, int right, argument
200 return quickReject(r.left, r.top, r.right, r.bottom);
208 public native boolean quickReject(int left, int top, int right, in argument
267 op(int left, int top, int right, int bottom, Op op) argument
412 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
420 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
H A DStyledCornersBitmapDrawable.java251 float right = bounds.right - mBorderWidth / 2;
263 flapCornerRectF.offsetTo(right - mCornerFlapSide, top);
268 flapCornerRectF.offsetTo(right - mCornerFlapSide, bottom - mCornerFlapSide);
306 float right = bounds.right;
322 fakeCornerRectF.offsetTo(right - fakeCornerRectF.width(), top);
324 mCompatibilityModePath.moveTo(right, top);
325 mCompatibilityModePath.lineTo(right, top + mCornerRoundRadius);
332 .offsetTo(right
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationComparator.java49 public int compare(NotificationRecord left, NotificationRecord right) { argument
52 boolean rightImportantColorized = isImportantColorized(right);
60 boolean rightImportantOngoing = isImportantOngoing(right);
68 boolean rightMessaging = isImportantMessaging(right);
75 boolean rightPeople = isImportantPeople(right);
77 Float.compare(left.getContactAffinity(), right.getContactAffinity());
90 final int rightImportance = right.getImportance();
103 final int rightPackagePriority = right.getPackagePriority();
110 final int rightPriority = right.sbn.getNotification().priority;
117 return -1 * Long.compare(left.getRankingTimeMs(), right
[all...]
/frameworks/base/core/java/android/app/usage/
H A DUsageStats.java140 * Add the statistics from the right {@link UsageStats} to the left. The package name for
142 * @param right The {@link UsageStats} object to merge into this one.
146 public void add(UsageStats right) { argument
147 if (!mPackageName.equals(right.mPackageName)) {
149 mPackageName + "' with UsageStats for package '" + right.mPackageName + "'.");
154 if (right.mBeginTimeStamp > mBeginTimeStamp) {
157 mLastEvent = Math.max(mLastEvent, right.mLastEvent);
158 mLastTimeUsed = Math.max(mLastTimeUsed, right.mLastTimeUsed);
160 mBeginTimeStamp = Math.min(mBeginTimeStamp, right.mBeginTimeStamp);
161 mEndTimeStamp = Math.max(mEndTimeStamp, right
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DDividerItemDecoration.java116 final int right;
120 right = parent.getWidth() - parent.getPaddingRight();
121 canvas.clipRect(left, parent.getPaddingTop(), right,
125 right = parent.getWidth();
134 mDivider.setBounds(left, top, right, bottom);
159 final int right = mBounds.right + Math.round(child.getTranslationX());
160 final int left = right - mDivider.getIntrinsicWidth();
161 mDivider.setBounds(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DMinimizedDockShadow.java53 private void updatePaint(int left, int top, int right, int bottom) { argument
70 0, 0, right - left, 0,
75 right - left, 0, 0, 0,
82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
85 updatePaint(left, top, right, bottom);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp46 const int right = (j < width - 1) ? 4 : 0; local
53 (*(dataPtr + curr + c + right) - *(dataPtr + curr + c + left)) * 2 +
54 *(dataPtr + above + c + right) - *(dataPtr + above + c + left) +
55 *(dataPtr + below + c + right) - *(dataPtr + below + c + left);
59 *(dataPtr + right + c + below) - *(dataPtr + right + c + above);
/frameworks/data-binding/compilerCommon/
H A DBindingExpression.g475 | left=expression op=('*'|'/'|'%') right=expression # MathOp
76 | left=expression op=('+'|'-') right=expression # MathOp
77 | left=expression op=('<<' | '>>>' | '>>') right=expression # BitShiftOp
78 | left=expression op=('<=' | '>=' | '>' | '<') right=expression # ComparisonOp
80 | left=expression op=('==' | '!=') right=expression # ComparisonOp
81 | left=expression op='&' right=expression # BinaryOp
82 | left=expression op='^' right=expression # BinaryOp
83 | left=expression op='|' right=expression # BinaryOp
84 | left=expression op='&&' right=expression # AndOrOp
85 | left=expression op='||' right
[all...]
/frameworks/support/v7/gridlayout/tests/src/android/support/v7/widget/
H A DGridLayoutTest.java72 int right = mRightView.getWidth();
75 assertTrue("right item should get some width", right > 0);
77 assertTrue("left view should be almost two times right view " + left + " vs " + right,
78 Math.abs(right * 2 - left) < 2);
85 int right = mRightView.getWidth();
88 assertTrue("right item should get some width", right > 0);
90 assertTrue("left view should be almost two times right vie
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaProfileRenderer.cpp22 void SkiaProfileRenderer::drawRect(float left, float top, float right, float bottom, argument
24 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
/frameworks/base/services/tests/notification/src/com/android/server/notification/
H A DGlobalSortKeyComparatorTest.java57 NotificationRecord right = new NotificationRecord(getContext(),
62 right.setGlobalSortKey("second");
73 expected.add(right);
95 NotificationRecord right = new NotificationRecord(getContext(),
100 right.setGlobalSortKey("not null");
103 expected.add(right);
126 NotificationRecord right = new NotificationRecord(getContext(),
134 expected.add(right);
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomLayout.java30 public LayoutParams(int left, int top, int right, int bottom) { argument
34 mRight = right;
/frameworks/support/transition/api22/android/support/transition/
H A DViewUtilsApi22.java36 public void setLeftTopRightBottom(View v, int left, int top, int right, int bottom) { argument
40 sSetLeftTopRightBottomMethod.invoke(v, left, top, right, bottom);

Completed in 828 milliseconds

1234567891011>>