Searched refs:right (Results 1 - 25 of 266) sorted by relevance

1234567891011

/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java15 public void swap(Vector values, int left, int right); argument
18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { argument
20 int oright= right;
21 String mid= (String)values.elementAt((left + right) / 2);
25 while (mid.compareTo((String)(values.elementAt(right))) < 0)
26 right--;
27 if (left <= right) {
28 swapper.swap(values, left, right);
30 right--;
32 } while (left <= right);
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRect.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
36 public int right; field in class:Rect
49 * checking is performed, so the caller must ensure that left <= right and
54 * @param right The X coordinate of the right side of the rectagle
57 public Rect(int left, int top, int right, int bottom) { argument
60 this.right = right;
74 right
235 set(int left, int top, int right, int bottom) argument
327 contains(int left, int top, int right, int bottom) argument
369 intersect(int left, int top, int right, int bottom) argument
442 intersects(int left, int top, int right, int bottom) argument
472 union(int left, int top, int right, int bottom) argument
[all...]
H A DRectF.java28 * represented by the coordinates of its 4 edges (left, top, right bottom).
31 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom).
36 public float right; field in class:RectF
46 * checking is performed, so the caller must ensure that left <= right and
51 * @param right The X coordinate of the right side of the rectagle
54 public RectF(float left, float top, float right, float bottom) { argument
57 this.right = right;
71 right
172 set(float left, float top, float right, float bottom) argument
277 contains(float left, float top, float right, float bottom) argument
319 intersect(float left, float top, float right, float bottom) argument
392 intersects(float left, float top, float right, float bottom) argument
441 union(float left, float top, float right, float bottom) argument
[all...]
H A DRegion.java64 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
69 public Region(int left, int top, int right, int bottom) { argument
71 nativeSetRect(mNativeRegion, left, top, right, bottom);
89 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
94 public boolean set(int left, int top, int right, int bottom) { argument
95 return nativeSetRect(mNativeRegion, left, top, right, bottom);
174 return quickContains(r.left, r.top, r.right, r.bottom);
183 public native boolean quickContains(int left, int top, int right, argument
192 return quickReject(r.left, r.top, r.right, r.bottom);
200 public native boolean quickReject(int left, int top, int right, in argument
259 op(int left, int top, int right, int bottom, Op op) argument
371 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
379 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/base/media/libeffects/lvm/lib/Common/src/
H A DFrom2iToMS_16x16.c33 LVM_INT32 temp1,left,right; local
40 right = (LVM_INT32)*src;
44 temp1 = (left+right)>>1;
49 temp1 = (left-right)>>1;
/frameworks/compile/linkloader/tests/images/
H A Dsimple-test.c27 unsigned int right = 99; local
32 printf("Please input a number [%d-%d]:\n", left, right);
38 if (user < left || user > right) {
47 right = user;
/frameworks/base/libs/hwui/
H A DRect.h38 tmp.right = min(right, r);
46 float right; member in class:android::uirenderer::Rect
58 right(0),
62 inline Rect(float left, float top, float right, float bottom): argument
65 right(right),
72 right(width),
85 left = top = right = bottom = 0.0f;
91 return !((left < right)
98 set(float left, float top, float right, float bottom) argument
[all...]
H A DOpenGLRenderer.h68 virtual void prepareDirty(float left, float top, float right, float bottom, bool opaque);
82 virtual int saveLayer(float left, float top, float right, float bottom,
84 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
97 ANDROID_API bool quickReject(float left, float top, float right, float bottom);
98 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
113 float left, float top, float right, float bottom, SkPaint* paint);
115 virtual void drawRect(float left, float top, float right, float bottom, SkPaint* paint);
116 virtual void drawRoundRect(float left, float top, float right, float bottom,
119 virtual void drawOval(float left, float top, float right, float bottom, SkPaint* paint);
120 virtual void drawArc(float left, float top, float right, floa
[all...]
H A DSnapshot.h117 bool clip(float left, float top, float right, float bottom, argument
119 Rect r(left, top, right, bottom);
170 void setClip(float left, float top, float right, float bottom) { argument
171 clipRect->set(left, top, right, bottom);
190 void resetClip(float left, float top, float right, float bottom) { argument
192 clipRect->set(left, top, right, bottom);
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DRunData.java31 public int left, top, right, bottom; field in class:RunData.TileData
36 public TileData(int left, int top, int right, int bottom, argument
39 this.right = right;
49 + right + "," + bottom + ")";
/frameworks/base/libs/ui/
H A DRect.cpp32 right = -1;
47 if (right<rhs.right) {
58 right -= left - x;
69 right+= x;
76 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y);
82 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y);
90 result->right = min(right, with.right);
[all...]
/frameworks/base/core/java/android/view/
H A DGravity.java34 /** Raw bit controlling how the right/bottom edge is placed. */
36 /** Raw bit controlling whether the right/bottom edge is clipped to its
51 /** Push object to the right of its container, not changing its size. */
175 * pushes it to the right; if gravity is RIGHT it pushes it to
177 * right or left; otherwise it is ignored.
190 + ((container.right - container.left - w)/2) + xAdj;
191 outRect.right = outRect.left + w;
197 if (outRect.right > container.right) {
198 outRect.right
[all...]
H A DFocusFinder.java78 // make up a rect at top left or bottom right of root
200 * @param direction the direction (up, down, left, right)
298 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
301 return (srcRect.left < destRect.left || srcRect.right <= destRect.left)
302 && srcRect.right < destRect.right;
317 * @param direction the direction (up, down, left, right)
329 return (rect2.right >
[all...]
H A DGLES20Canvas.java251 nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, mOpaque);
258 private static native void nPrepareDirty(int renderer, int left, int top, int right, int bottom, argument
417 public boolean clipRect(float left, float top, float right, float bottom) { argument
418 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
422 float right, float bottom, int op);
425 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument
426 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt);
430 public boolean clipRect(int left, int top, int right, int bottom) { argument
431 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
434 private static native boolean nClipRect(int renderer, int left, int top, int right, in argument
421 nClipRect(int renderer, float left, float top, float right, float bottom, int op) argument
477 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
481 nQuickReject(int renderer, float left, float top, float right, float bottom, int edge) argument
579 saveLayer(float left, float top, float right, float bottom, Paint paint, int saveFlags) argument
591 nSaveLayer(int renderer, float left, float top, float right, float bottom, int paint, int saveFlags) argument
606 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, int saveFlags) argument
614 nSaveLayerAlpha(int renderer, float left, float top, float right, float bottom, int alpha, int saveFlags) argument
665 nDrawArc(int renderer, float left, float top, float right, float bottom, float startAngle, float sweepAngle, boolean useCenter, int paint) argument
684 nDrawPatch(int renderer, int bitmap, byte[] buffer, byte[] chunks, float left, float top, float right, float bottom, int paint) argument
758 nDrawBitmap(int renderer, int bitmap, byte[] buffer, float srcLeft, float srcTop, float srcRight, float srcBottom, float left, float top, float right, float bottom, int paint) argument
867 nDrawOval(int renderer, float left, float top, float right, float bottom, int paint) argument
941 drawRect(float left, float top, float right, float bottom, Paint paint) argument
947 nDrawRect(int renderer, float left, float top, float right, float bottom, int paint) argument
973 nDrawRoundRect(int renderer, float left, float top, float right, float bottom, float rx, float y, int paint) argument
[all...]
/frameworks/base/native/include/android/
H A Drect.h31 int32_t right; member in struct:ARect
/frameworks/media/libvideoeditor/osal/inc/
H A DM4OSA_OptionID.h50 #define M4OSA_OPTION_ID_CREATE(right, coreID, errorID)\
51 (M4OSA_Int32)((((((M4OSA_UInt32)right)&0x03)<<30))+((((M4OSA_UInt32)coreID)&0x003FFF)<<16)+(((M4OSA_UInt32)errorID)&0x00FFFF))
55 #define M4OSA_OPTION_ID_SPLIT(optionID, right, coreID, errorID)\
56 { right=(M4OSA_UInt8)((optionID)>>30);\
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java61 protected boolean setFrame(int left, int top, int right, int bottom) { argument
63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
66 return super.setFrame(left, top, right, bottom);
106 int left, right;
110 right = chld.right + bkg.right;
114 right = getRight();
116 background.setBounds(left, top, right, bottom);
146 r.bottom = r.right
[all...]
/frameworks/base/include/ui/
H A DRect.h38 left = top = 0; right = w; bottom = h;
41 left = l; top = t; right = r; bottom = b;
44 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y;
50 left = top = right = bottom = 0;
69 return right-left;
83 right = rb.x;
92 return Point(right, bottom);
95 return Point(right, top);
104 (right == rhs.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/media/java/android/media/videoeditor/
H A DEffectKenBurns.java98 start.right = getStartRect().right;
102 end.right = getEndRect().right;
/frameworks/base/include/utils/
H A DList.h116 inline bool operator==(const _Iter& right) const {
117 return mpNode == right.mpNode; }
119 inline bool operator!=(const _Iter& right) const {
120 return mpNode != right.mpNode; }
126 inline bool operator==(const OTHER& right) const {
127 return mpNode == right.mpNode; }
130 inline bool operator!=(const OTHER& right) const {
131 return mpNode != right.mpNode; }
178 List<T>& operator=(const List<T>& right);
313 List<T>& List<T>::operator=(const List<T>& right) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandedView.java44 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
45 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/libs/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/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 &&
225 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
232 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx;
237 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx;
246 inline int next(TYPE& left, TYPE& right) argument
250 int inside = SpannerBase::next(left, right, more_lhs, more_rhs);
262 void advance(region& reg, TYPE& left, TYPE& right) { argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DBlackFrame.java86 outer.left, outer.top, inner.right, inner.top);
94 inner.left, inner.bottom, outer.right, outer.bottom);
96 if (outer.right > inner.right) {
98 inner.right, outer.top, outer.right, inner.bottom);

Completed in 495 milliseconds

1234567891011