Searched refs:top (Results 1 - 25 of 376) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
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).
35 public float top; field in class:RectF
47 * top <= bottom.
50 * @param top The Y coordinate of the top of the rectangle
54 public RectF(float left, float top, float right, float bottom) { argument
56 this.top = top;
70 left = top
198 set(float left, float top, float right, float bottom) argument
303 contains(float left, float top, float right, float bottom) argument
345 intersect(float left, float top, float right, float bottom) argument
418 intersects(float left, float top, float right, float bottom) argument
467 union(float left, float top, float right, float bottom) argument
[all...]
H A DInsets.java32 public final int top; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
38 this.top = top;
49 * @param top the top inset
55 public static Insets of(int left, int top, int right, int bottom) { argument
56 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
59 return new Insets(left, top, right, bottom);
70 return (r == null) ? NONE : of(r.left, r.top,
[all...]
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).
35 public int top; field in class:Rect
50 * top <= bottom.
53 * @param top The Y coordinate of the top of the rectangle
57 public Rect(int left, int top, int right, int bottom) { argument
59 this.top = top;
73 left = top
247 set(int left, int top, int right, int bottom) argument
339 contains(int left, int top, int right, int bottom) argument
380 intersect(int left, int top, int right, int bottom) argument
443 intersects(int left, int top, int right, int bottom) argument
471 union(int left, int top, int right, int 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,
186 mHeight * mStrides[0] + top / 2 * mStrides[1]
192 offsets = new int[] {top * mStrides[0] + left / 2 * 4};
218 // Make sure left, top, width and height are all even.
222 rect.top &= ~1;
224 rect.bottom = rect.top + height;
H A DRegion.java71 nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
76 public Region(int left, int top, int right, int bottom) { argument
78 nativeSetRect(mNativeRegion, left, top, right, bottom);
97 return nativeSetRect(mNativeRegion, r.left, r.top, r.right, r.bottom);
102 public boolean set(int left, int top, int right, int bottom) { argument
103 return nativeSetRect(mNativeRegion, left, top, right, bottom);
182 return quickContains(r.left, r.top, r.right, r.bottom);
191 public native boolean quickContains(int left, int top, int right, argument
200 return quickReject(r.left, r.top, r.right, r.bottom);
208 public native boolean quickReject(int left, int top, in argument
267 op(int left, int top, int right, int bottom, Op op) argument
411 nativeSetRect(int native_dst, int left, int top, int right, int bottom) argument
419 nativeOp(int native_dst, int left, int top, int right, int bottom, int op) argument
[all...]
/frameworks/native/libs/ui/
H A DRect.cpp32 top = 0;
39 if (top<rhs.top) {
41 } else if (top == rhs.top) {
60 bottom -= top - y;
62 top = y;
69 top += y;
77 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y);
83 const Rect result(left-rhs.x, top
108 int top = result.left; local
[all...]
/frameworks/base/libs/hwui/
H A DRect.h34 float top; member in class:android::uirenderer::Rect
46 top(0),
51 inline Rect(float left, float top, float right, float bottom): argument
53 top(top),
60 top(0.0f),
74 left = top = right = bottom = 0.0f;
80 return !((left < right) && (top < bottom));
84 left = top = right = bottom = 0.0f;
87 inline void set(float left, float top, floa argument
[all...]
H A DOpenGLRenderer.h161 * @param top The top coordinate of the dirty rectangle
168 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
204 ANDROID_API int saveLayer(float left, float top, float right, float bottom, argument
208 return saveLayer(left, top, right, bottom, paint ? paint->getAlpha() : 255, mode, flags);
210 ANDROID_API int saveLayerAlpha(float left, float top, float right, float bottom, argument
212 return saveLayer(left, top, right, bottom, alpha, SkXfermode::kSrcOver_Mode, flags);
214 virtual int saveLayer(float left, float top, float right, float bottom,
217 int saveLayerDeferred(float left, float top, float right, float bottom,
231 ANDROID_API bool quickReject(float left, float top, floa
371 drawScreenSpaceColorRect(float left, float top, float right, float bottom, int color) argument
[all...]
H A DSnapshot.cpp81 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom);
98 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument
100 tmp.set(left, top, right, bottom);
114 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument
115 Rect r(left, top, right, bottom);
127 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op);
138 setClip(r.left, r.top, r.right, r.bottom);
144 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op);
156 void Snapshot::setClip(float left, float top, float right, float bottom) { argument
157 clipRect->set(left, top, righ
178 resetClip(float left, float top, float right, float bottom) argument
[all...]
H A DSnapshot.h86 bool clip(float left, float top, float right, float bottom,
105 void setClip(float left, float top, float right, float bottom);
116 void resetClip(float left, float top, float right, float bottom);
237 bool clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op);
/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
40 this.top = top;
48 return "Tile (" + left + "," + top + ")->("
/frameworks/base/core/java/android/animation/
H A DRectEvaluator.java30 * (left, top, right, and bottom).
41 startValue.top + (int)((endValue.top - startValue.top) * fraction),
/frameworks/native/include/android/
H A Drect.h32 int32_t top; member in struct:ARect
/frameworks/base/core/java/android/view/
H A DIMagnificationCallbacks.aidl26 void onRectangleOnScreenRequested(int left, int top, int right, int bottom);
H A DGravity.java32 /** Raw bit controlling how the left/top edge is placed. */
45 /** Push object to the top of its container, not changing its size. */
231 outRect.top = container.top
232 + ((container.bottom - container.top - h)/2) + yAdj;
233 outRect.bottom = outRect.top + h;
236 if (outRect.top < container.top) {
237 outRect.top = container.top;
[all...]
/frameworks/native/include/ui/
H A DRect.h39 left = top = 0; right = w; bottom = h;
42 left = l; top = t; right = r; bottom = b;
45 left = lt.x; top = lt.y; right = rb.x; bottom = rb.y;
51 left = top = right = bottom = 0;
75 return bottom-top;
79 return Rect(right-left, bottom-top);
87 top = lt.y;
97 return Point(left, top);
103 return Point(right, top);
111 return (left == rhs.left) && (top
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardLinearLayout.java42 int top = indexOfChild(child);
43 mTopChild = top;
/frameworks/base/core/java/android/text/style/
H A DLineBackgroundSpan.java27 int top, int baseline, int bottom,
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.java97 start.top = getStartRect().top;
101 end.top = getEndRect().top;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java79 final int top = (getHeight() - height) / 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);
H A DPathDestructionActivity.java59 float left, top, right, bottom;
61 top = MathUtils.random(getHeight() - MIN_SIZE);
63 bottom = top + MathUtils.random(getHeight() - top);
65 path.moveTo(left, top);
66 path.lineTo(right, top);
/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);
101 final int top = chld.top - bkg.top;
116 background.setBounds(left, top, right, bottom);
145 r.left = r.top = Integer.MAX_VALUE;
152 r.top = Math.min(r.top,
[all...]
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java74 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
75 fmi.top, fmi.bottom);
80 * Ascent of top line and descent of bottom line are affected.
90 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
91 fmi.top, fmi.descent,
97 * First line ascent is top, bottom line descent is bottom.
108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
109 fmi.top, fmi.descent,
136 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
137 fmi.top, fm
311 assertLineMetrics(Layout l, int line, int top, int ascent, int descent, int height) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DEventHole.java83 View top = this;
84 while (top.getParent() instanceof View) {
85 top = (View)top.getParent();
91 info.touchableRegion.set(0, 0, top.getWidth(), top.getHeight());
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c133 u32 top; member in struct:__anon825
390 top-most edge of a macroblock. Macroblock types are checked
420 top-most edge of a macroblock. Macroblock types are checked
563 mb pointer to macroblock data structure of the top-left
1149 /* top edges */
1154 bS[0].top = bS[1].top = bS[2].top = bS[3].top = 4;
1159 bS[0].top
[all...]

Completed in 4305 milliseconds

1234567891011>>