Searched refs:bottom (Results 76 - 100 of 348) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DListView.java96 * or a footer at the bottom.
198 * Make sure views are touching the top or bottom edge, as appropriate for
223 // we are too high, slide all views down to align with bottom
225 delta = child.getBottom() - (getHeight() - mListPadding.bottom);
338 * Add a fixed view to appear at the bottom of the list. If addFooterView is
375 * Add a fixed view to appear at the bottom of the list. If addFooterView is
549 * @return Whether the list needs to show the bottom fading edge
556 final int listBottom = mScrollY + getHeight() - mListPadding.bottom;
588 // leave room for bottom fading edge as long as rect isn't at very bottom
[all...]
H A DScrollView.java853 * if topFocus is true, or at the bottom of the bounds if topFocus is
857 * @param bottom the bottom offset of the bounds in which a focusable must
862 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument
869 * top, and its bottom is above the bound's bottom. A partially
882 if (top < viewBottom && viewTop < bottom) {
889 (viewBottom < bottom);
961 mTempRect.bottom = mTempRect.top + height;
963 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
1009 scrollAndFocus(int direction, int top, int bottom) argument
[all...]
H A DFastScroller.java432 mPreviewImage.setPadding(padding.left, padding.top, padding.right, padding.bottom);
522 bounds.bottom += mPreviewImage.getPaddingBottom();
537 view.layout(bounds.left, bounds.top, bounds.right, bounds.bottom);
555 margins.bottom = mPreviewImage.getPaddingBottom();
619 final int bottom = top + view.getMeasuredHeight();
620 out.set(left, top, right, bottom);
648 final int bottom = top + preview.getMeasuredHeight();
651 out.set(left, top, right, bottom);
665 container.bottom = list.getHeight();
673 container.bottom
[all...]
H A DCheckedTextView.java177 protected void internalSetPadding(int left, int top, int right, int bottom) { argument
178 super.internalSetPadding(left, top, right, bottom);
236 final int bottom = top + height;
246 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom);
/frameworks/base/core/java/android/text/
H A DTextLine.java188 * @param bottom the bottom of the line
190 void draw(Canvas c, float x, int top, int y, int bottom) { argument
193 drawRun(c, 0, mLen, false, x, top, y, bottom, false);
197 drawRun(c, 0, mLen, true, x, top, y, bottom, false);
234 h += drawRun(c, segstart, j, runIsRtl, x+h, top, y, bottom,
379 * @param bottom the bottom of the line
385 int limit, boolean runIsRtl, float x, int top, int y, int bottom,
391 y, bottom, nul
384 drawRun(Canvas c, int start, int limit, boolean runIsRtl, float x, int top, int y, int bottom, boolean needWidth) argument
721 handleText(TextPaint wp, int start, int end, int contextStart, int contextEnd, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument
815 handleReplacement(ReplacementSpan replacement, TextPaint wp, int start, int limit, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument
880 handleRun(int start, int measureLimit, int limit, boolean runIsRtl, Canvas c, float x, int top, int y, int bottom, FontMetricsInt fmi, boolean needWidth) argument
[all...]
H A DLayout.java453 dbottom = sTempRect.bottom;
457 final int bottom = Math.min(getLineTop(getLineCount()), dbottom);
459 if (top >= bottom) return TextUtils.packRangeInLong(0, -1);
460 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom));
607 * If bounds is not null, return the top, left, right, bottom extents
618 bounds.bottom = getLineTop(line + 1);
627 * bottom of the last line.
674 * bottom line of the Layout.
1006 * below the bottom of the text, you get the last line.
1165 * Return the vertical position of the bottom o
1378 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument
[all...]
H A DStaticLayout.java285 int fmBottom = fm.bottom;
384 int above, below, top, bottom;
392 bottom = okBottom;
399 bottom = fitBottom;
406 bottom = fm.bottom;
411 above, below, top, bottom,
448 fitBottom = fm.bottom;
483 fm.top, fm.bottom,
586 int above, int below, int top, int bottom, in
585 out(CharSequence text, int start, int end, int above, int below, int top, int bottom, int v, float spacingmult, float spacingadd, LineHeightSpan[] chooseHt, int[] chooseHtv, Paint.FontMetricsInt fm, boolean hasTabOrEmoji, boolean needMultiply, byte[] chdirs, int dir, boolean easy, int bufEnd, boolean includePad, boolean trackPad, char[] chs, float[] widths, int widthStart, TextUtils.TruncateAt ellipsize, float ellipsisWidth, float textWidth, TextPaint paint, boolean moreChars) argument
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20DisplayList.java408 public void setBottom(int bottom) { argument
410 nSetBottom(mFinalizer.mNativeDisplayList, bottom);
423 public void setLeftTopRightBottom(int left, int top, int right, int bottom) { argument
425 nSetLeftTopRightBottom(mFinalizer.mNativeDisplayList, left, top, right, bottom);
447 int right, int bottom);
448 private static native void nSetBottom(int displayList, int bottom); argument
446 nSetLeftTopRightBottom(int displayList, int left, int top, int right, int bottom) argument
/frameworks/base/core/jni/
H A Dandroid_view_GraphicBuffer.cpp73 jfieldID bottom; member in struct:android::__anon1026
176 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
208 clipRect.set(rect.left, rect.top, rect.right, rect.bottom);
213 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
317 GET_FIELD_ID(gRectClassInfo.bottom, clazz, "bottom", "I");
H A Dandroid_view_GLES20Canvas.cpp163 OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom,
165 return renderer->prepareDirty(left, top, right, bottom, opaque);
224 int(bounds.left), int(bounds.top), int(bounds.right), int(bounds.bottom));
270 OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom,
272 return renderer->saveLayer(left, top, right, bottom, paint, saveFlags);
278 return renderer->saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom,
283 OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom,
285 return renderer->saveLayerAlpha(left, top, right, bottom, alpha, saveFlags);
291 return renderer->saveLayerAlpha(bounds.left, bounds.top, bounds.right, bounds.bottom,
300 OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom) {
162 android_view_GLES20Canvas_prepareDirty(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom, jboolean opaque) argument
269 android_view_GLES20Canvas_saveLayer(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint, jint saveFlags) argument
282 android_view_GLES20Canvas_saveLayerAlpha(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, jint alpha, jint saveFlags) argument
299 android_view_GLES20Canvas_quickReject(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom) argument
304 android_view_GLES20Canvas_clipRectF(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkRegion::Op op) argument
310 android_view_GLES20Canvas_clipRect(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint left, jint top, jint right, jint bottom, SkRegion::Op op) argument
449 android_view_GLES20Canvas_drawPatch(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, Res_png_9patch* patch, float left, float top, float right, float bottom, SkPaint* paint) argument
463 android_view_GLES20Canvas_drawRect(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
469 android_view_GLES20Canvas_drawRoundRect(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat rx, jfloat ry, SkPaint* paint) argument
480 android_view_GLES20Canvas_drawOval(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, SkPaint* paint) argument
486 android_view_GLES20Canvas_drawArc(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloat startAngle, jfloat sweepAngle, jboolean useCenter, SkPaint* paint) argument
905 android_view_GLES20Canvas_updateRenderLayer(JNIEnv* env, jobject clazz, Layer* layer, OpenGLRenderer* renderer, DisplayList* displayList, jint left, jint top, jint right, jint bottom) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java194 return clipRect(thisCanvas, rect.left, rect.top, rect.right, rect.bottom);
200 (float) rect.right, (float) rect.bottom);
205 float bottom) {
212 return canvasDelegate.clipRect(left, top, right, bottom, Region.Op.INTERSECT.nativeInt);
217 int bottom) {
219 return clipRect(thisCanvas, (float) left, (float) top, (float) right, (float) bottom);
470 float right, float bottom,
479 return canvasDelegate.clipRect(left, top, right, bottom, regionOp);
546 bounds.bottom = rect.y + rect.height;
587 float right, float bottom) {
204 clipRect(Canvas thisCanvas, float left, float top, float right, float bottom) argument
216 clipRect(Canvas thisCanvas, int left, int top, int right, int bottom) argument
468 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
585 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom) argument
669 native_drawRect(int nativeCanvas, final float left, final float top, final float right, final float bottom, int paint) argument
1185 clipRect(float left, float top, float right, float bottom, int regionOp) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java64 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
85 return bottom(widget, buffer);
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java170 boolean bottom, boolean right) {
185 if (bottom && lp.bottomMargin != insets.bottom) {
187 lp.bottomMargin = insets.bottom;
199 // The top and bottom action bars are always within the content area.
262 // xlarge screen layout doesn't have bottom action bar.
294 // If action bar is split, adjust bottom insets for it.
312 mContentInsets.bottom += bottomInset;
315 mInnerInsets.bottom += bottomInset;
349 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
169 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java185 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth()
189 rect.right - rect.left, rect.bottom - rect.top, options);
H A DCanvas.java396 public int saveLayer(float left, float top, float right, float bottom, Paint paint, argument
398 return native_saveLayer(mNativeCanvas, left, top, right, bottom,
427 public int saveLayerAlpha(float left, float top, float right, float bottom, int alpha, argument
429 return native_saveLayerAlpha(mNativeCanvas, left, top, right, bottom,
576 return native_clipRect(mNativeCanvas, rect.left, rect.top, rect.right, rect.bottom,
589 return native_clipRect(mNativeCanvas, rect.left, rect.top, rect.right, rect.bottom,
621 * @param bottom The bottom of the rectangle to intersect with the current
626 public boolean clipRect(float left, float top, float right, float bottom, Region.Op op) { argument
627 return native_clipRect(mNativeCanvas, left, top, right, bottom, o
643 clipRect(float left, float top, float right, float bottom) argument
658 clipRect(int left, int top, int right, int bottom) argument
801 quickReject(float left, float top, float right, float bottom, EdgeType type) argument
988 drawRect(float left, float top, float right, float bottom, Paint paint) argument
1732 native_clipRect(int nCanvas, float left, float top, float right, float bottom, int regionOp) argument
1751 native_quickReject(int nativeCanvas, float left, float top, float right, float bottom) argument
1767 native_drawRect(int nativeCanvas, float left, float top, float right, float bottom, int paint) argument
[all...]
H A DPath.java477 private void detectSimplePath(float left, float top, float right, float bottom, Direction dir) { argument
486 rects.op((int) left, (int) top, (int) right, (int) bottom, Region.Op.UNION);
501 detectSimplePath(rect.left, rect.top, rect.right, rect.bottom, dir);
511 * @param bottom The bottom of a rectangle to add to the path
514 public void addRect(float left, float top, float right, float bottom, Direction dir) { argument
515 detectSimplePath(left, top, right, bottom, dir);
516 native_addRect(mNativePath, left, top, right, bottom, dir.nativeInt);
580 * bottom-right, bottom
733 native_addRect(int nPath, float left, float top, float right, float bottom, int dir) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java190 int bottom = Bitmap.scaleFromDensity(insets.bottom, sdensity, tdensity);
191 return Insets.of(left, top, right, bottom);
213 dest.bottom = Bitmap.scaleFromDensity(src.bottom, sdensity, tdensity);
243 padding.set(mPadding.right, mPadding.top, mPadding.left, mPadding.bottom);
247 return (padding.left | padding.top | padding.right | padding.bottom) != 0;
257 mOpticalInsets.bottom);
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.h69 virtual status_t prepareDirty(float left, float top, float right, float bottom, bool opaque);
81 virtual int saveLayer(float left, float top, float right, float bottom,
92 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op);
107 float left, float top, float right, float bottom, SkPaint* paint);
109 virtual status_t drawRect(float left, float top, float right, float bottom, SkPaint* paint);
110 virtual status_t drawRoundRect(float left, float top, float right, float bottom,
113 virtual status_t drawOval(float left, float top, float right, float bottom, SkPaint* paint);
114 virtual status_t drawArc(float left, float top, float right, float bottom,
H A DLayer.cpp193 dirtyRect.right >= width && dirtyRect.bottom >= height)) {
207 dirtyRect.right, dirtyRect.bottom, !isBlend());
228 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom,
243 renderer->prepareDirty(dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom,
H A DLayerRenderer.cpp46 status_t LayerRenderer::prepareDirty(float left, float top, float right, float bottom, argument
55 Rect dirty(left, top, right, bottom);
57 dirty.right >= width && dirty.bottom >= height)) {
62 android::Rect r(dirty.left, dirty.top, dirty.right, dirty.bottom);
67 return OpenGLRenderer::prepareDirty(dirty.left, dirty.top, dirty.right, dirty.bottom, opaque);
70 status_t LayerRenderer::clear(float left, float top, float right, float bottom, bool opaque) { argument
81 return OpenGLRenderer::clear(left, top, right, bottom, opaque);
174 const float v2 = (height - r->bottom) * texY;
178 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2);
179 TextureVertex::set(mesh++, r->right, r->bottom, u
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DNetworkImageView.java179 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
180 super.onLayout(changed, left, top, right, bottom);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DSlidingChallengeLayout.java389 * Animate the bottom edge of the challenge view to the given position.
391 * @param y desired final position for the bottom edge of the challenge view in px
823 final int insetHeight = height - mInsets.top - mInsets.bottom;
954 // Challenge views pin to the bottom, offset by a portion of their height,
960 final int layoutBottom = height - paddingBottom - lp.bottomMargin - mInsets.bottom;
962 // we never want less than the handle size showing at the bottom.
963 final int bottom = layoutBottom + (int) ((childHeight - mChallengeBottomBound)
966 child.layout(left, bottom - childHeight, left + childWidth, bottom);
971 final int bottom
1136 moveChallengeTo(int bottom) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DDisplaySettings.java73 outRect.bottom = entry.overscanBottom;
79 public void setOverscanLocked(String name, int left, int top, int right, int bottom) { argument
80 if (left == 0 && top == 0 && right == 0 && bottom == 0) {
94 entry.overscanBottom = bottom;
/frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
H A DInvisibleRecipientChip.java91 final float x, final int top, final int y, final int bottom, final Paint paint) {
90 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
/frameworks/native/include/ui/
H A Dmat4.h134 static tmat44 ortho(T left, T right, T bottom, T top, T near, T far);
136 static tmat44 frustum(T left, T right, T bottom, T top, T near, T far);
232 tmat44<T> tmat44<T>::ortho(T left, T right, T bottom, T top, T near, T far) { argument
235 m[1][1] = 2 / (top - bottom);
238 m[3][1] = -(top + bottom) / (top - bottom);
244 tmat44<T> tmat44<T>::frustum(T left, T right, T bottom, T top, T near, T far) { argument
247 T B = (top + bottom) / (top - bottom);
251 m[1][1] = (2 * near) / (top - bottom);
[all...]

Completed in 699 milliseconds

1234567891011>>