/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 | 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 rectagle 57 public Rect(int left, int top, int right, int bottom) { argument 60 this.right = right; 74 right 233 set(int left, int top, int right, int bottom) argument 325 contains(int left, int top, int right, int bottom) argument 367 intersect(int left, int top, int right, int bottom) argument 440 intersects(int left, int top, int right, int bottom) argument 470 union(int left, int top, int right, int bottom) argument [all...] |
H A D | RectF.java | 26 * represented by the coordinates of its 4 edges (left, top, right bottom). 29 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 34 public float right; field in class:RectF 44 * checking is performed, so the caller must ensure that left <= right and 49 * @param right The X coordinate of the right side of the rectagle 52 public RectF(float left, float top, float right, float bottom) { argument 55 this.right = right; 69 right 141 set(float left, float top, float right, float bottom) argument 246 contains(float left, float top, float right, float bottom) argument 288 intersect(float left, float top, float right, float bottom) argument 361 intersects(float left, float top, float right, float bottom) argument 410 union(float left, float top, float right, float bottom) argument [all...] |
H A D | Region.java | 56 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 61 public Region(int left, int top, int right, int bottom) { argument 63 nativeSetRect(mNativeRegion, left, top, right, bottom); 81 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); 86 public boolean set(int left, int top, int right, int bottom) { argument 87 return nativeSetRect(mNativeRegion, left, top, right, bottom); 166 return quickContains(r.left, r.top, r.right, r.bottom); 175 public native boolean quickContains(int left, int top, int right, argument 184 return quickReject(r.left, r.top, r.right, r.bottom); 192 public native boolean quickReject(int left, int top, int right, in argument 251 op(int left, int top, int right, int bottom, Op op) argument 353 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument 361 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/base/awt/java/awt/ |
H A D | Insets.java | 31 * the right side, and the left side. The space can be filled with a border, a 62 * The right inset indicates the size of the space subtracted from the right 65 public int right; field in class:Insets 69 * right parameters. 77 * @param right 78 * the right inset. 80 public Insets(int top, int left, int bottom, int right) { argument 81 setValues(top, left, bottom, right); 95 hashCode = HashCode.combine(hashCode, right); 157 set(int top, int left, int bottom, int right) argument 173 setValues(int top, int left, int bottom, int right) argument [all...] |
/frameworks/base/libs/ui/ |
H A D | Rect.cpp | 32 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...] |
H A D | Region.cpp | 250 bounds.right = INT_MIN; 266 bounds.right = 0; 272 // rect.left, rect.top, rect.right, rect.bottom); 276 } else if (cur->right == rect.left) { 277 cur->right = rect.right; 297 if ((p->left != q->left) || (p->right != q->right)) { 314 bounds.right = max(span.top().right, bound [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. */ 138 * pushes it to the right; if gravity is RIGHT it pushes it to 140 * right or left; otherwise it is ignored. 153 + ((container.right - container.left - w)/2) + xAdj; 154 outRect.right = outRect.left + w; 160 if (outRect.right > container.right) { 161 outRect.right [all...] |
H A D | FocusFinder.java | 75 // make up a rect at top left or bottom right of root 153 * @param direction the direction (up, down, left, right) 251 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) 254 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) 255 && srcRect.right < destRect.right; 270 * @param direction the direction (up, down, left, right) 282 return (rect2.right > [all...] |
/frameworks/base/include/ui/ |
H A D | Rect.h | 30 int right; member in class:android::Rect 41 : left(0), top(0), right(w), bottom(h) { 44 : left(l), top(t), right(r), bottom(b) { 47 : left(lt.x), top(lt.y), right(rb.x), bottom(rb.y) { 53 left = top = right = bottom = 0; 72 return right-left; 86 right = rb.x; 95 return Point(right, bottom); 98 return Point(right, top); 107 (right [all...] |
/frameworks/policies/base/phone/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); 100 int left, right; 104 right = chld.right + bkg.right; 108 right = getRight(); 110 background.setBounds(left, top, right, bottom); 140 r.bottom = r.right [all...] |
/frameworks/base/media/libdrm/mobile2/include/rights/ |
H A D | Right.h | 39 * Add the asset id related with right into asset name list. 45 * Add a operation permission into right's operation permission list. 58 * Test whether the right has specific operation type or not. 75 Right& operator=(const Right& right); 80 Right(const Right& right);
|
/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/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/base/services/java/com/android/server/status/ |
H A D | ExpandedView.java | 49 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 50 super.onLayout(changed, left, top, right, bottom);
|
H A D | TrackingView.java | 40 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 41 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/android/text/method/ |
H A D | Touch.java | 46 int right = 0; 51 right = (int) Math.max(right, layout.getLineRight(i)); 62 if (right - left < width - padding) { 64 diff = (width - padding - (right - left)) / 2; 66 diff = width - padding - (right - left); 70 x = Math.min(x, right - (width - padding) - diff); 85 int right = 0; 88 right = (int) Math.max(right, layou [all...] |
H A D | ScrollingMovementMethod.java | 61 * Scrolls the text to the right if possible. 63 protected boolean right(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod 75 int right = 0; 78 right = (int) Math.max(right, layout.getLineRight(i)); 82 if (scr < right - (widget.getWidth() - padding)) { 83 int s = Math.min(scr + em, right - (widget.getWidth() - padding)); 159 handled |= right(widget, buffer);
|
/frameworks/base/include/private/ui/ |
H A D | RegionHelper.h | 81 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | LayoutResult.java | 85 public LayoutViewInfo(String name, Object key, int left, int top, int right, int bottom) { argument 89 mRight = right;
|
/frameworks/base/core/java/android/widget/ |
H A D | CheckedTextView.java | 143 public void setPadding(int left, int top, int right, int bottom) { argument 144 super.setPadding(left, top, right, bottom); 168 int right = getWidth(); 170 right - mCheckMarkWidth - mBasePaddingRight, 172 right - mBasePaddingRight,
|
H A D | HorizontalScrollView.java | 590 * if leftFocus is true, or at the right of the bounds if leftFocus 625 * if leftFocus is true, or at the right of the bounds if 629 * @param right the right offset of the bounds in which a focusable must 634 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { argument 641 * left, and its right is above the bound's right. A partially 654 if (left < viewRight && viewLeft < right) { 661 (viewRight < right); 703 * method will scroll the view by one page left or right an 780 scrollAndFocus(int direction, int left, int right) argument [all...] |
/frameworks/base/awt/java/awt/geom/ |
H A D | QuadCurve2D.java | 722 * @param right 723 * the QuadCurve2D where the right (end) segment's data is 728 public void subdivide(QuadCurve2D left, QuadCurve2D right) { argument 729 subdivide(this, left, right); 743 * @param right 744 * the QuadCurve2D where the right (end) segment's data is 749 public static void subdivide(QuadCurve2D src, QuadCurve2D left, QuadCurve2D right) { argument 765 if (right != null) { 766 right.setCurve(cx, cy, cx2, cy2, x2, y2); 785 * @param right 796 subdivide(double src[], int srcoff, double left[], int leftOff, double right[], int rightOff) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path.java | 188 bounds.right = (float)rect.getMaxX(); 404 addRect(rect.left, rect.top, rect.right, rect.bottom, dir); 412 * @param right The right side of a rectangle to add to the path 416 public void addRect(float left, float top, float right, float bottom, argument 422 lineTo(right, top); 423 lineTo(right, bottom); 428 lineTo(right, bottom); 429 lineTo(right, top); 499 * two radius values [X, Y]. The corners are ordered top-left, top-right, [all...] |
/frameworks/base/media/libstagefright/codecs/avc/dec/include/ |
H A D | pvavcdecoder.h | 39 virtual void GetVideoDimensions(int32 *width, int32 *height, int32 *top, int32 *left, int32 *bottom, int32 *right);
|