/frameworks/base/test-runner/src/junit/runner/ |
H A D | Sorter.java | 15 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 D | RectF.java | 28 * 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 rectangle 54 public RectF(float left, float top, float right, float bottom) { argument 57 this.right = right; 71 right 190 set(float left, float top, float right, float bottom) argument 295 contains(float left, float top, float right, float bottom) argument 337 intersect(float left, float top, float right, float bottom) argument 410 intersects(float left, float top, float right, float bottom) argument 459 union(float left, float top, float right, float bottom) argument [all...] |
H A D | Insets.java | 33 public final int right; field in class:Insets 36 private Insets(int left, int top, int right, int bottom) { argument 39 this.right = right; 50 * @param right the right inset 55 public static Insets of(int left, int top, int right, int bottom) { argument 56 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 59 return new Insets(left, top, right, bottom); 70 return (r == null) ? NONE : of(r.left, r.top, r.right, [all...] |
H A D | Rect.java | 28 * 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 rectangle 57 public Rect(int left, int top, int right, int bottom) { argument 60 this.right = right; 74 right 243 set(int left, int top, int right, int bottom) argument 335 contains(int left, int top, int right, int bottom) argument 376 intersect(int left, int top, int right, int bottom) argument 439 intersects(int left, int top, int right, int bottom) argument 467 union(int left, int top, int right, int bottom) argument [all...] |
H A D | Region.java | 64 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/av/media/libeffects/lvm/lib/Common/src/ |
H A D | From2iToMS_16x16.c | 33 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 D | simple-test.c | 27 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 D | Rect.h | 35 float right; member in class:android::uirenderer::Rect 47 right(0), 51 inline Rect(float left, float top, float right, float bottom): argument 54 right(right), 61 right(width), 74 left = top = right = bottom = 0.0f; 80 return !((left < right) && (top < bottom)); 84 left = top = right = bottom = 0.0f; 87 inline void set(float left, float top, float right, floa argument [all...] |
H A D | Snapshot.h | 86 bool clip(float left, float top, float right, float bottom, 99 void setClip(float left, float top, float right, float bottom); 110 void resetClip(float left, float top, float right, float bottom); 226 bool clipRegionOr(float left, float top, float right, float bottom); 227 bool clipRegionXor(float left, float top, float right, float bottom); 228 bool clipRegionAnd(float left, float top, float right, float bottom); 229 bool clipRegionNand(float left, float top, float right, float bottom);
|
H A D | Snapshot.cpp | 87 android::Rect tmp(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); 97 clipRect->set(bounds.left, bounds.top, bounds.right, bounds.bottom); 110 bool Snapshot::clipRegionOr(float left, float top, float right, float bottom) { argument 112 android::Rect tmp(left, top, right, bottom); 121 bool Snapshot::clipRegionXor(float left, float top, float right, float bottom) { argument 123 android::Rect tmp(left, top, right, bottom); 132 bool Snapshot::clipRegionAnd(float left, float top, float right, float bottom) { argument 134 android::Rect tmp(left, top, right, bottom); 143 bool Snapshot::clipRegionNand(float left, float top, float right, float bottom) { argument 145 android::Rect tmp(left, top, right, botto 154 clip(float left, float top, float right, float bottom, SkRegion::Op op) argument 212 setClip(float left, float top, float right, float bottom) argument 233 resetClip(float left, float top, float right, float bottom) argument [all...] |
H A D | OpenGLRenderer.h | 71 virtual int prepareDirty(float left, float top, float right, float bottom, bool opaque); 88 virtual int saveLayer(float left, float top, float right, float bottom, 90 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 107 ANDROID_API bool quickReject(float left, float top, float right, float bottom); 108 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); 125 float left, float top, float right, float bottom, SkPaint* paint); 127 virtual status_t drawRect(float left, float top, float right, float bottom, SkPaint* paint); 128 virtual status_t drawRoundRect(float left, float top, float right, float bottom, 131 virtual status_t drawOval(float left, float top, float right, float bottom, SkPaint* paint); 132 virtual status_t drawArc(float left, float top, float right, floa [all...] |
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 33 right = -1; 48 if (right<rhs.right) { 59 right -= left - x; 70 right+= x; 77 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y); 83 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y); 91 result->right = min(right, with.right); 109 int right = height - result.top; local [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | RunData.java | 31 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/av/libvideoeditor/osal/inc/ |
H A D | M4OSA_OptionID.h | 50 #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/native/include/android/ |
H A D | rect.h | 33 int32_t right; member in struct:ARect
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | TreeBase.h | 22 NodeBase *right; member in class:mcld::NodeBase 26 : left(0), right(0) 74 { return ((m_pNode->right) != (m_pNode->right->right)); } 77 { return ((m_pNode->left) != (m_pNode->left->right)); } 94 { X = X->right; } 102 { X->right = const_cast<NodeBase*>(Y); }
|
H A D | BinTree.h | 40 m_Stack.push(m_pNode->right); 50 m_pNode = m_pNode->right; // should be root 56 m_Stack.push(m_pNode->right); 75 m_Queue.push(m_pNode->right); 85 m_pNode = m_pNode->right; // should be root 91 m_Queue.push(m_pNode->right); 139 { return (IteratorType::m_pNode->right == IteratorType::m_pNode); } 228 { return (m_pNode->right == m_pNode); } 294 node.left = node.right = &node; 310 if ((*data).right [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Gravity.java | 34 /** 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. */ 177 * pushes it to the right; if gravity is RIGHT it pushes it to 179 * right or left; otherwise it is ignored. 192 + ((container.right - container.left - w)/2) + xAdj; 193 outRect.right = outRect.left + w; 199 if (outRect.right > container.right) { 200 outRect.right [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsBackground.java | 61 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/native/include/ui/ |
H A D | Rect.h | 38 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; 78 return Rect(right-left, bottom-top); 90 right = rb.x; 99 return Point(right, bottom); 102 return Point(right, top); 111 (right [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/base/media/java/android/media/videoeditor/ |
H A D | EffectKenBurns.java | 98 start.right = getStartRect().right; 102 end.right = getEndRect().right;
|
/frameworks/native/include/utils/ |
H A D | List.h | 116 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/support/v4/jellybean/android/support/v4/view/ |
H A D | ViewCompatJB.java | 39 int right, int bottom) { 40 view.postInvalidate(left, top, right, bottom); 38 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
|
/frameworks/rs/scriptc/ |
H A D | rs_math.rsh | 95 * @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...] |