Searched defs:top (Results 1 - 25 of 312) 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.java54 * @param top Top of the line.
61 int top, int y, int bottom, @NonNull Paint paint);
59 draw(@onNull Canvas canvas, CharSequence text, @IntRange(from = 0) int start, @IntRange(from = 0) int end, float x, int top, int y, int bottom, @NonNull 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.h29 float top; member in class:android::FloatRect
34 : left(0), top(0), right(0), bottom(0) { }
36 : left(other.left), top(other.top), right(other.right), bottom(other.bottom) { }
39 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.java28 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
30 textView.setCompoundDrawablesRelative(start, top, end, bottom);
34 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
36 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);
40 @DrawableRes int start, @DrawableRes int top, @DrawableRes int end,
42 textView.setCompoundDrawablesRelativeWithIntrinsicBounds(start, top, end, bottom);
27 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
33 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
39 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
/frameworks/av/include/ndk/
H A DNdkImage.h125 * Each one of the first 4 bytes contains the top 8 bits of each pixel, The
243 * and second byte contains the top 8 bits of first and second pixel. The third
408 * (right - left) and the height of the rectangle is (bottom - top).</p>
412 int32_t top; member in struct:AImageCropRect
/frameworks/base/libs/hwui/tests/common/scenes/
H A DListViewAnimation.cpp71 int top = ((int)ci) * (cardSpacing + cardHeight) + pxOffset; variable
73 cardLeft, top, cardLeft + cardWidth, top + cardHeight);
120 sp<RenderNode> createCard(int cardId, int top) {
121 return TestUtils::createNode(cardLeft, top, cardLeft + cardWidth, top + cardHeight,
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DCustomLayout.java30 public LayoutParams(int left, int top, int right, int bottom) { argument
33 mTop = top;
/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/v17/preference-leanback/api21/android/support/v17/internal/widget/
H A DOutlineOnlyWithChildrenFrameLayout.java56 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
57 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/v4/tests/java/android/support/v4/testutils/
H A DTextViewActions.java146 final @Nullable Drawable top, final @Nullable Drawable end,
164 TextViewCompat.setCompoundDrawablesRelative(textView, start, top, end, bottom);
175 final @Nullable Drawable start, final @Nullable Drawable top,
194 textView, start, top, end, bottom);
205 final @DrawableRes int start, final @DrawableRes int top, final @DrawableRes int end,
224 textView, start, top, end, bottom);
145 setCompoundDrawablesRelative(final @Nullable Drawable start, final @Nullable Drawable top, final @Nullable Drawable end, final @Nullable Drawable bottom) argument
174 setCompoundDrawablesRelativeWithIntrinsicBounds( final @Nullable Drawable start, final @Nullable Drawable top, final @Nullable Drawable end, final @Nullable Drawable bottom) argument
204 setCompoundDrawablesRelativeWithIntrinsicBounds( final @DrawableRes int start, final @DrawableRes int top, final @DrawableRes int end, final @DrawableRes int bottom) argument
/frameworks/support/v7/cardview/base/android/support/v7/widget/
H A DCardViewDelegate.java31 void setShadowPadding(int left, int top, int right, int bottom); argument
/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.java94 int top = loc[1] + Math.round(sceneRoot.getTranslationY());
96 int bottom = top + sceneRoot.getHeight();
105 epicenterY = (top + bottom) / 2;
109 left, top, right, bottom);
122 int left, int top, int right, int bottom) {
145 distance = viewY - top + Math.abs(epicenterX - viewX);
121 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockImageSpan.java49 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFixedSizeFrameLayout.java58 protected final void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
59 mLayoutBounds.set(left, top, right, bottom);
90 super.onLayout(changed, bounds.left, bounds.top, bounds.right, bounds.bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DMinimizedDockShadow.java53 private void updatePaint(int left, int top, int right, int bottom) { argument
65 0, 0, 0, bottom - top,
82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
83 super.onLayout(changed, left, top, right, bottom);
85 updatePaint(left, top, right, bottom);

Completed in 637 milliseconds

1234567891011>>