/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 36 public float right; field in RectF 54 public RectF(float left, float top, float right, float bottom) { in RectF() argument 57 this.right = right; in RectF() 70 left = top = right = bottom = 0.0f; in RectF() 74 right = r.right; in RectF() 81 left = top = right = bottom = 0.0f; in RectF() 85 right = r.right; in RectF() 96 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals() 103 result = 31 * result + (right != +0.0f ? Float.floatToIntBits(right) : 0); in hashCode() 110 + right + ", " + bottom + ")"; in toString() [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() 73 left = top = right = bottom = 0; in Rect() 77 right = r.right; in Rect() 88 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals() 95 result = 31 * result + right; in hashCode() 104 sb.append(top); sb.append(" - "); sb.append(right); in toString() 123 sb.append(top); sb.append("]["); sb.append(right); in toShortString() 144 sb.append(right); in flattenToString() [all …]
|
D | Insets.java | 33 public final int right; field in Insets 36 private Insets(int left, int top, int right, int bottom) { in Insets() argument 39 this.right = right; in Insets() 55 public static Insets of(int left, int top, int right, int bottom) { in of() argument 56 if (left == 0 && top == 0 && right == 0 && bottom == 0) { in of() 59 return new Insets(left, top, right, bottom); in of() 70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom); in of() 90 if (right != insets.right) return false; in equals() 100 result = 31 * result + right; in hashCode() 110 ", right=" + right + in toString()
|
D | Region.java | 64 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); in Region() 69 public Region(int left, int top, int right, int bottom) { in Region() argument 71 nativeSetRect(mNativeRegion, left, top, right, bottom); in Region() 89 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom); in set() 94 public boolean set(int left, int top, int right, int bottom) { in set() argument 95 return nativeSetRect(mNativeRegion, left, top, right, bottom); in set() 174 return quickContains(r.left, r.top, r.right, r.bottom); in quickContains() 183 public native boolean quickContains(int left, int top, int right, in quickContains() argument 192 return quickReject(r.left, r.top, r.right, r.bottom); in quickReject() 200 public native boolean quickReject(int left, int top, int right, int bottom); in quickReject() argument [all …]
|
/frameworks/base/libs/hwui/ |
D | Rect.h | 35 float right; variable 47 right(0), in Rect() 51 inline Rect(float left, float top, float right, float bottom): in Rect() argument 54 right(right), in Rect() 61 right(width), in Rect() 74 left = top = right = bottom = 0.0f; in clear() 80 return !((left < right) && (top < bottom)); in isEmpty() 84 left = top = right = bottom = 0.0f; in setEmpty() 87 inline void set(float left, float top, float right, float bottom) { in set() argument 89 this->right = right; in set() [all …]
|
D | Snapshot.cpp | 87 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); in ensureClipRegion() 109 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { in clipRegionOp() argument 112 tmp.set(left, top, right, bottom); in clipRegionOp() 121 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { in clip() argument 122 Rect r(left, top, right, bottom); in clip() 133 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op); in clipTransformed() 145 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kUnion_Op); in clipTransformed() 152 setClip(r.left, r.top, r.right, r.bottom); in clipTransformed() 158 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op); in clipTransformed() 170 void Snapshot::setClip(float left, float top, float right, float bottom) { in setClip() argument [all …]
|
D | OpenGLRenderer.h | 113 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque); 149 virtual int saveLayer(float left, float top, float right, float bottom, 151 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 164 ANDROID_API bool quickReject(float left, float top, float right, float bottom); 165 bool quickRejectNoScissor(float left, float top, float right, float bottom); 166 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); 183 float left, float top, float right, float bottom, SkPaint* paint); 186 float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode); 188 virtual status_t drawRect(float left, float top, float right, float bottom, SkPaint* paint); 189 virtual status_t drawRoundRect(float left, float top, float right, float bottom, [all …]
|
D | OpenGLRenderer.cpp | 172 status_t OpenGLRenderer::prepareDirty(float left, float top, float right, float bottom, in prepareDirty() argument 181 mSnapshot->setClip(left, top, right, bottom); in prepareDirty() 190 left <= 0.0f && top <= 0.0f && right >= mWidth && bottom >= mHeight) { in prepareDirty() 207 return clear(left, top, right, bottom, opaque); in prepareDirty() 210 status_t OpenGLRenderer::clear(float left, float top, float right, float bottom, bool opaque) { in clear() argument 213 mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top); in clear() 240 clip->right - clip->left, clip->bottom - clip->top, opaque); in startTiling() 396 info.clipRight = clip.right; in callDrawGLFunction() 450 clip->right - clip->left, clip->bottom - clip->top); in renderOverdraw() 479 renderer->prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, !layer->isBlend()); in updateLayer() [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 | 191 + ((container.right - container.left - w)/2) + xAdj; in apply() 192 outRect.right = outRect.left + w; in apply() 198 if (outRect.right > container.right) { in apply() 199 outRect.right = container.right; in apply() 205 outRect.right = outRect.left + w; in apply() 208 if (outRect.right > container.right) { in apply() 209 outRect.right = container.right; in apply() 214 outRect.right = container.right - xAdj; in apply() 215 outRect.left = outRect.right - w; in apply() 225 outRect.right = container.right + xAdj; in apply() [all …]
|
D | GLES20Canvas.java | 174 int left, int top, int right, int bottom); in nUpdateRenderLayer() argument 236 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, in onPreDraw() 244 private static native int nPrepareDirty(int renderer, int left, int top, int right, int bottom, in nPrepareDirty() argument 439 mPathBounds.right, mPathBounds.bottom, Region.Op.INTERSECT.nativeInt); in clipPath() 447 mPathBounds.right, mPathBounds.bottom, op.nativeInt); in clipPath() 451 public boolean clipRect(float left, float top, float right, float bottom) { in clipRect() argument 452 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect() 456 float right, float bottom, int op); in nClipRect() argument 459 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { in clipRect() argument 460 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); in clipRect() [all …]
|
D | FocusFinder.java | 384 return (srcRect.right > destRect.right || srcRect.left >= destRect.right) in isCandidate() 387 return (srcRect.left < destRect.left || srcRect.right <= destRect.left) in isCandidate() 388 && srcRect.right < destRect.right; in isCandidate() 415 return (rect2.right >= rect1.left) && (rect2.left <= rect1.right); in beamsOverlap() 427 return src.left >= dest.right; in isToDirectionOf() 429 return src.right <= dest.left; in isToDirectionOf() 451 return source.left - dest.right; in majorAxisDistanceRaw() 453 return dest.left - source.right; in majorAxisDistanceRaw() 478 return dest.right - source.right; in majorAxisDistanceToFarEdgeRaw() 554 distance = x - touchableBounds.right + 1; in findNearestTouchable() [all …]
|
/frameworks/native/libs/ui/ |
D | Rect.cpp | 33 right = -1; in makeInvalid() 48 if (right<rhs.right) { in operator <() 59 right -= left - x; in offsetTo() 70 right+= x; in offsetBy() 77 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y); in operator +() 83 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y); in operator -() 91 result->right = min(right, with.right); in intersect() 99 result = Rect(width - result.right, result.top, in transform() 104 result.right, height - result.top); in transform() 109 int right = height - result.top; in transform() local [all …]
|
/frameworks/native/include/ui/ |
D | Rect.h | 39 left = top = 0; right = w; bottom = h; in Rect() 42 left = l; top = t; right = r; bottom = b; in Rect() 45 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y; in Rect() 51 left = top = right = bottom = 0; in clear() 70 return right-left; in getWidth() 79 return Rect(right-left, bottom-top); in getBounds() 91 right = rb.x; in setRightBottom() 100 return Point(right, bottom); in rightBottom() 103 return Point(right, top); in rightTop() 112 (right == rhs.right) && (bottom == rhs.bottom); [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() 106 int left, right; in draw() local 110 right = chld.right + bkg.right; in draw() 114 right = getRight(); in draw() 116 background.setBounds(left, top, right, bottom); in draw() 146 r.bottom = r.right = Integer.MIN_VALUE; in getChildBounds() 153 r.right = Math.max(r.right, v.getRight()); in getChildBounds()
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | TreeBase.h | 22 NodeBase *right; variable 26 : left(0), right(0) in NodeBase() 74 { return (m_pNode->right == m_pNode); } in isRoot() 77 { return ((m_pNode->right) != (m_pNode->right->right)); } in hasRightChild() 80 { return ((m_pNode->left) != (m_pNode->left->right)); } in hasLeftChild() 97 { X = X->right; } 105 { X->right = const_cast<NodeBase*>(Y); }
|
D | BinTree.h | 40 m_Stack.push(m_pNode->right); in DFSIterator() 50 m_pNode = m_pNode->right; // should be root in advance() 56 m_Stack.push(m_pNode->right); in advance() 75 m_Queue.push(m_pNode->right); in BFSIterator() 85 m_pNode = m_pNode->right; // should be root in advance() 91 m_Queue.push(m_pNode->right); in advance() 225 { return (m_pNode->right == m_pNode); } in isRoot() 291 node.left = node.right = &node; in TreeImpl() 307 if ((*data).right == &pClient.node) in summon() 308 (*data).right = &node; in summon() [all …]
|
/frameworks/native/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/tests/TileBenchmark/src/com/test/tilebenchmark/ |
D | RunData.java | 31 public int left, top, right, bottom; field in RunData.TileData 36 public TileData(int left, int top, int right, int bottom, in TileData() argument 39 this.right = right; in TileData() 49 + right + "," + bottom + ")" in toString()
|
/frameworks/native/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() 235 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; in prepare() 244 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; in prepare() 249 SpannerBase::lhs_tail = lhs.rects->right + lhs.dx; in prepare() 253 SpannerBase::rhs_tail = rhs.rects->right + rhs.dx; in prepare() 263 inline int next(TYPE& left, TYPE& right) in next() argument 267 int inside = SpannerBase::next(left, right, more_lhs, more_rhs); in next() 279 void advance(region& reg, TYPE& left, TYPE& right) { in advance() argument [all …]
|
/frameworks/compile/linkloader/tests/images/ |
D | simple-test.c | 27 unsigned int right = 99; in main() local 32 printf("Please input a number [%d-%d]:\n", left, right); in main() 38 if (user < left || user > right) { in main() 47 right = user; in main()
|
/frameworks/av/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/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/11/ |
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…
|