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

1234567891011>>

/frameworks/native/libs/arect/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
/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/base/libs/hwui/
H A DProfileRenderer.cpp22 void ProfileRenderer::drawRect(float left, float top, float right, float bottom, argument
24 mRenderer.drawRect(left, top, right, bottom, &paint);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaProfileRenderer.cpp22 void SkiaProfileRenderer::drawRect(float left, float top, float right, float bottom, argument
24 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
/frameworks/base/libs/hwui/tests/common/scenes/
H A DBitmapFillrate.cpp56 void createNode(Canvas& canvas, SkColor color, int left, int top, argument
60 auto card = TestUtils::createNode(left, top, left + itemWidth , top + itemHeight,
H A DSaveLayer2Animation.cpp42 int top = bounds.fTop; variable
50 for (int i = 0; i < regions; i++, top += smallRectHeight) {
51 canvas.saveLayer(bounds.fLeft, top, bounds.fRight, top + padding,
58 bounds.fLeft, top + padding, minikin::kBidi_Force_LTR, mBluePaint, nullptr);
61 canvas.drawRect(bounds.fLeft, top + padding, bounds.fRight,
62 top + smallRectHeight - padding, mBluePaint);
66 top + smallRectHeight - padding, minikin::kBidi_Force_LTR, mGreenPaint,
/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/native/include/ui/
H A DFloatRect.h25 : left(_left), top(_top), right(_right), bottom(_bottom) {}
28 float getHeight() const { return bottom - top; }
31 float top = 0.0f; member in class:android::FloatRect
37 return a.left == b.left && a.top == b.top && a.right == b.right && a.bottom == b.bottom;
/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/transition/api22/android/support/transition/
H A DViewUtilsApi22.java36 public void setLeftTopRightBottom(View v, int left, int top, int right, int bottom) { argument
40 sSetLeftTopRightBottomMethod.invoke(v, left, top, right, bottom);
/frameworks/base/libs/hwui/tests/common/
H A DTestListViewSceneBase.cpp64 int top = ((int)ci) * (mItemSpacing + mItemHeight) + pxOffset; local
66 mItemLeft, top, mItemLeft + mItemWidth, top + mItemHeight);
/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/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dortho.h10 Eigen::AffineMatrix<T, 4> OrthoMatrix(T left, T right, T bottom, T top, argument
15 const T b = t2 / (top - bottom);
18 const T yoff = -(top + bottom) / (top - bottom);
/frameworks/support/compat/tests/java/android/support/v4/testutils/
H A DTestUtils.java98 * Checks whether the specified rectangle matches the specified left / top / right /
102 int left, int top, int right, int bottom) {
104 Assert.assertEquals(failMessagePrefix + " top", rectangle.top, top);
101 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
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/core-ui/tests/java/android/support/v4/testutils/
H A DTestUtils.java97 * Checks whether the specified rectangle matches the specified left / top / right /
101 int left, int top, int right, int bottom) {
103 Assert.assertEquals(failMessagePrefix + " top", rectangle.top, top);
100 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/support/design/src/android/support/design/internal/
H A DBaselineLayout.java84 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DTypefaceEmojiSpan.java54 final int top, final int y, final int bottom, @NonNull final Paint paint) {
56 canvas.drawRect(x, top , x + getWidth(), bottom, getDebugPaint());
52 draw(@onNull final Canvas canvas, final CharSequence text, @IntRange(from = 0) final int start, @IntRange(from = 0) final int end, final float x, final int top, final int y, final int bottom, @NonNull final Paint paint) argument
/frameworks/support/v17/preference-leanback/api21/android/support/v17/internal/widget/
H A DOutlineOnlyWithChildrenFrameLayout.java62 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
63 super.onLayout(changed, left, top, right, bottom);
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DCardViewDelegate.java31 void setShadowPadding(int left, int top, int right, int bottom); argument
/frameworks/av/include/ndk/
H A DNdkImage.h224 * Each one of the first 4 bytes contains the top 8 bits of each pixel, The
342 * and second byte contains the top 8 bits of first and second pixel. The third
507 * (right - left) and the height of the rectangle is (bottom - top).</p>
511 int32_t top; member in struct:AImageCropRect
/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DDynamicLayoutPerfTest.java78 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, argument

Completed in 919 milliseconds

1234567891011>>