/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 34 public float right; field in RectF 52 public RectF(float left, float top, float right, float bottom) { in RectF() argument 55 this.right = right; in RectF() 69 right = r.right; in RectF() 76 right = r.right; in RectF() 82 + right + ", " + bottom + ")"; in toString() 89 return left >= right || top >= bottom; in isEmpty() 97 return right - left; in width() 113 return (left + right) * 0.5f; in centerX() 128 left = right = top = bottom = 0; in setEmpty() [all …]
|
D | Rect.java | 36 public int right; field in Rect 57 public Rect(int left, int top, int right, int bottom) { in Rect() argument 60 this.right = right; in Rect() 74 right = r.right; in Rect() 82 return left == r.left && top == r.top && right == r.right in equals() 92 sb.append(top); sb.append(" - "); sb.append(right); in toString() 111 sb.append(top); sb.append("]["); sb.append(right); in toShortString() 132 sb.append(right); in flattenToString() 159 pw.print(top); pw.print("]["); pw.print(right); in printShortString() 167 return left >= right || top >= bottom; in isEmpty() [all …]
|
D | Region.java | 56 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); in Region() 61 public Region(int left, int top, int right, int bottom) { in Region() argument 63 nativeSetRect(mNativeRegion, left, top, right, bottom); in Region() 81 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); in set() 86 public boolean set(int left, int top, int right, int bottom) { in set() argument 87 return nativeSetRect(mNativeRegion, left, top, right, bottom); in set() 166 return quickContains(r.left, r.top, r.right, r.bottom); in quickContains() 175 public native boolean quickContains(int left, int top, int right, in quickContains() argument 184 return quickReject(r.left, r.top, r.right, r.bottom); in quickReject() 192 public native boolean quickReject(int left, int top, int right, int bottom); in quickReject() argument [all …]
|
/frameworks/base/test-runner/src/junit/runner/ |
D | Sorter.java | 15 public void swap(Vector values, int left, int right); in swap() argument 18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { in sortStrings() argument 20 int oright= right; in sortStrings() 21 String mid= (String)values.elementAt((left + right) / 2); in sortStrings() 25 while (mid.compareTo((String)(values.elementAt(right))) < 0) in sortStrings() 26 right--; in sortStrings() 27 if (left <= right) { in sortStrings() 28 swapper.swap(values, left, right); in sortStrings() 30 right--; in sortStrings() 32 } while (left <= right); in sortStrings() [all …]
|
/frameworks/base/core/java/android/view/ |
D | Gravity.java | 153 + ((container.right - container.left - w)/2) + xAdj; in apply() 154 outRect.right = outRect.left + w; in apply() 160 if (outRect.right > container.right) { in apply() 161 outRect.right = container.right; in apply() 167 outRect.right = outRect.left + w; in apply() 170 if (outRect.right > container.right) { in apply() 171 outRect.right = container.right; in apply() 176 outRect.right = container.right - xAdj; in apply() 177 outRect.left = outRect.right - w; in apply() 187 outRect.right = container.right + xAdj; in apply() [all …]
|
D | FocusFinder.java | 251 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 254 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 255 && srcRect.right < destRect.right; in isCandidate() 282 return (rect2.right >= rect1.left) && (rect2.left <= rect1.right); in beamsOverlap() 294 return src.left >= dest.right; in isToDirectionOf() 296 return src.right <= dest.left; in isToDirectionOf() 318 return source.left - dest.right; in majorAxisDistanceRaw() 320 return dest.left - source.right; in majorAxisDistanceRaw() 345 return dest.right - source.right; in majorAxisDistanceToFarEdgeRaw() 421 distance = x - touchableBounds.right + 1; in findNearestTouchable() [all …]
|
/frameworks/base/libs/ui/ |
D | Rect.cpp | 32 right = -1; in makeInvalid() 47 if (right<rhs.right) { in operator <() 58 right -= left - x; in offsetTo() 69 right+= x; in offsetBy() 76 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y); in operator +() 82 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y); in operator -() 90 result->right = min(right, with.right); in intersect()
|
D | Region.cpp | 250 bounds.right = INT_MIN; in rasterizer() 266 bounds.right = 0; in ~rasterizer() 276 } else if (cur->right == rect.left) { in operator ()() 277 cur->right = rect.right; in operator ()() 297 if ((p->left != q->left) || (p->right != q->right)) { in flushSpan() 314 bounds.right = max(span.top().right, bounds.right); in flushSpan() 333 b.right = b.right > cur->right ? b.right : cur->right; in validate() 339 } else if (cur->left < prev->right) { in validate() 355 b.left, b.top, b.right, b.bottom, in validate() 357 reg.getBounds().right, reg.getBounds().bottom); in validate() [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | RecentApplicationsBackground.java | 61 protected boolean setFrame(int left, int top, int right, int bottom) { in setFrame() argument 63 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { in setFrame() 66 return super.setFrame(left, top, right, bottom); in setFrame() 100 int left, right; in draw() local 104 right = chld.right + bkg.right; in draw() 108 right = getRight(); in draw() 110 background.setBounds(left, top, right, bottom); in draw() 140 r.bottom = r.right = Integer.MIN_VALUE; in getChildBounds() 147 r.right = Math.max(r.right, v.getRight()); in getChildBounds()
|
/frameworks/base/include/ui/ |
D | Rect.h | 38 left = top = 0; right = w; bottom = h; in Rect() 41 left = l; top = t; right = r; bottom = b; in Rect() 44 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y; in Rect() 50 left = top = right = bottom = 0; in clear() 69 return right-left; in width() 83 right = rb.x; in setRightBottom() 92 return Point(right, bottom); in rightBottom() 95 return Point(right, top); in rightTop() 104 (right == rhs.right) && (bottom == rhs.bottom); 116 right -= left; in offsetToOrigin()
|
/frameworks/base/include/utils/ |
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) [all …]
|
/frameworks/base/media/libeffects/lvm/lib/Common/src/ |
D | From2iToMS_16x16.c | 33 LVM_INT32 temp1,left,right; in From2iToMS_16x16() local 40 right = (LVM_INT32)*src; in From2iToMS_16x16() 44 temp1 = (left+right)>>1; in From2iToMS_16x16() 49 temp1 = (left-right)>>1; in From2iToMS_16x16()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 45 int right = 0; in scrollTo() local 50 right = (int) Math.max(right, layout.getLineRight(i)); in scrollTo() 61 if (right - left < width - padding) { in scrollTo() 63 diff = (width - padding - (right - left)) / 2; in scrollTo() 65 diff = width - padding - (right - left); in scrollTo() 69 x = Math.min(x, right - (width - padding) - diff); in scrollTo() 84 int right = 0; in getMaxScrollX() local 87 right = (int) Math.max(right, layout.getLineRight(i)); in getMaxScrollX() 89 return right - left - widget.getWidth() - widget.getTotalPaddingLeft() in getMaxScrollX()
|
D | ScrollingMovementMethod.java | 63 protected boolean right(TextView widget, Spannable buffer) { in right() method in ScrollingMovementMethod 75 int right = 0; in right() local 78 right = (int) Math.max(right, layout.getLineRight(i)); in right() 82 if (scr < right - (widget.getWidth() - padding)) { in right() 83 int s = Math.min(scr + em, right - (widget.getWidth() - padding)); in right() 159 handled |= right(widget, buffer); in executeDown()
|
/frameworks/base/include/private/ui/ |
D | RegionHelper.h | 81 TYPE left, right; in operator() local 82 int inside = spannerInner.next(current.left, current.right); in operator() 84 if (current.left < current.right && in operator() 225 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; in prepare() 232 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; in prepare() 235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; in prepare() 237 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; in prepare() 246 inline int next(TYPE& left, TYPE& right) in next() argument 250 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); in next() 262 void advance(region& reg, TYPE& left, TYPE& right) { in advance() argument [all …]
|
/frameworks/base/docs/html/sdk/api_diff/8/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/docs/html/sdk/api_diff/5/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/docs/html/sdk/api_diff/7/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/docs/html/sdk/api_diff/6/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/docs/html/sdk/api_diff/9/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/docs/html/sdk/api_diff/10/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/docs/html/sdk/api_diff/3/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/docs/html/sdk/api_diff/4/ |
D | stylesheet-jdiff.css | 4 div.and-diff-id {border: 1px solid #eee;position:relative;float:right;clear:both;padding:0px;} 8 …0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1px;text-align:cen… 9 …0%;font-style:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 10 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 11 …%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;padding-right:1px;line-height:.9… 12 …;font-size:80%;font-weight:normal;padding:1px;color:444;text-align:right;padding-right:.5em;line-h…
|
/frameworks/base/core/java/android/widget/ |
D | HorizontalScrollView.java | 573 final int right = getScrollRange(); in onTouchEvent() local 574 if (mScroller.springBack(mScrollX, mScrollY, 0, right, 0, 0)) { in onTouchEvent() 712 private View findFocusableViewInBounds(boolean leftFocus, int left, int right) { in findFocusableViewInBounds() argument 732 if (left < viewRight && viewLeft < right) { in findFocusableViewInBounds() 739 (viewRight < right); in findFocusableViewInBounds() 792 boolean right = direction == View.FOCUS_RIGHT; in pageScroll() 795 if (right) { in pageScroll() 810 mTempRect.right = mTempRect.left + width; in pageScroll() 812 return scrollAndFocus(direction, mTempRect.left, mTempRect.right); in pageScroll() 828 boolean right = direction == View.FOCUS_RIGHT; in fullScroll() [all …]
|
D | CheckedTextView.java | 143 public void setPadding(int left, int top, int right, int bottom) { in setPadding() argument 144 super.setPadding(left, top, right, bottom); in setPadding() 168 int right = getWidth(); in onDraw() local 170 right - mCheckMarkWidth - mBasePaddingRight, in onDraw() 172 right - mBasePaddingRight, in onDraw()
|