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

1234567

/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/native/services/surfaceflinger/DisplayHardware/
H A DFloatRect.h30 float bottom; member in class:android::FloatRect
34 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { }
37 inline float getHeight() const { return bottom - top; }
/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/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.java83 // We draw the handle ourselves so that it's always glued to the bottom of the window.
85 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
86 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray)
51 int yEnd = static_cast<int>(height * bottom);
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DNinePatch_Delegate.java200 final int left, final int top, final int right, final int bottom,
219 new Rect(left, top, right, bottom),
242 left, top, right - left, bottom - top, destDensity, srcDensity);
199 draw(int canvas_instance, final int left, final int top, final int right, final int bottom, int bitmap_instance, int chunk, int paint_instance_or_null, final int destDensity, final int srcDensity) argument
/frameworks/native/libs/ui/
H A DRect.cpp34 bottom = -1;
44 if (bottom < rhs.bottom) {
46 } else if (bottom == rhs.bottom) {
58 bottom -= top - y;
68 bottom += y;
73 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y);
78 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y);
86 result->bottom
104 int bottom = result.right; local
[all...]
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java41 int right, int bottom) {
42 view.postInvalidate(left, top, right, bottom);
40 postInvalidateOnAnimation(View view, int left, int top, int right, int bottom) argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DActionBarOverlayLayout.java70 boolean bottom, boolean right) {
85 if (bottom && lp.bottomMargin != insets.bottom) {
87 lp.bottomMargin = insets.bottom;
69 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
/frameworks/base/core/java/android/widget/
H A DCheckedTextView.java177 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
178 super.internalSetPadding(left, top, right, bottom);
236 final int bottom = top + height;
246 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
/frameworks/base/libs/hwui/
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, right, bottom);
178 resetClip(float left, float top, float right, float bottom) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DFadedEdgeDrawHelper.java86 int left, int right, int top, int bottom, int scrollX, int scrollY,
116 // clip the fade length if top and bottom fades overlap
118 if (mIsVertical && (top + length > bottom - length)) {
119 length = (bottom - top) / 2;
158 mFadeMatrix.postTranslate(left, bottom);
160 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint);
168 canvas.drawRect(left, top, left + length, bottom, mFadePaint);
176 canvas.drawRect(right - length, top, right, bottom, mFadePaint);
85 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength, int mPaddingTop) argument
/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/services/java/com/android/server/wm/
H A DDisplaySettings.java73 outRect.bottom = entry.overscanBottom;
79 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument
80 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
94 entry.overscanBottom = bottom;

Completed in 5888 milliseconds

1234567