/frameworks/base/core/java/android/view/ |
H A D | WindowInsets.java | 147 * 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/base/core/java/android/text/style/ |
H A D | LineBackgroundSpan.java | 26 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 D | CardViewDelegate.java | 31 void setShadowPadding(int left, int top, int right, int bottom); argument
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DockedDividerUtils.java | 39 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 D | Path.java | 453 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); 468 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); 483 public void arcTo(float left, float top, float right, float bottom, float startAngle, argument 486 native_arcTo(mNativePath, left, top, right, bottom, startAngle, sweepAngle, forceMoveTo); 514 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument 522 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION); 533 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 541 * @param right The right side of a rectangle to add to the path 545 public void addRect(float left, float top, float right, floa argument 565 addOval(float left, float top, float right, float bottom, Direction dir) argument 600 addArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 625 addRoundRect(float left, float top, float right, float bottom, float rx, float ry, Direction dir) argument 655 addRoundRect(float left, float top, float right, float bottom, float[] radii, Direction dir) argument 828 native_arcTo(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean forceMoveTo) argument 832 native_addRect(long nPath, float left, float top, float right, float bottom, int dir) argument 834 native_addOval(long nPath, float left, float top, float right, float bottom, int dir) argument 837 native_addArc(long nPath, float left, float top, float right, float bottom, float startAngle, float sweepAngle) argument 840 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float rx, float ry, int dir) argument 843 native_addRoundRect(long nPath, float left, float top, float right, float bottom, float[] radii, int dir) argument [all...] |
H A D | Region.java | 71 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...] |
H A D | Canvas.java | 429 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 442 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument 444 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom, 450 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG}) 452 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument 453 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG); 488 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags); 501 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument 504 return native_saveLayerAlpha(mNativeCanvasWrapper, left, top, right, bottom, 509 * Helper for saveLayerAlpha(left, top, right, botto 511 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument 742 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument 760 clipRect(float left, float top, float right, float bottom) argument 778 clipRect(int left, int top, int right, int bottom) argument 933 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument 1130 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1151 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument 1219 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument 1246 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument 2028 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument 2046 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument 2064 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 2068 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument 2073 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument 2077 native_drawRoundRect(long nativeCanvas, float left, float top, float right, float bottom, float rx, float ry, long nativePaint) argument [all...] |
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | StyledCornersBitmapDrawable.java | 251 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 D | ExpandableOutlineView.java | 83 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom); 114 protected void setOutlineRect(float left, float top, float right, float bottom) { argument 118 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom); 122 mOutlineRect.right = (int) Math.max(left, mOutlineRect.right);
|
/frameworks/base/libs/hwui/ |
H A D | Outline.h | 42 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/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
H A D | MinimizedDockShadow.java | 53 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 D | sobeloperator.cpp | 46 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 D | BindingExpression.g4 | 58 | 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/support/v7/gridlayout/tests/src/android/support/v7/widget/ |
H A D | GridLayoutTest.java | 71 int right = mRightView.getWidth(); 74 assertTrue("right item should get some width", right > 0); 76 assertTrue("left view should be almost two times right view " + left + " vs " + right, 77 Math.abs(right * 2 - left) < 2); 84 int right = mRightView.getWidth(); 87 assertTrue("right item should get some width", right > 0); 89 assertTrue("left view should be almost two times right vie [all...] |
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomLayout.java | 30 public LayoutParams(int left, int top, int right, int bottom) { argument 34 mRight = right;
|
/frameworks/native/libs/ui/ |
H A D | Region.cpp | 129 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 D | WindowInsetsCompat.java | 60 * 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 D | ClipRectAnimation.java | 59 int r = mFromRect.right + (int) ((mToRect.right - mFromRect.right) * it);
|
/frameworks/base/core/java/android/widget/ |
H A D | RtlSpacingHelper.java | 21 * 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 D | RectUtils.java | 53 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/widget/ |
H A D | RtlSpacingHelper.java | 21 * 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/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 62 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/data-binding/compiler/src/main/java/android/databinding/tool/expr/ |
H A D | MathExpr.java | 27 MathExpr(Expr left, String op, Expr right) { argument 28 super(left, right); 109 final Expr right = getRight(); 110 final Expr constExpr = left.isDynamic() ? right : left; 111 final Expr varExpr = left.isDynamic() ? left : right;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | FaceSquareFilter.java | 88 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 D | FaceSquareFilterTest.java | 77 // 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...] |