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

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsResizeTaskDialog.java135 mBounds[0].right = mBounds[0].centerX();
136 mBounds[1].left = mBounds[0].right;
140 mBounds[1].right = mBounds[1].centerX();
141 mBounds[0].left = mBounds[1].right;
155 mBounds[0].right = mBounds[0].centerX();
157 mBounds[1].left = mBounds[0].right;
159 mBounds[2].right = mBounds[0].right;
161 mBounds[3].left = mBounds[0].right;
168 mBounds[1].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/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewDelegate.java32 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/base/graphics/java/android/graphics/
H A DPath.java438 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo);
453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false);
468 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument
471 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo);
499 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
507 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
518 addRect(rect.left, rect.top, rect.right, rect.bottom, dir);
526 * @param right The right side of a rectangle to add to the path
530 public void addRect(float left, float top, float right, floa argument
550 addOval(float left, float top, float right, float bottom, Direction dir) argument
585 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
610 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument
640 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument
804 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument
808 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument
810 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument
813 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument
816 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument
819 native_addRoundRect(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
411 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument
419 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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java71 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
79 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
83 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
87 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
/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.g458 | left=expression op=('*'|'/'|'%') right=expression # MathOp
59 | left=expression op=('+'|'-') right=expression # MathOp
60 | left=expression op=('<<' | '>>>' | '>>') right=expression # BitShiftOp
61 | left=expression op=('<=' | '>=' | '>' | '<') right=expression # ComparisonOp
63 | left=expression op=('==' | '!=') right=expression # ComparisonOp
64 | left=expression op='&' right=expression # BinaryOp
65 | left=expression op='^' right=expression # BinaryOp
66 | left=expression op='|' right=expression # BinaryOp
67 | left=expression op='&&' right=expression # AndOrOp
68 | left=expression op='||' right
[all...]
/frameworks/base/libs/hwui/
H A DCanvas.h74 virtual int saveLayer(float left, float top, float right, float bottom,
76 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
95 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0;
98 virtual bool clipRect(float left, float top, float right, float bottom,
119 virtual void drawRect(float left, float top, float right, float bottom,
121 virtual void drawRoundRect(float left, float top, float right, float bottom,
124 virtual void drawOval(float left, float top, float right, float bottom,
126 virtual void drawArc(float left, float top, float right, float bottom,
H A DClipArea.cpp47 handlePoint(transformedBounds, transform, r.right, r.top);
49 handlePoint(transformedBounds, transform, r.right, r.bottom);
161 rectPath.addRect(bounds.left, bounds.top, bounds.right, bounds.bottom);
209 void ClipArea::setClip(float left, float top, float right, float bottom) { argument
211 mClipRect.set(left, top, right, bottom);
215 bool ClipArea::clipRectWithTransform(float left, float top, float right, argument
217 Rect r(left, top, right, bottom);
290 float right, float bottom, const mat4* transform, SkRegion::Op op) {
291 Rect r(left, top, right, bottom);
321 float right, floa
289 rectangleModeClipRectWithTransform(float left, float top, float right, float bottom, const mat4* transform, SkRegion::Op op) argument
320 rectangleListModeClipRectWithTransform(float left, float top, float right, float bottom, const mat4* transform, SkRegion::Op op) argument
354 regionModeClipRectWithTransform(float left, float top, float right, float bottom, const mat4* transform, SkRegion::Op op) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainer.java44 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
45 super.onLayout(changed, left, top, right, bottom);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DBitShiftExpr.java26 BitShiftExpr(Expr left, String op, Expr right) { argument
27 super(left, right);
H A DComparisonExpr.java26 ComparisonExpr(String op, Expr left, Expr right) { argument
27 super(left, right);
H A DMathExpr.java26 MathExpr(Expr left, String op, Expr right) { argument
27 super(left, right);
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
H A DDrawableWrapperLollipop.java36 public void setHotspotBounds(int left, int top, int right, int bottom) { argument
37 mDrawable.setHotspotBounds(left, top, right, bottom);
/frameworks/native/libs/ui/
H A DRegion.cpp129 int right = current->right; local
138 if (prev.right <= left) break;
140 if (prev.right > left && prev.right < right) {
141 dst.add(Rect(prev.right, top, right, bottom));
142 right = prev.right;
[all...]
/frameworks/support/v4/donut/android/support/v4/view/
H A DWindowInsetsCompat.java60 * Returns the right system window inset in pixels.
66 * @return The right system window inset
127 * <p>A round window's left, top, right and bottom edges reach all the way to the
153 * @param right New right inset in pixels
157 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
205 * Returns the right stable inset in pixels.
213 * @return The right stable inset
/frameworks/base/core/java/android/view/animation/
H A DClipRectAnimation.java59 int r = mFromRect.right + (int) ((mToRect.right - mFromRect.right) * it);
/frameworks/base/core/java/android/widget/
H A DRtlSpacingHelper.java21 * RtlSpacingHelper manages the relationship between left/right and start/end for views
67 public void setAbsolute(int left, int right) { argument
70 if (right != UNDEFINED) mRight = mExplicitRight = right;
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DRectUtils.java53 fullRect.set((int) fullRectF.left, (int) fullRectF.top, (int) fullRectF.right,
55 partialRect.set((int) partialRectF.left, (int) partialRectF.top, (int) partialRectF.right,
64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DRtlSpacingHelper.java21 * RtlSpacingHelper manages the relationship between left/right and start/end for views
69 public void setAbsolute(int left, int right) { argument
72 if (right != UNDEFINED) mRight = mExplicitRight = right;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java62 canvas.drawRect(isLtr ? bounds.right - width : 0, 0,
63 isLtr ? bounds.right : bounds.left + width, width, mRadialGradientPaint);
88 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
90 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) {
91 mLayoutWidth = right - left;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilter.java88 int right = (tempRect.right+WIDTH_OFFSET)*dims[0]/FACE_X_RANGE;
105 if (right > dims[0]) {
106 right = dims[0];
107 } else if (right < 0) {
108 right = 0;
123 if (right > 0 && top > 0) {
124 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + right) +
126 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + right) +
128 pixels[ImageConstants.PIX_CHANNELS * (dims[0] * (top + j) + right)
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
H A DFaceSquareFilterTest.java77 // ensure the output image has the rectangle in the right place
90 int right = (faceRect.right+WIDTH_OFFSET)*bitmap.getWidth()/FACE_X_RANGE;
107 if (right > bitmap.getWidth()) {
108 right = bitmap.getWidth();
109 } else if (right < 0) {
110 right = 0;
125 if (right > 0 && top > 0) {
126 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right) +
128 pixels[ImageConstants.PIX_CHANNELS * (bitmap.getWidth() * (top + j) + right)
[all...]

Completed in 4352 milliseconds

1234567891011>>