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

12345678910

/frameworks/native/include/android/
H A Drect.h32 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/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/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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java66 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
73 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
76 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
79 mOutlineRect.bottom = (int) Math.max(top, mOutlineRect.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/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatL.java32 public static void setHotspotBounds(Drawable drawable, int left, int top, argument
34 drawable.setHotspotBounds( left, top, right, bottom);
/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);
H A DArrowKeyMovementMethod.java158 protected boolean top(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
/frameworks/base/core/java/android/transition/
H A DSidePropagation.java95 int top = loc[1] + Math.round(sceneRoot.getTranslationY());
97 int bottom = top + sceneRoot.getHeight();
106 epicenterY = (top + bottom) / 2;
110 left, top, right, bottom);
123 int left, int top, int right, int bottom) {
146 distance = viewY - top + Math.abs(epicenterX - viewX);
122 distance(View sceneRoot, int viewX, int viewY, int epicenterX, int epicenterY, int left, int top, int right, int bottom) argument
/frameworks/base/libs/hwui/
H A DRenderer.h123 * @param top The top coordinate of the dirty rectangle
130 virtual status_t prepareDirty(float left, float top, float right, float bottom,
148 virtual int saveLayer(float left, float top, float right, float bottom,
151 int saveLayerAlpha(float left, float top, float right, float bottom, argument
155 return saveLayer(left, top, right, bottom, &paint, flags);
170 virtual bool quickRejectConservative(float left, float top,
172 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) = 0;
194 float left, float top, float right, float bottom, const SkPaint* paint) = 0;
197 virtual status_t drawRect(float left, float top, floa
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplaySettings.java73 outRect.top = entry.overscanTop;
81 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument
82 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
94 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.java179 (int) loc.left, (int) loc.top, (int) loc.right, (int) loc.bottom,
188 loc.left, loc.top, loc.right, loc.bottom,
201 final int left, final int top, final int right, final int bottom,
220 (float)left, (float)top, (float)right, (float)bottom,
243 left, top, right - left, bottom - top, destDensity, srcDensity);
200 draw(long canvas_instance, final int left, final int top, final int right, final int bottom, long bitmap_instance, long chunk, long paint_instance_or_null, final int destDensity, final int srcDensity) argument
/frameworks/native/libs/ui/
H A DRect.cpp32 top = 0;
38 if (top < rhs.top) {
40 } else if (top == rhs.top) {
58 bottom -= top - y;
60 top = y;
66 top += 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
102 int top = result.left; local
[all...]
/frameworks/support/v4/donut/android/support/v4/view/
H A DWindowInsetsCompat.java47 * Returns the top system window inset in pixels.
53 * @return The top system window inset
127 * <p>A round window's left, top, right and bottom edges reach all the way to the
152 * @param top New top inset in pixels
157 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument
174 * Returns the top stable inset in pixels.
182 * @return The top stable inset
/frameworks/support/v4/jellybean/android/support/v4/view/
H A DViewCompatJB.java40 public static void postInvalidateOnAnimation(View view, int left, int top, argument
42 view.postInvalidate(left, top, right, bottom);
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
H A DViewCompatJellybeanMr1.java55 public static void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument
56 view.setPaddingRelative(start, top, end, bottom);

Completed in 437 milliseconds

12345678910