Searched defs:top (Results 26 - 50 of 312) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableOutlineView.java83 setOutlineRect(rect.left, rect.top, rect.right, rect.bottom);
114 protected void setOutlineRect(float left, float top, float right, float bottom) { argument
118 mOutlineRect.set((int) left, (int) top, (int) right, (int) bottom);
121 mOutlineRect.bottom = (int) Math.max(top, mOutlineRect.bottom);
H A DStackScrollerDecorView.java48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
49 super.onLayout(changed, left, top, right, 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.java79 outRect.top = entry.overscanTop;
87 public void setOverscanLocked(String uniqueId, String name, int left, int top, int right, argument
89 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
103 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/native/libs/ui/
H A DRect.cpp35 top = 0;
41 if (top < rhs.top) {
43 } else if (top == rhs.top) {
61 bottom -= top - y;
63 top = y;
69 top += y;
76 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y);
81 const Rect result(left - rhs.x, top
105 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/java/android/support/v4/widget/
H A DTextViewCompat.java39 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
42 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
45 @DrawableRes int start, @DrawableRes int top, @DrawableRes int end,
55 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
57 textView.setCompoundDrawables(start, top, end, bottom);
62 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
64 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
69 @DrawableRes int start, @DrawableRes int top, @DrawableRes int end,
71 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
105 @Nullable Drawable start, @Nullable Drawable top,
38 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
44 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
54 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
61 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
68 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
104 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
111 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
119 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
129 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
136 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
145 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
192 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
212 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
236 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
[all...]
/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);
/frameworks/support/v4/tests/java/android/support/v4/testutils/
H A DTestUtils.java131 * Checks whether the specified rectangle matches the specified left / top / right /
135 int left, int top, int right, int bottom) {
137 Assert.assertEquals(failMessagePrefix + " top", rectangle.top, top);
134 assertRectangleBounds(String failMessagePrefix, @NonNull Rect rectangle, int left, int top, int right, int bottom) argument
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java157 protected boolean top(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java91 int top, int baseline, int bottom,
113 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f);
117 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p);
90 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.java58 * @param top the top of the line
69 int top, int baseline, int bottom,
156 int top, int baseline, int bottom,
67 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
154 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.java79 int top, int baseline, int bottom,
88 c.drawRect(x, top, x + dir * STRIPE_WIDTH, bottom, p);
78 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/core/java/android/view/inputmethod/
H A DSparseRectFArray.java45 * {@code rects[mKeys[0]].left}, {@code rects[mKeys[0]].top},
47 * {@code rects[mKeys[1]].left}, {@code rects[mKeys[1]].top},
49 * {@code rects[mKeys[2]].left}, {@code rects[mKeys[2]].top}, ....
195 * @param top top of the rectangle.
203 final float left, final float top, final float right, final float bottom,
209 mCoordinates[baseCoordinatesIndex + 1] = top;
202 append(final int key, final float left, final float top, final float right, final float bottom, final int flags) argument
/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLinearLayout.java187 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
H A DNotificationActionListLayout.java188 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
196 final int height = bottom - top;
/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp45 jfieldID top; member in struct:android::__anon954
144 rect.top = GET_INT(dirtyRect, gRectClassInfo.top);
168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom);
172 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
212 gRectClassInfo.top = GetFieldIDOrDie(env, clazz, "top", "I");
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DEditorState.java70 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, argument
/frameworks/base/graphics/java/android/graphics/
H A DOutline.java161 public void setRect(int left, int top, int right, int bottom) { argument
162 setRoundRect(left, top, right, bottom, 0.0f);
169 setRect(rect.left, rect.top, rect.right, rect.bottom);
177 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument
178 if (left >= right || top >= bottom) {
184 mRect.set(left, top, right, bottom);
193 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius);
227 public void setOval(int left, int top, int right, int bottom) { argument
228 if (left >= right || top >= bottom) {
233 if ((bottom - top)
[all...]
H A DYuvImage.java28 * region by left, top, width and height.
139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top);
182 int[] calculateOffsets(int left, int top) { argument
185 offsets = new int[] {top * mStrides[0] + left,
186 mHeight * mStrides[0] + top / 2 * mStrides[1]
192 offsets = new int[] {top * mStrides[0] + left / 2 * 4};
218 // Make sure left, top, width and height are all even.
222 rect.top &= ~1;
224 rect.bottom = rect.top + height;
/frameworks/base/libs/hwui/
H A DOutline.h42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument
47 && top == mBounds.top
55 mBounds.set(left, top, right, bottom);
61 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom),
64 mPath.addRect(left, top, right, bottom);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSIconView.java69 int top = 0;
71 layout(mIcon, iconLeft, top);
120 protected final void layout(View child, int left, int top) { argument
121 child.layout(left, top, left + child.getMeasuredWidth(), top + child.getMeasuredHeight());
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimateableViewBounds.java62 outline.setRoundRect(mClipRect.left, mClipRect.top,
67 outline.setRect(mClipRect.left, mClipRect.top,
91 /** Sets the top clip. */
92 public void setClipTop(int top) { argument
93 mClipRect.top = top;
97 /** Returns the top clip. */
99 return mClipRect.top;
114 mClipBounds.set(Math.max(0, mClipRect.left), Math.max(0, mClipRect.top),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardUserSwitcherScrim.java88 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument
90 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) {
92 mTop = top;

Completed in 535 milliseconds

1234567891011>>