/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | DisplaySettings.java | 81 outRect.bottom = entry.overscanBottom; 88 int bottom) { 89 if (left == 0 && top == 0 && right == 0 && bottom == 0) { 105 entry.overscanBottom = bottom; 87 setOverscanLocked(String uniqueId, String name, int left, int top, int right, int bottom) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | stats_scorer.cpp | 45 jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) 51 int yEnd = static_cast<int>(height * bottom); 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 D | Rect.cpp | 37 bottom = -1; 47 if (bottom < rhs.bottom) { 49 } else if (bottom == rhs.bottom) { 61 bottom -= top - y; 71 bottom += 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 - rhs.y, right - rhs.x, bottom - rhs.y); 89 result->bottom 107 int bottom = result.right; local [all...] |
/frameworks/support/v4/donut/android/support/v4/view/ |
H A D | WindowInsetsCompat.java | 73 * Returns the bottom system window inset in pixels. 79 * @return The bottom system window inset 127 * <p>A round window's left, top, right and bottom edges reach all the way to the 154 * @param bottom New bottom inset in pixels 157 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument 221 * Returns the bottom stable inset in pixels. 229 * @return The bottom stable inset
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | TextViewCompat.java | 40 @Nullable Drawable bottom); 43 @Nullable Drawable bottom); 46 @DrawableRes int bottom); 56 @Nullable Drawable bottom) { 57 textView.setCompoundDrawables(start, top, end, bottom); 63 @Nullable Drawable bottom) { 64 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 70 @DrawableRes int bottom) { 71 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 106 @Nullable Drawable bottom) { 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 D | ViewCompatJellybeanMr1.java | 55 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 D | TestUtils.java | 132 * bottom bounds. 135 int left, int top, int right, int bottom) { 139 Assert.assertEquals(failMessagePrefix + " bottom", rectangle.bottom, bottom); 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 D | ArrowKeyMovementMethod.java | 167 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
|
/frameworks/base/core/java/android/text/style/ |
H A D | BulletSpan.java | 91 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 D | LeadingMarginSpan.java | 60 * @param bottom the bottom 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 D | QuoteSpan.java | 79 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 D | SparseRectFArray.java | 46 * {@code rects[mKeys[0]].right}, {@code rects[mKeys[0]].bottom}, 48 * {@code rects[mKeys[1]].right}, {@code rects[mKeys[1]].bottom}, 197 * @param bottom bottom of the rectangle. 203 final float left, final float top, final float right, final float bottom, 211 mCoordinates[baseCoordinatesIndex + 3] = bottom; 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 D | MessagingLinearLayout.java | 87 // This is essentially a bottom-up linear layout that only adds children that fit entirely 116 // Starting from the bottom: we measure every view as if it were the only one. If it still 187 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | NotificationActionListLayout.java | 188 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 195 // Where bottom of child should go 196 final int height = bottom - top;
|
/frameworks/base/core/jni/ |
H A D | android_view_TextureView.cpp | 47 jfieldID bottom; member in struct:android::__anon954 146 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom); 168 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom); 172 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom)); 214 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
H A D | EditorState.java | 71 int y, int bottom, Paint paint) { 70 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Outline.java | 161 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 [all...] |
/frameworks/base/libs/hwui/ |
H A D | Outline.h | 42 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument 48 && bottom == mBounds.bottom 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/recents/views/ |
H A D | AnimateableViewBounds.java | 51 * Resets the right and bottom clip for this view. 64 mSourceView.getHeight() - mClipRect.bottom, 69 mSourceView.getHeight() - mClipRect.bottom); 102 /** Sets the bottom clip. */ 103 public void setClipBottom(int bottom) { argument 104 mClipRect.bottom = bottom; 108 /** Returns the bottom clip. */ 110 return mClipRect.bottom; 116 mSourceView.getHeight() - Math.max(0, mClipRect.bottom)); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | StackScrollerDecorView.java | 48 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 49 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 88 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) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | StatsFilter.java | 115 float top, float right, float bottom, float[] statsArray); 114 regionscore(ByteBuffer imageBuffer, int width, int height, float left, float top, float right, float bottom, float[] statsArray) argument
|
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | InvisibleRecipientChip.java | 96 final float x, final int top, final int y, final int bottom, final Paint paint) { 95 draw(final Canvas canvas, final CharSequence text, final int start, final int end, final float x, final int top, final int y, final int bottom, final Paint paint) argument
|
H A D | ReplacementDrawableSpan.java | 36 fm.ascent = Math.min(fm.top, fm.top + (textHeight - bounds.bottom) / 2) - halfMargin; 37 fm.descent = Math.max(fm.bottom, fm.bottom + (bounds.bottom - textHeight) / 2) 40 fm.bottom = fm.descent; 52 int y, int bottom, Paint paint) { 54 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2; 51 draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/view/ |
H A D | NavigationBarButton.java | 56 public void setCompoundDrawables(Drawable left, Drawable top, Drawable right, Drawable bottom) { argument 60 if (bottom != null) bottom = TintedDrawable.wrap(bottom.mutate()); 61 super.setCompoundDrawables(left, top, right, bottom); 67 Drawable bottom) { 71 if (bottom != null) bottom = TintedDrawable.wrap(bottom.mutate()); 72 super.setCompoundDrawablesRelative(start, top, end, bottom); 66 setCompoundDrawablesRelative(Drawable start, Drawable top, Drawable end, Drawable bottom) argument [all...] |