/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; 70 left = top = right 198 set(float left, float top, float right, float bottom) argument 303 contains(float left, float top, float right, float bottom) argument 345 intersect(float left, float top, float right, float bottom) argument 418 intersects(float left, float top, float right, float bottom) argument 467 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; 73 left = top = right 247 set(int left, int top, int right, int bottom) argument 339 contains(int left, int top, int right, int bottom) argument 380 intersect(int left, int top, int right, int bottom) argument 443 intersects(int left, int top, int right, int bottom) argument 471 union(int left, int top, int right, int bottom) 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 411 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument 419 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/native/services/surfaceflinger/DisplayHardware/ |
H A D | FloatRect.h | 29 float right; member in class:android::FloatRect 34 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { } 36 inline float getWidth() const { return right - left; }
|
/frameworks/base/libs/hwui/ |
H A D | Rect.h | 31 (r).left, (r).top, (r).right, (r).bottom 41 float right; member in class:android::uirenderer::Rect 53 right(0), 57 inline Rect(float left, float top, float right, float bottom): argument 60 right(right), 67 right(width), 80 left = top = right = bottom = 0.0f; 86 return !((left < right) && (top < bottom)); 90 left = top = right 93 set(float left, float top, float right, float bottom) argument [all...] |
H A D | Snapshot.cpp | 81 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); 98 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument 100 tmp.set(left, top, right, bottom); 114 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument 115 Rect r(left, top, right, bottom); 127 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); 138 setClip(r.left, r.top, r.right, r.bottom); 144 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op); 156 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 157 clipRect->set(left, top, right, botto 178 resetClip(float left, float top, float right, float bottom) argument [all...] |
H A D | Snapshot.h | 86 bool clip(float left, float top, float right, float bottom, 105 void setClip(float left, float top, float right, float bottom); 116 void resetClip(float left, float top, float right, float bottom); 237 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
|
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 33 right = -1; 47 if (right < rhs.right) { 57 right -= left - x; 67 right += x; 73 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); 78 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); 85 result->right = min(right, with.right); 103 int right = height - result.top; local [all...] |
H A D | Region.cpp | 126 int right = current->right; local 132 if (prev->right <= left) break; 134 if (prev->right > left && prev->right < right) { 135 dst.add(Rect(prev->right, top, right, bottom)); 136 right = prev->right; [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | RectEvaluator.java | 30 * (left, top, right, and bottom). 42 startValue.right + (int)((endValue.right - startValue.right) * fraction),
|
/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/base/core/java/android/view/ |
H A D | IMagnificationCallbacks.aidl | 26 void onRectangleOnScreenRequested(int left, int top, int right, int bottom);
|
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. */ 176 * pushes it to the right; if gravity is RIGHT it pushes it to 178 * right or left; otherwise it is ignored. 191 + ((container.right - container.left - w)/2) + xAdj; 192 outRect.right = outRect.left + w; 198 if (outRect.right > container.right) { 199 outRect.right [all...] |
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | TreeBase.h | 23 NodeBase *right; member in class:mcld::NodeBase 27 : left(0), right(0) 75 { return (m_pNode->right == m_pNode); } 78 { return ((m_pNode->right) != (m_pNode->right->right)); } 81 { return ((m_pNode->left) != (m_pNode->left->right)); } 98 { X = X->right; } 106 { X->right = const_cast<NodeBase*>(Y); }
|
/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 | 41 right = w; 48 right = r; 55 right = rb.x; 62 left = top = right = bottom = 0; 77 return right - left; 86 return Rect(right - left, bottom - top); 95 right = rb.x; 104 return Point(right, bottom); 107 return Point(right, top); 116 (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/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/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...] |
/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...] |