/frameworks/base/graphics/java/android/graphics/ |
D | RectF.java | 34 public float left; field in RectF 54 public RectF(float left, float top, float right, float bottom) { in RectF() argument 55 this.left = left; in RectF() 69 left = r.left; in RectF() 76 left = r.left; in RectF() 88 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals() 93 int result = (left != +0.0f ? Float.floatToIntBits(left) : 0); in hashCode() 101 return "RectF(" + left + ", " + top + ", " in toString() 118 sb.append('['); sb.append(left); sb.append(','); in toShortString() 129 pw.print('['); pw.print(left); pw.print(','); in printShortString() [all …]
|
D | Rect.java | 34 public int left; field in Rect 57 public Rect(int left, int top, int right, int bottom) { in Rect() argument 58 this.left = left; in Rect() 72 left = r.left; in Rect() 84 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals() 89 int result = left; in hashCode() 99 sb.append("Rect("); sb.append(left); sb.append(", "); in toString() 118 sb.append('['); sb.append(left); sb.append(','); in toShortString() 136 sb.append(left); in flattenToString() 166 pw.print('['); pw.print(left); pw.print(','); in printShortString() [all …]
|
D | Insets.java | 31 public final int left; field in Insets 36 private Insets(int left, int top, int right, int bottom) { in Insets() argument 37 this.left = left; 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() 89 if (left != insets.left) return false; in equals() 98 int result = left; in hashCode() 108 "left=" + left + 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 …]
|
D | YuvImage.java | 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); in compressToJpeg() 182 int[] calculateOffsets(int left, int top) { in calculateOffsets() argument 185 offsets = new int[] {top * mStrides[0] + left, in calculateOffsets() 187 + left / 2 * 2 }; in calculateOffsets() 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; in calculateOffsets() 221 rect.left &= ~1; in adjustRectangle() 223 rect.right = rect.left + width; in adjustRectangle() 230 rect.left &= ~1; in adjustRectangle() 231 rect.right = rect.left + width; in adjustRectangle()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
D | h264bsd_intra_prediction.c | 162 static void Get4x4NeighbourPels(u8 *a, u8 *l, u8 *data, u8 *above, u8 *left, 165 static void Intra16x16HorizontalPrediction(u8 *data, u8 *left); 166 static void Intra16x16DcPrediction(u8 *data, u8 *above, u8 *left, 168 static void Intra16x16PlanePrediction(u8 *data, u8 *above, u8 *left); 169 static void IntraChromaDcPrediction(u8 *data, u8 *above, u8 *left, 171 static void IntraChromaHorizontalPrediction(u8 *data, u8 *left); 173 static void IntraChromaPlanePrediction(u8 *data, u8 *above, u8 *left); 176 static void Intra4x4HorizontalPrediction(u8 *data, u8 *left); 177 static void Intra4x4DcPrediction(u8 *data, u8 *above, u8 *left, u32 A, u32 B); 179 static void Intra4x4DiagonalDownRightPrediction(u8 *data, u8 *above, u8 *left); [all …]
|
D | h264bsd_deblocking.c | 134 u32 left; member 1177 bS[0].left = bS[4].left = bS[8].left = bS[12].left = 4; in GetBoundaryStrengths() 1182 bS[0].left = EdgeBoundaryStrength(mb, mb->mbA, 0, 5); in GetBoundaryStrengths() 1183 bS[4].left = EdgeBoundaryStrength(mb, mb->mbA, 2, 7); in GetBoundaryStrengths() 1184 bS[8].left = EdgeBoundaryStrength(mb, mb->mbA, 8, 13); in GetBoundaryStrengths() 1185 bS[12].left = EdgeBoundaryStrength(mb, mb->mbA, 10, 15); in GetBoundaryStrengths() 1187 (bS[0].left || bS[4].left || bS[8].left || bS[12].left)) in GetBoundaryStrengths() 1193 bS[0].left = bS[4].left = bS[8].left = bS[12].left = 0; in GetBoundaryStrengths() 1203 bS[1].left = bS[2].left = bS[3].left = in GetBoundaryStrengths() 1204 bS[5].left = bS[6].left = bS[7].left = in GetBoundaryStrengths() [all …]
|
/frameworks/base/libs/hwui/ |
D | Rect.h | 33 float left; 45 left(0), in Rect() 51 inline Rect(float left, float top, float right, float bottom): in Rect() argument 52 left(left), in Rect() 59 left(0.0f), 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 88 this->left = left; in set() [all …]
|
D | Snapshot.cpp | 87 android::Rect tmp(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom); in ensureClipRegion() 97 clipRect->set(bounds.left, bounds.top, bounds.right, bounds.bottom); in copyClipRectFromRegion() 110 bool Snapshot::clipRegionOr(float left, float top, float right, float bottom) { in clipRegionOr() argument 112 android::Rect tmp(left, top, right, bottom); in clipRegionOr() 121 bool Snapshot::clipRegionXor(float left, float top, float right, float bottom) { in clipRegionXor() argument 123 android::Rect tmp(left, top, right, bottom); in clipRegionXor() 132 bool Snapshot::clipRegionAnd(float left, float top, float right, float bottom) { in clipRegionAnd() argument 134 android::Rect tmp(left, top, right, bottom); in clipRegionAnd() 143 bool Snapshot::clipRegionNand(float left, float top, float right, float bottom) { in clipRegionNand() argument 145 android::Rect tmp(left, top, right, bottom); in clipRegionNand() [all …]
|
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); 115 virtual status_t drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint); 120 virtual status_t drawBitmapData(SkBitmap* bitmap, float left, float top, SkPaint* paint); 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, [all …]
|
D | OpenGLRenderer.cpp | 171 int OpenGLRenderer::prepareDirty(float left, float top, float right, float bottom, bool opaque) { in prepareDirty() argument 179 mSnapshot->setClip(left, top, right, bottom); in prepareDirty() 185 mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top); in prepareDirty() 333 info.clipLeft = clip.left; in callDrawGLFunction() 398 glViewport(r.left, r.top, r.right, r.bottom); in restoreSnapshot() 420 int OpenGLRenderer::saveLayer(float left, float top, float right, float bottom, in saveLayer() argument 444 createLayer(mSnapshot, left, top, right, bottom, alpha, mode, flags, previousFbo); in saveLayer() 450 int OpenGLRenderer::saveLayerAlpha(float left, float top, float right, float bottom, in saveLayerAlpha() argument 453 return saveLayer(left, top, right, bottom, NULL, flags); in saveLayerAlpha() 457 return saveLayer(left, top, right, bottom, &paint, flags); in saveLayerAlpha() [all …]
|
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);
|
/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 19 int oleft= left; in sortStrings() 21 String mid= (String)values.elementAt((left + right) / 2); in sortStrings() 23 while (((String)(values.elementAt(left))).compareTo(mid) < 0) in sortStrings() 24 left++; in sortStrings() 27 if (left <= right) { in sortStrings() 28 swapper.swap(values, left, right); in sortStrings() 29 left++; in sortStrings() 32 } while (left <= right); in sortStrings() [all …]
|
/frameworks/native/libs/ui/ |
D | Rect.cpp | 31 left = 0; in makeInvalid() 42 if (left < rhs.left) { in operator <() 44 } else if (left == rhs.left) { in operator <() 59 right -= left - x; in offsetTo() 61 left = x; in offsetTo() 68 left += 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 -() 89 result->left = max(left, with.left); in intersect() 100 width - result.left, result.bottom); in transform() [all …]
|
/frameworks/base/core/java/android/view/ |
D | Gravity.java | 191 outRect.left = container.left in apply() 192 + ((container.right - container.left - w)/2) + xAdj; in apply() 193 outRect.right = outRect.left + w; in apply() 196 if (outRect.left < container.left) { in apply() 197 outRect.left = container.left; in apply() 205 outRect.left = container.left + xAdj; in apply() 206 outRect.right = outRect.left + w; in apply() 216 outRect.left = outRect.right - w; in apply() 219 if (outRect.left < container.left) { in apply() 220 outRect.left = container.left; in apply() [all …]
|
D | GLES20Canvas.java | 161 int left, int top, int right, int bottom); in nUpdateRenderLayer() argument 220 return nPrepareDirty(mRenderer, dirty.left, dirty.top, dirty.right, dirty.bottom, in onPreDraw() 228 private static native int nPrepareDirty(int renderer, int left, int top, int right, int bottom, in nPrepareDirty() argument 427 return nClipRect(mRenderer, mPathBounds.left, mPathBounds.top, in clipPath() 435 return nClipRect(mRenderer, mPathBounds.left, mPathBounds.top, in clipPath() 440 public boolean clipRect(float left, float top, float right, float bottom) { in clipRect() argument 441 return nClipRect(mRenderer, left, top, right, bottom, Region.Op.INTERSECT.nativeInt); in clipRect() 444 private static native boolean nClipRect(int renderer, float left, float top, in nClipRect() argument 448 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { in clipRect() argument 449 return nClipRect(mRenderer, left, top, right, bottom, op.nativeInt); in clipRect() [all …]
|
/frameworks/native/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 getWidth() 78 return Rect(right-left, bottom-top); in getBounds() 85 left = lt.x; in setLeftTop() 96 return Point(left, top); in leftTop() 105 return Point(left, bottom); in leftBottom() 110 return (left == rhs.left) && (top == rhs.top) && [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 109 left = chld.left - bkg.left; in draw() 113 left = 0; in draw() 116 background.setBounds(left, top, right, bottom); in draw() 145 r.left = r.top = Integer.MAX_VALUE; in getChildBounds() 151 r.left = Math.min(r.left, v.getLeft()); in getChildBounds()
|
/frameworks/av/media/libstagefright/ |
D | SampleTable.cpp | 526 uint32_t left = 0; in findSampleAtTime() local 528 while (left < right) { in findSampleAtTime() 529 uint32_t center = (left + right) / 2; in findSampleAtTime() 535 left = center + 1; in findSampleAtTime() 537 left = center; in findSampleAtTime() 542 if (left == mNumSampleSizes) { in findSampleAtTime() 547 --left; in findSampleAtTime() 550 uint32_t closestIndex = left; in findSampleAtTime() 620 uint32_t left = 0; in findSyncSampleNear() local 622 while (left < right) { in findSyncSampleNear() [all …]
|
/frameworks/base/docs/html/sdk/api_diff/6/ |
D | stylesheet-jdiff.css | 8 …color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1… 9 …r:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;pa… 10 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 11 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 21 padding-left:1em;} 24 padding-left:1em;}
|
/frameworks/base/docs/html/sdk/api_diff/14/ |
D | stylesheet-jdiff.css | 8 …color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1… 9 …r:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;pa… 10 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 11 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 21 padding-left:1em;} 24 padding-left:1em;}
|
/frameworks/base/docs/html/sdk/api_diff/15/ |
D | stylesheet-jdiff.css | 8 …color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1… 9 …r:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;pa… 10 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 11 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 21 padding-left:1em;} 24 padding-left:1em;}
|
/frameworks/base/docs/html/sdk/api_diff/16/ |
D | stylesheet-jdiff.css | 8 …color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1… 9 …r:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;pa… 10 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 11 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 21 padding-left:1em;} 24 padding-left:1em;}
|
/frameworks/base/docs/html/sdk/api_diff/11/ |
D | stylesheet-jdiff.css | 8 …color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1… 9 …r:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;pa… 10 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 11 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 21 padding-left:1em;} 24 padding-left:1em;}
|
/frameworks/base/docs/html/sdk/api_diff/4/ |
D | stylesheet-jdiff.css | 8 …color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;padding-left:1px;padding-right:1… 9 …r:white;border:0px;font-size:80%;font-style:normal;text-align:left;padding:0px;padding-left:1px;pa… 10 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 11 …:white;border:0px;font-size:80%;font-weight:normal;text-align:left;padding:0px;padding-left:1px;pa… 21 padding-left:1em;} 24 padding-left:1em;}
|