Home
last modified time | relevance | path

Searched refs:left (Results 1 – 25 of 610) sorted by relevance

12345678910>>...25

/frameworks/base/graphics/java/android/graphics/
DRectF.java34 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()
70 left = top = right = bottom = 0.0f; in RectF()
72 left = r.left; in RectF()
81 left = top = right = bottom = 0.0f; in RectF()
83 left = r.left; in RectF()
96 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals()
101 int result = (left != +0.0f ? Float.floatToIntBits(left) : 0); in hashCode()
109 return "RectF(" + left + ", " + top + ", " in toString()
[all …]
DRect.java34 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()
73 left = top = right = bottom = 0; in Rect()
75 left = r.left; in Rect()
88 return left == r.left && top == r.top && right == r.right && bottom == r.bottom; in equals()
93 int result = left; in hashCode()
103 sb.append("Rect("); sb.append(left); sb.append(", "); in toString()
122 sb.append('['); sb.append(left); sb.append(','); in toShortString()
140 sb.append(left); in flattenToString()
[all …]
DInsets.java31 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()
DRegion.java64 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 …]
DYuvImage.java139 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/
Dh264bsd_intra_prediction.c162 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 …]
Dh264bsd_deblocking.c134 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/
DRect.h33 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 …]
DSnapshot.cpp87 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 …]
DOpenGLRenderer.h113 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);
173 virtual status_t drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint);
178 virtual status_t drawBitmapData(SkBitmap* bitmap, float left, float top, SkPaint* paint);
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);
[all …]
DOpenGLRenderer.cpp172 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()
239 mCaches.startTiling(clip->left, s->height - clip->bottom, in startTiling()
240 clip->right - clip->left, clip->bottom - clip->top, opaque); in startTiling()
394 info.clipLeft = clip.left; in callDrawGLFunction()
449 mCaches.setScissor(clip->left, mTilingSnapshot->height - clip->bottom, in renderOverdraw()
[all …]
/frameworks/native/libs/ui/
DRect.cpp31 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/test-runner/src/junit/runner/
DSorter.java15 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/base/core/java/android/view/
DGravity.java190 outRect.left = container.left in apply()
191 + ((container.right - container.left - w)/2) + xAdj; in apply()
192 outRect.right = outRect.left + w; in apply()
195 if (outRect.left < container.left) { in apply()
196 outRect.left = container.left; in apply()
204 outRect.left = container.left + xAdj; in apply()
205 outRect.right = outRect.left + w; in apply()
215 outRect.left = outRect.right - w; in apply()
218 if (outRect.left < container.left) { in apply()
219 outRect.left = container.left; in apply()
[all …]
DGLES20Canvas.java174 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
438 return nClipRect(mRenderer, mPathBounds.left, mPathBounds.top, in clipPath()
446 return nClipRect(mRenderer, mPathBounds.left, mPathBounds.top, 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()
455 private static native boolean nClipRect(int renderer, float left, float top, 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 …]
/frameworks/native/include/ui/
DRect.h39 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()
86 left = lt.x; in setLeftTop()
97 return Point(left, top); in leftTop()
106 return Point(left, bottom); in leftBottom()
111 return (left == rhs.left) && (top == rhs.top) &&
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/
DRecentApplicationsBackground.java61 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/
DSampleTable.cpp526 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/7/
Dstylesheet-jdiff.css8 …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/6/
Dstylesheet-jdiff.css8 …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/
Dstylesheet-jdiff.css8 …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/13/
Dstylesheet-jdiff.css8 …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/
Dstylesheet-jdiff.css8 …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/5/
Dstylesheet-jdiff.css8 …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/
Dstylesheet-jdiff.css8 …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;}

12345678910>>...25