Searched refs:left (Results 1 - 25 of 296) sorted by relevance

1234567891011>>

/frameworks/base/test-runner/src/junit/runner/
H A DSorter.java15 public void swap(Vector values, int left, int right); argument
18 public static void sortStrings(Vector values , int left, int right, Swapper swapper) { argument
19 int oleft= left;
21 String mid= (String)values.elementAt((left + right) / 2);
23 while (((String)(values.elementAt(left))).compareTo(mid) < 0)
24 left++;
27 if (left <= right) {
28 swapper.swap(values, left, right);
29 left++;
32 } while (left <
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DRect.java28 * 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).
34 public int left; field in class:Rect
49 * checking is performed, so the caller must ensure that left <= right and
52 * @param left The X coordinate of the left side of the rectagle
57 public Rect(int left, int top, int right, int bottom) { argument
58 this.left = left;
66 * rectangle (which is left unmodifie
235 set(int left, int top, int right, int bottom) argument
327 contains(int left, int top, int right, int bottom) argument
369 intersect(int left, int top, int right, int bottom) argument
442 intersects(int left, int top, int right, int bottom) argument
472 union(int left, int top, int right, int bottom) argument
[all...]
H A DRectF.java28 * 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).
34 public float left; field in class:RectF
46 * checking is performed, so the caller must ensure that left <= right and
49 * @param left The X coordinate of the left side of the rectagle
54 public RectF(float left, float top, float right, float bottom) { argument
55 this.left = left;
63 * rectangle (which is left unmodifie
172 set(float left, float top, float right, float bottom) argument
277 contains(float left, float top, float right, float bottom) argument
319 intersect(float left, float top, float right, float bottom) argument
392 intersects(float left, float top, float right, float bottom) argument
441 union(float left, float top, float right, float bottom) argument
[all...]
H A DYuvImage.java28 * region by left, top, width and height.
139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top);
182 int[] calculateOffsets(int left, int top) { argument
185 offsets = new int[] {top * mStrides[0] + left,
187 + left / 2 * 2 };
192 offsets = new int[] {top * mStrides[0] + left / 2 * 4};
218 // Make sure left, top, width and height are all even.
221 rect.left &= ~1;
223 rect.right = rect.left + width;
228 // Make sure left an
[all...]
H A DRegion.java64 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
69 public Region(int left, int top, int right, int bottom) { argument
71 nativeSetRect(mNativeRegion, left, top, right, bottom);
89 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
94 public boolean set(int left, int top, int right, int bottom) { argument
95 return nativeSetRect(mNativeRegion, left, top, right, bottom);
174 return quickContains(r.left, r.top, r.right, r.bottom);
183 public native boolean quickContains(int left, int top, int right, argument
192 return quickReject(r.left, r.top, r.right, r.bottom);
200 public native boolean quickReject(int left, in argument
259 op(int left, int top, int right, int bottom, Op op) argument
371 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
379 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
H A DLargeBitmap.java64 if (rect.left < 0 || rect.top < 0 || rect.right > getWidth() || rect.bottom > getHeight())
66 return nativeDecodeRegion(mNativeLargeBitmap, rect.left, rect.top,
67 rect.right - rect.left, rect.bottom - rect.top, options);
/frameworks/base/media/libeffects/lvm/lib/Common/src/
H A DFrom2iToMS_16x16.c33 LVM_INT32 temp1,left,right; local
37 left = (LVM_INT32)*src;
44 temp1 = (left+right)>>1;
49 temp1 = (left-right)>>1;
/frameworks/compile/linkloader/tests/images/
H A Dsimple-test.c26 unsigned int left = 0; local
32 printf("Please input a number [%d-%d]:\n", left, right);
38 if (user < left || user > right) {
45 left = user;
/frameworks/base/libs/hwui/
H A DRect.h36 tmp.left = max(left, l);
44 float left; member in class:android::uirenderer::Rect
56 left(0),
62 inline Rect(float left, float top, float right, float bottom): argument
63 left(left),
70 left(0.0f),
85 left = top = right = bottom = 0.0f;
91 return !((left < righ
98 set(float left, float top, float right, float bottom) argument
[all...]
H A DOpenGLRenderer.h68 virtual void prepareDirty(float left, float top, float right, float bottom, bool opaque);
82 virtual int saveLayer(float left, float top, float right, float bottom,
84 virtual int saveLayerAlpha(float left, float top, float right, float bottom,
97 ANDROID_API bool quickReject(float left, float top, float right, float bottom);
98 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
104 virtual void drawBitmap(SkBitmap* bitmap, float left, float top, SkPaint* paint);
113 float left, float top, float right, float bottom, SkPaint* paint);
115 virtual void drawRect(float left, float top, float right, float bottom, SkPaint* paint);
116 virtual void drawRoundRect(float left, float top, float right, float bottom,
119 virtual void drawOval(float left, floa
[all...]
/frameworks/base/libs/ui/
H A DRect.cpp30 left = 0;
41 if (left < rhs.left) {
43 } else if (left == rhs.left) {
58 right -= left - x;
60 left = x;
67 left += x;
76 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y);
82 const Rect result(left
[all...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DRunData.java31 public int left, top, right, bottom; field in class:RunData.TileData
36 public TileData(int left, int top, int right, int bottom, argument
38 this.left = left;
48 return "Tile (" + left + "," + top + ")->("
/frameworks/base/core/java/android/view/
H A DGravity.java32 /** Raw bit controlling how the left/top edge is placed. */
49 /** Push object to the left of its container, not changing its size. */
176 * the left; if gravity is CENTER_HORIZONTAL it pushes it to the
177 * right or left; otherwise it is ignored.
189 outRect.left = container.left
190 + ((container.right - container.left - w)/2) + xAdj;
191 outRect.right = outRect.left + w;
194 if (outRect.left < container.left) {
[all...]
H A DFocusFinder.java78 // make up a rect at top left or bottom right of root
200 * @param direction the direction (up, down, left, right)
257 // for example, for direction left, if rect1 is to the left of the source
289 * checks whether the dest is at least partially to the direction of (e.g left of)
298 return (srcRect.right > destRect.right || srcRect.left >= destRect.right)
299 && srcRect.left > destRect.left;
301 return (srcRect.left < destRect.left || srcRec
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A 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);
540 h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum) argument
622 h264bsdIntra16x16Prediction(mbStorage_t *pMb, u8 *data, i32 residual[][16], u8 *above, u8 *left, u32 constrainedIntraPred) argument
696 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *above, u8 *left, u32 constrainedIntraPred) argument
840 h264bsdIntraChromaPrediction(mbStorage_t *pMb, u8 *data, i32 residual[][16], u8 *above, u8 *left, u32 predMode, u32 constrainedIntraPred) argument
1026 Intra16x16HorizontalPrediction(u8 *data, u8 *left) argument
1057 Intra16x16DcPrediction(u8 *data, u8 *above, u8 *left, u32 availableA, u32 availableB) argument
1108 Intra16x16PlanePrediction(u8 *data, u8 *above, u8 *left) argument
1155 IntraChromaDcPrediction(u8 *data, u8 *above, u8 *left, u32 availableA, u32 availableB) argument
1253 IntraChromaHorizontalPrediction(u8 *data, u8 *left) argument
1323 IntraChromaPlanePrediction(u8 *data, u8 *above, u8 *left) argument
1383 Get4x4NeighbourPels(u8 *a, u8 *l, u8 *data, u8 *above, u8 *left, u32 blockNum) argument
1520 Intra4x4HorizontalPrediction(u8 *data, u8 *left) argument
1552 Intra4x4DcPrediction(u8 *data, u8 *above, u8 *left, u32 availableA, u32 availableB) argument
1645 Intra4x4DiagonalDownRightPrediction(u8 *data, u8 *above, u8 *left) argument
1683 Intra4x4VerticalRightPrediction(u8 *data, u8 *above, u8 *left) argument
1722 Intra4x4HorizontalDownPrediction(u8 *data, u8 *above, u8 *left) argument
1798 Intra4x4HorizontalUpPrediction(u8 *data, u8 *left) argument
[all...]
H A Dh264bsd_intra_prediction.h56 u8 *above, u8 *left, u32 constrainedIntraPred);
58 u8 *above, u8 *left, u32 constrainedIntraPred);
61 u8 *above, u8 *left, u32 predMode, u32 constrainedIntraPred);
63 void h264bsdGetNeighbourPels(image_t *image, u8 *above, u8 *left, u32 mbNum);
/frameworks/base/native/include/android/
H A Drect.h29 int32_t left; member in struct:ARect
/frameworks/base/include/ui/
H A DRect.h38 left = top = 0; right = w; bottom = h;
41 left = l; top = t; right = r; bottom = b;
44 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y;
50 left = top = right = bottom = 0;
69 return right-left;
78 left = lt.x;
89 return Point(left, top);
98 return Point(left, bottom);
103 return (left == rhs.left)
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsBackground.java61 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);
106 int left, right;
109 left = chld.left - bkg.left;
113 left = 0;
116 background.setBounds(left, top, right, bottom);
145 r.left
[all...]
/frameworks/base/core/java/android/text/style/
H A DLineBackgroundSpan.java26 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/media/java/android/media/videoeditor/
H A DEffectKenBurns.java96 start.left = getStartRect().left;
100 end.left = getEndRect().left;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java78 final int left = (getWidth() - width) / 2;
84 mPatch3.setBounds(left, top, left + height, top + width);
89 mPatch1.setBounds(left, top, left + width, top + height);
95 mPatch2.setBounds(left, top, left + width, top + height);
/frameworks/base/services/java/com/android/server/wm/
H A DBlackFrame.java31 final int left; field in class:BlackFrame.BlackSurface
37 left = l;
51 mTmpMatrix.setTranslate(left, top);
60 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): ("
86 outer.left, outer.top, inner.right, inner.top);
88 if (outer.left < inner.left) {
90 outer.left, inner.top, inner.left, outer.bottom);
94 inner.left, inne
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandedView.java44 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
45 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DFocusAfterRemoval.java38 final LinearLayout left = (LinearLayout) findViewById(R.id.leftLayout);
40 // top left makes parent layout GONE
45 left.setVisibility(View.GONE);
49 // bottom left makes parent layout INVISIBLE
50 // top left makes parent layout GONE
55 left.setVisibility(View.INVISIBLE);

Completed in 2473 milliseconds

1234567891011>>