Searched defs:top (Results 1 - 25 of 263) sorted by relevance

1234567891011

/frameworks/native/include/android/
H A Drect.h48 /** top position */
49 int32_t top; 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.java42 int top, int baseline, int bottom,
67 need = ht - (v + fm.bottom - fm.top - istartv);
41 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.java84 fm.top = fm.ascent;
94 int top, int y, int bottom, Paint paint) {
92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
H A DIconMarginSpan.java42 int top, int baseline, int bottom,
64 need = ht - (v + fm.bottom - fm.top - istartv);
41 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.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...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DCardViewBindingAdapter.java38 int top = view.getContentPaddingTop();
41 view.setContentPadding(left, top, right, bottom);
45 public static void setContentPaddingTop(CardView view, int top) { argument
49 view.setContentPadding(left, top, right, bottom);
55 int top = view.getContentPaddingTop();
57 view.setContentPadding(left, top, right, bottom);
63 int top = view.getContentPaddingTop();
65 view.setContentPadding(left, top, right, bottom);
/frameworks/minikin/include/minikin/
H A DMinikinFontFreeType.h36 int top; member in struct:android::GlyphBitmap
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFloatRect.h28 float top; 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/support/design/base/android/support/design/widget/
H A DShadowViewDelegate.java23 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/support/v4/jellybean-mr1/android/support/v4/widget/
H A DTextViewCompatJbMr1.java28 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
31 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom);
35 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
38 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, rtl ? start : end,
43 int start, int top, int end, int bottom) {
45 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, rtl ? start : end,
27 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
34 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
42 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
/frameworks/support/v4/jellybean-mr2/android/support/v4/widget/
H A DTextViewCompatJbMr2.java27 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
29 textView.setCompoundDrawablesRelative(start, top, end, bottom);
33 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
35 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);
39 int start, int top, int end, int bottom) {
40 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);
26 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
32 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
38 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewDelegate.java32 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainer.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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DSystemViewInfo.java29 public SystemViewInfo(String name, Object cookie, int left, int top, argument
31 super(name, cookie, left, top, right, bottom);
34 public SystemViewInfo(String name, Object cookie, int left, int top, argument
36 super(name, cookie, left, top, right, bottom, viewObject,
/frameworks/support/v4/java/android/support/v4/widget/
H A DTextViewCompat.java38 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
42 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
46 int start, int top, int end, int bottom);
54 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
56 textView.setCompoundDrawables(start, top, end, bottom);
61 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
63 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
68 int start, int top, int end, int bottom) {
69 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
78 @Nullable Drawable start, @Nullable Drawable top,
37 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
41 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
45 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
53 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
60 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
67 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
77 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
84 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
92 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
103 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
110 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
119 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
154 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
174 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
198 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java59 protected boolean top(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
80 return top(widget, buffer);
/frameworks/base/core/java/android/transition/
H A DSidePropagation.java93 int top = loc[1] + Math.round(sceneRoot.getTranslationY());
95 int bottom = top + sceneRoot.getHeight();
104 epicenterY = (top + bottom) / 2;
108 left, top, right, bottom);
121 int left, int top, int right, int bottom) {
144 distance = viewY - top + Math.abs(epicenterX - viewX);
120 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java78 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
86 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
90 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
93 mOutlineRect.bottom = (int) Math.max(top, mOutlineRect.bottom);
/frameworks/base/services/core/java/com/android/server/policy/
H A DRecentApplicationsBackground.java60 protected boolean setFrame(int left, int top, int right, int bottom) { argument
62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) {
65 return super.setFrame(left, top, right, bottom);
100 final int top = chld.top - bkg.top;
115 background.setBounds(left, top, right, bottom);
144 r.left = r.top = Integer.MAX_VALUE;
151 r.top = Math.min(r.top,
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java74 outRect.top = entry.overscanTop;
82 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument
83 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
95 entry.overscanTop = top;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dstats_scorer.cpp45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray)
50 int yStart = static_cast<int>(height * top);
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.java176 (int) loc.left, (int) loc.top, (int) loc.right, (int) loc.bottom,
185 loc.left, loc.top, loc.right, loc.bottom,
198 final int left, final int top, final int right, final int bottom,
217 (float)left, (float)top, (float)right, (float)bottom,
240 left, top, right - left, bottom - top, destDensity, srcDensity);
197 draw(long canvas_instance, final int left, final int top, final int right, final int bottom, Bitmap bitmap_instance, long chunk, long paint_instance_or_null, final int destDensity, final int srcDensity) argument
/frameworks/native/libs/ui/
H A DRect.cpp34 top = 0;
40 if (top < rhs.top) {
42 } else if (top == rhs.top) {
60 bottom -= top - y;
62 top = y;
68 top += y;
75 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y);
80 const Rect result(left - rhs.x, top
104 int top = result.left; local
[all...]

Completed in 656 milliseconds

1234567891011