Searched defs:bottom (Results 1 - 25 of 140) sorted by relevance

123456

/frameworks/native/include/android/
H A Drect.h34 int32_t bottom; member in struct:ARect
/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
H A DReplacementSpan.java30 int top, int y, int bottom, Paint paint);
28 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
H A DDrawableMarginSpan.java43 int top, int baseline, int bottom,
68 need = ht - (v + fm.bottom - fm.top - istartv);
70 fm.bottom += need;
42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DDynamicDrawableSpan.java36 * A constant indicating that the bottom of this span should be aligned
37 * with the bottom of the surrounding text, i.e., at the same level as the
43 * A constant indicating that the bottom of this span should be aligned
84 fm.ascent = -rect.bottom;
88 fm.bottom = 0;
97 int top, int y, int bottom, Paint paint) {
101 int transY = bottom - b.getBounds().bottom;
95 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
H A DIconMarginSpan.java43 int top, int baseline, int bottom,
65 need = ht - (v + fm.bottom - fm.top - istartv);
67 fm.bottom += need;
42 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DBulletSpan.java81 int top, int baseline, int bottom,
103 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f);
107 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p);
80 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout l) argument
H A DLeadingMarginSpan.java57 * @param bottom the bottom of the line
66 int top, int baseline, int bottom,
139 int top, int baseline, int bottom,
64 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
137 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
H A DQuoteSpan.java67 int top, int baseline, int bottom,
76 c.drawRect(x, top, x + dir * STRIPE_WIDTH, bottom, p);
66 drawLeadingMargin(Canvas c, Paint p, int x, int dir, int top, int baseline, int bottom, CharSequence text, int start, int end, boolean first, Layout layout) argument
/frameworks/base/graphics/java/android/graphics/
H A DInsets.java34 public final int bottom; field in class:Insets
36 private Insets(int left, int top, int right, int bottom) { argument
40 this.bottom = bottom;
51 * @param bottom the bottom 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, r.right, r.bottom);
[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
41 this.bottom = bottom;
49 + right + "," + bottom + ")"
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java64 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
85 return bottom(widget, buffer);
H A DArrowKeyMovementMethod.java167 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java184 final int left, final int top, final int right, final int bottom,
198 new Rect(left, top, right, bottom),
221 left, top, right - left, bottom - top, destDensity, srcDensity);
183 draw(int canvas_instance, final int left, final int top, final int right, final int bottom, int bitmap_instance, byte[] c, int paint_instance_or_null, final int destDensity, final int srcDensity) argument
/frameworks/native/libs/ui/
H A DRect.cpp34 bottom = -1;
45 if (bottom<rhs.bottom) {
47 } else if (bottom == rhs.bottom) {
60 bottom -= top - y;
71 bottom+=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-rhs.y, right-rhs.x, bottom-rhs.y);
92 result->bottom
110 int bottom = result.right; local
[all...]
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java40 int right, int bottom) {
41 view.postInvalidate(left, top, right, bottom);
39 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsContainerView.java104 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DNotificationPanelView.java71 // We draw the handle ourselves so that it's always glued to the bottom of the window.
73 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
74 super.onLayout(changed, left, top, right, bottom);
H A DSettingsPanelView.java119 // We draw the handle ourselves so that it's always glued to the bottom of the window.
121 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
122 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java176 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
177 super.internalSetPadding(left, top, right, bottom);
235 final int bottom = top + height;
245 checkMarkDrawable.setBounds( left, top, right, bottom);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java129 boolean bottom, boolean right) {
144 if (bottom && lp.bottomMargin != insets.bottom) {
146 lp.bottomMargin = insets.bottom;
158 // The top and bottom action bars are always within the content area.
194 insets.bottom += mActionBarHeight;
128 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
/frameworks/base/libs/hwui/
H A DRect.h36 float bottom; member in class:android::uirenderer::Rect
48 bottom(0) {
51 inline Rect(float left, float top, float right, float bottom): argument
55 bottom(bottom) {
62 bottom(height) {
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, float right, float bottom) { argument
[all...]
H A DSnapshot.cpp87 clipRegion->setRect(clipRect->left, clipRect->top, clipRect->right, clipRect->bottom);
109 bool Snapshot::clipRegionOp(float left, float top, float right, float bottom, SkRegion::Op op) { argument
112 tmp.set(left, top, right, bottom);
121 bool Snapshot::clip(float left, float top, float right, float bottom, SkRegion::Op op) { argument
122 Rect r(left, top, right, bottom);
133 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kIntersect_Op);
145 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, SkRegion::kUnion_Op);
152 setClip(r.left, r.top, r.right, r.bottom);
158 clipped = clipRegionOp(r.left, r.top, r.right, r.bottom, op);
170 void Snapshot::setClip(float left, float top, float right, float bottom) { argument
195 resetClip(float left, float top, float right, float bottom) argument
[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);
102 final int bottom = chld.bottom + bkg.bottom;
116 background.setBounds(left, top, right, bottom);
146 r.bottom = r.right = Integer.MIN_VALUE;
154 r.bottom = Math.max(r.bottom,
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentsScrollViewPerformanceHelper.java82 int left, int right, int top, int bottom, int scrollX, int scrollY,
111 // clip the fade length if top and bottom fades overlap
113 if (mIsVertical && (top + length > bottom - length)) {
114 length = (bottom - top) / 2;
146 matrix.postTranslate(left, bottom);
148 canvas.drawRect(left, bottom - length, right, bottom, p);
156 canvas.drawRect(left, top, left + length, bottom, p);
164 canvas.drawRect(right - length, top, right, bottom, p);
81 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength) argument

Completed in 2356 milliseconds

123456