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

1234567891011>>

/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...]
H A DCanvas.java81 * Flag for drawTextRun indicating left-to-right run direction.
87 * Flag for drawTextRun indicating right-to-left run direction.
462 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
475 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint, argument
477 return native_saveLayer(mNativeCanvasWrapper, left, top, right, bottom,
483 * Convenience for saveLayer(left, top, right, bottom, paint, {@link #ALL_SAVE_FLAG})
485 public int saveLayer(float left, float top, float right, float bottom, @Nullable Paint paint) { argument
486 return saveLayer(left, top, right, bottom, paint, ALL_SAVE_FLAG);
521 return saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom, alpha, saveFlags);
534 public int saveLayerAlpha(float left, float top, float right, floa argument
544 saveLayerAlpha(float left, float top, float right, float bottom, int alpha) argument
761 clipRect(float left, float top, float right, float bottom, @NonNull Region.Op op) argument
779 clipRect(float left, float top, float right, float bottom) argument
797 clipRect(int left, int top, int right, int bottom) argument
950 quickReject(float left, float top, float right, float bottom, @NonNull EdgeType type) argument
1145 drawRect(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1166 drawOval(float left, float top, float right, float bottom, @NonNull Paint paint) argument
1234 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, @NonNull Paint paint) argument
1261 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, @NonNull Paint paint) argument
1995 native_clipRect(long nativeCanvas, float left, float top, float right, float bottom, int regionOp) argument
2013 native_quickReject(long nativeCanvas, float left, float top, float right, float bottom) argument
2031 native_drawRect(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2035 native_drawOval(long nativeCanvas, float left, float top, float right, float bottom, long nativePaint) argument
2040 native_drawArc(long nativeCanvas, float left, float top, float right, float bottom, float startAngle, float sweep, boolean useCenter, long nativePaint) argument
2044 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 DStyledCornersBitmapDrawable.java242 float right = bounds.right - mBorderWidth / 2;
254 flapCornerRectF.offsetTo(right - mCornerFlapSide, top);
259 flapCornerRectF.offsetTo(right - mCornerFlapSide, bottom - mCornerFlapSide);
286 float right = bounds.right;
302 fakeCornerRectF.offsetTo(right - fakeCornerRectF.width(), top);
304 mCompatibilityModePath.moveTo(right, top);
305 mCompatibilityModePath.lineTo(right, top + mCornerRoundRadius);
312 .offsetTo(right
[all...]
/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/base/include/private/graphics/
H A DCanvas.h58 virtual int saveLayer(float left, float top, float right, float bottom,
60 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
75 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0;
78 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0;
98 virtual void drawRect(float left, float top, float right, float bottom,
100 virtual void drawRoundRect(float left, float top, float right, float bottom,
103 virtual void drawOval(float left, float top, float right, float bottom,
105 virtual void drawArc(float left, float top, float right, float bottom,
/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/support/v4/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatL.java33 int right, int bottom) {
34 drawable.setHotspotBounds( left, top, right, bottom);
32 setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) argument
/frameworks/native/libs/ui/
H A DRegion.cpp127 int right = current->right; local
133 if (prev->right <= left) break;
135 if (prev->right > left && prev->right < right) {
136 dst.add(Rect(prev->right, top, right, bottom));
137 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/
H A DGLES20Canvas.java196 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom,
204 private static native int nPrepareDirty(long renderer, int left, int top, int right, int bottom, argument
292 public boolean clipRect(float left, float top, float right, float bottom) { argument
293 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
297 float right, float bottom, int op);
300 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument
301 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt);
305 public boolean clipRect(int left, int top, int right, int bottom) { argument
306 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
310 int right, in
296 nClipRect(long renderer, float left, float top, float right, float bottom, int op) argument
309 nClipRect(long renderer, int left, int top, int right, int bottom, int op) argument
354 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
358 nQuickReject(long renderer, float left, float top, float right, float bottom) argument
457 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument
466 nSaveLayer(long renderer, float left, float top, float right, float bottom, long paint, int saveFlags) argument
481 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument
489 nSaveLayerAlpha(long renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument
541 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, Paint paint) argument
547 nDrawArc(long renderer, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, long paint) argument
574 nDrawPatch(long renderer, long bitmap, long chunk, float left, float top, float right, float bottom, long paint) argument
639 nDrawBitmap(long renderer, long bitmap, float srcLeft, float srcTop, float srcRight, float srcBottom, float left, float top, float right, float bottom, long paint) argument
727 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
780 drawOval(float left, float top, float right, float bottom, Paint paint) argument
784 nDrawOval(long renderer, float left, float top, float right, float bottom, long paint) argument
840 drawRect(float left, float top, float right, float bottom, Paint paint) argument
845 nDrawRect(long renderer, float left, float top, float right, float bottom, long paint) argument
864 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, Paint paint) argument
869 nDrawRoundRect(long renderer, float left, float top, float right, float bottom, float rx, float y, long paint) argument
[all...]
/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/base/libs/hwui/
H A DOutline.h34 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument
36 mBounds.set(left, top, right, bottom);
39 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom),
H A DRenderer.h124 * @param right The right coordinate of the dirty rectangle
130 virtual status_t prepareDirty(float left, float top, float right, float bottom,
148 virtual int saveLayer(float left, float top, float right, float bottom,
151 int saveLayerAlpha(float left, float top, float right, float bottom, argument
155 return saveLayer(left, top, right, bottom, &paint, flags);
171 float right, float bottom) const = 0;
172 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0;
194 float left, float top, float right, float bottom, const SkPaint* paint) = 0;
197 virtual status_t drawRect(float left, float top, float right, floa
[all...]
H A DStatefulBaseRenderer.cpp153 bool StatefulBaseRenderer::clipRect(float left, float top, float right, float bottom, SkRegion::Op op) { argument
155 mDirtyClip |= mSnapshot->clip(left, top, right, bottom, op);
160 path.addRect(left, top, right, bottom);
180 clip.setRect(bounds->left, bounds->top, bounds->right, bounds->bottom);
205 clipRect(bounds.left, bounds.top, bounds.right, bounds.bottom, SkRegion::kIntersect_Op);
233 float right, float bottom,
236 if (mSnapshot->isIgnored() || bottom <= top || right <= left) {
240 Rect r(left, top, right, bottom);
274 float right, float bottom) const {
275 if (mSnapshot->isIgnored() || bottom <= top || right <
232 calculateQuickRejectForScissor(float left, float top, float right, float bottom, bool* clipRequired, bool* roundRectClipRequired, bool snapOut) const argument
273 quickRejectConservative(float left, float top, float right, float bottom) const argument
[all...]
H A DOpenGLRenderer.h136 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
146 virtual int saveLayer(float left, float top, float right, float bottom, argument
148 return saveLayer(left, top, right, bottom, paint, flags, NULL);
153 int saveLayer(float left, float top, float right, float bottom,
156 int saveLayerDeferred(float left, float top, float right, float bottom,
173 float left, float top, float right, float bottom, const SkPaint* paint);
175 float left, float top, float right, float bottom, const SkPaint* paint);
177 virtual status_t drawRect(float left, float top, float right, float bottom,
179 virtual status_t drawRoundRect(float left, float top, float right, float bottom,
182 virtual status_t drawOval(float left, float top, float right, floa
327 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument
[all...]
/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.java63 canvas.drawRect(isLtr ? bounds.right - width : 0, 0,
64 isLtr ? bounds.right : bounds.left + width, width, mRadialGradientPaint);
89 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
91 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) {
92 mLayoutWidth = right - left;
/frameworks/rs/scriptc/
H A Drs_math.rsh95 * @param right plane
103 float4 *left, float4 *right,
112 right->x = viewProj->m[3] - viewProj->m[0];
113 right->y = viewProj->m[7] - viewProj->m[4];
114 right->z = viewProj->m[11] - viewProj->m[8];
115 right->w = viewProj->m[15] - viewProj->m[12];
139 len = length(right->xyz);
140 *right /= len;
155 * @param right plane
163 float4 *left, float4 *right,
[all...]
/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...]
/frameworks/compile/mclinker/include/mcld/ADT/
H A DBinTree.h37 m_Stack.push(m_pNode->right);
47 m_pNode = m_pNode->right; // should be root
53 m_Stack.push(m_pNode->right);
72 m_Queue.push(m_pNode->right);
82 m_pNode = m_pNode->right; // should be root
88 m_Queue.push(m_pNode->right);
222 { return (m_pNode->right == m_pNode); }
288 node.left = node.right = &node;
304 if ((*data).right == &pClient.node)
305 (*data).right
[all...]
/frameworks/native/include/private/ui/
H A DRegionHelper.h81 TYPE left, right; local
82 int inside = spannerInner.next(current.left, current.right);
84 if (current.left < current.right &&
235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
244 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
249 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
253 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
263 inline int next(TYPE& left, TYPE& right) argument
267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs);
279 void advance(region& reg, TYPE& left, TYPE& right) { argument
[all...]

Completed in 502 milliseconds

1234567891011>>