Searched refs:bottom (Results 151 - 175 of 709) sorted by relevance

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DDataUsageDetailView.java71 String bottom = null;
84 bottom = res.getString(R.string.quick_settings_cellular_detail_data_limit,
92 bottom = res.getString(R.string.quick_settings_cellular_detail_data_limit,
116 infoBottom.setVisibility(bottom != null ? View.VISIBLE : View.GONE);
117 infoBottom.setText(bottom);
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java217 width-mMainInsets.right, height-mMainInsets.bottom, paint);
221 width - mStableInsets.right, height - mStableInsets.bottom,
229 int y = height - mStableInsets.bottom - mPadding - ascdesc;
246 + ") - (" + mStableInsets.right + ", " + mStableInsets.bottom + ")",
250 + ") - (" + mMainInsets.right + ", " + mMainInsets.bottom + ")",
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DSwipeProgressBar.java104 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom);
233 mParent, mBounds.left, mBounds.top, mBounds.right, mBounds.bottom);
270 void setBounds(int left, int top, int right, int bottom) { argument
274 mBounds.bottom = bottom;
H A DNestedScrollView.java1001 final int bottom = maxOverScrollY + scrollRangeY;
1013 if (newScrollY > bottom) {
1014 newScrollY = bottom;
1046 * if topFocus is true, or at the bottom of the bounds if topFocus is
1050 * @param bottom the bottom offset of the bounds in which a focusable must
1055 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument
1062 * top, and its bottom is above the bound's bottom. A partially
1075 if (top < viewBottom && viewTop < bottom) {
1200 scrollAndFocus(int direction, int top, int bottom) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DFastScroller.java587 bounds.bottom += mPreviewImage.getPaddingBottom();
602 view.layout(bounds.left, bounds.top, bounds.right, bounds.bottom);
620 margins.bottom = mPreviewImage.getPaddingBottom();
686 final int bottom = top + view.getMeasuredHeight();
687 out.set(left, top, right, bottom);
717 final int bottom = top + preview.getMeasuredHeight();
720 out.set(left, top, right, bottom);
734 container.bottom = list.getHeight();
742 container.bottom -= list.getPaddingBottom();
781 final int bottom;
[all...]
H A DScrollView.java929 * if topFocus is true, or at the bottom of the bounds if topFocus is
933 * @param bottom the bottom offset of the bounds in which a focusable must
938 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument
945 * top, and its bottom is above the bound's bottom. A partially
958 if (top < viewBottom && viewTop < bottom) {
965 (viewBottom < bottom);
1037 mTempRect.bottom = mTempRect.top + height;
1039 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom);
1085 scrollAndFocus(int direction, int top, int bottom) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextLine.java212 * @param bottom the bottom of the line
214 void draw(Canvas c, float x, int top, int y, int bottom) { argument
217 drawRun(c, 0, mLen, false, x, top, y, bottom, false);
221 drawRun(c, 0, mLen, true, x, top, y, bottom, false);
253 h += drawRun(c, segstart, j, runIsRtl, x+h, top, y, bottom,
373 * @param bottom the bottom of the line
379 int limit, boolean runIsRtl, float x, int top, int y, int bottom,
385 y, bottom, nul
378 drawRun(Canvas c, int start, int limit, boolean runIsRtl, float x, int top, int y, int bottom, boolean needWidth) argument
717 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, int offset) argument
809 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
886 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.java640 dbottom = sTempRect.bottom;
644 final int bottom = Math.min(getLineTop(getLineCount()), dbottom);
646 if (top >= bottom) return TextUtils.packRangeInLong(0, -1);
647 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom));
805 * If bounds is not null, return the top, left, right, bottom extents
816 bounds.bottom = getLineTop(line + 1);
825 * bottom of the last line.
871 * bottom line of the Layout.
1258 * below the bottom of the text, you get the last line.
1446 * Return the vertical position of the bottom o
1659 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument
[all...]
/frameworks/base/libs/hwui/
H A DSkiaCanvas.cpp186 int SkiaCanvas::saveLayer(float left, float top, float right, float bottom, argument
188 const SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom);
194 int SkiaCanvas::saveLayerAlpha(float left, float top, float right, float bottom, argument
199 return this->saveLayer(left, top, right, bottom, &alphaPaint, flags);
201 return this->saveLayer(left, top, right, bottom, nullptr, flags);
376 bool SkiaCanvas::quickRejectRect(float left, float top, float right, float bottom) const {
377 SkRect bounds = SkRect::MakeLTRB(left, top, right, bottom);
385 bool SkiaCanvas::clipRect(float left, float top, float right, float bottom, SkClipOp op) { argument
386 SkRect rect = SkRect::MakeLTRB(left, top, right, bottom);
482 void SkiaCanvas::drawRect(float left, float top, float right, float bottom, argument
494 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument
506 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument
512 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument
746 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument
[all...]
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java2266 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom) { argument
2272 mOverscanBottom = bottom;
2671 // Height of the navigation bar when presented horizontally at bottom
2687 // Height of the navigation bar when presented horizontally at bottom
2747 // the navigation bar to the bottom.
3102 // This can be on either the bottom or the right or the left.
3169 || frame.bottom + insets >= win.getDisplayFrameLw().bottom);
4286 outOutsets.bottom += outset;
4355 int bottomInset = taskBounds.bottom
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java233 scaledBounds.bottom = bounds.top + Math.round(bounds.height() / scale);
243 final float cy = (bounds.top + bounds.bottom) / 2.0f;
271 return (padding.left | padding.top | padding.right | padding.bottom) != 0;
291 bounds.bottom - mOutlineInsets.bottom,
309 opticalInsets.left, opticalInsets.bottom);
674 final int bottom = Drawable.scaleFromDensity(
675 sourceOpticalInsets.bottom, sourceDensity, targetDensity, true);
676 mOpticalInsets = Insets.of(left, top, right, bottom);
692 mPadding.bottom
[all...]
H A DInsetDrawable.java227 out.bottom = mState.mInsetBottom.getDimension(b.height());
237 padding.bottom += mTmpInsetRect.bottom;
240 | mTmpInsetRect.top | mTmpInsetRect.bottom) != 0;
252 contentInsets.bottom + mTmpInsetRect.bottom);
262 || mTmpInsetRect.bottom > 0)) {
276 r.bottom -= mState.mInsetBottom.getDimension(bounds.height());
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipTouchHandler.java62 // Allow the PIP to be flung from anywhere on the screen to the bottom to be dismissed.
279 if (bounds.top == mMovementBounds.bottom) {
282 bounds.offsetTo(bounds.left, toMovementBounds.bottom);
284 bounds.offset(0, Math.min(0, toMovementBounds.bottom - bounds.top));
288 if (bounds.top == mMovementBounds.bottom) {
290 bounds.offsetTo(bounds.left, toMovementBounds.bottom);
411 final float target = mMovementBounds.bottom + bounds.height();
413 if (bounds.bottom > target) {
414 final float distance = bounds.bottom - target;
550 mMovementWithinDismiss = touchState.getDownTouchPosition().y >= mMovementBounds.bottom;
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java390 if (startY > startBounds.bottom) {
434 nY = Math.min(Math.max(nY, mTmpRect.top), mTmpRect.bottom);
459 int bottom = mWindowOriginalBounds.bottom;
469 int height = bottom - top;
533 final boolean grows = width > (right - left) || height > (bottom - top);
544 updateDraggedBounds(left, top, right, bottom, width, height);
553 * @param bottom The original bottom bound before the user started dragging.
557 void updateDraggedBounds(int left, int top, int right, int bottom, in argument
[all...]
/frameworks/support/design/src/android/support/design/internal/
H A DScrimInsetsFrameLayout.java101 mTempRect.set(0, height - mInsets.bottom, width, height);
106 mTempRect.set(0, mInsets.top, mInsets.left, height - mInsets.bottom);
111 mTempRect.set(width - mInsets.right, mInsets.top, width, height - mInsets.bottom);
/frameworks/base/core/jni/android/graphics/
H A DGraphicBuffer.cpp68 jfieldID bottom; member in struct:android::__anon1037
169 rect.bottom = GET_INT(dirtyRect, gRectClassInfo.bottom);
200 nativeCanvas->clipRect(rect.left, rect.top, rect.right, rect.bottom,
205 int(rect.left), int(rect.top), int(rect.right), int(rect.bottom));
316 gRectClassInfo.bottom = GetFieldIDOrDie(env, clazz, "bottom", "I");
H A DRegion.cpp60 static jboolean Region_setRect(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom) { argument
62 bool result = dst->setRect(left, top, right, bottom);
91 static jboolean Region_op0(JNIEnv* env, jobject, jlong dstHandle, jint left, jint top, jint right, jint bottom, jint op) { argument
95 ir.set(left, top, right, bottom);
139 static jboolean Region_quickContains(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument
140 bool result = GetSkRegion(env, region)->quickContains(left, top, right, bottom);
144 static jboolean Region_quickRejectIIII(JNIEnv* env, jobject region, jint left, jint top, jint right, jint bottom) { argument
146 ir.set(left, top, right, bottom);
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DRenderNode_Delegate.java220 /*package*/ static boolean nSetBottom(long renderNode, int bottom) { argument
222 if (delegate != null && delegate.mBottom != bottom) {
223 delegate.mBottom = bottom;
231 int bottom) {
234 .mRight != right || delegate.mBottom != bottom)) {
238 delegate.mBottom = bottom;
230 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp235 if (abs(r1.bottom - r2.bottom) > tolerance) {
239 msg += String8::format("bottom(%d isn't %d)", r1.bottom, r2.bottom);
243 r1.left, r1.top, r1.right, r1.bottom,
244 r2.left, r2.top, r2.right, r2.bottom);
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DParamsUtils.java38 * left, top = {@code (0, 0)} and right, bottom = {@code (width, height)}
54 * each corner (left, top, right, bottom) rounded towards the nearest integer bounding box.
56 * <p>In particular (left, top) is floored, and (right, bottom) is ceiled.</p>
75 * a new rectangle, with each corner (left, top, right, bottom) rounded towards the nearest
175 destination.bottom = source.bottom;
/frameworks/base/core/java/android/text/method/
H A DScrollingMovementMethod.java65 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
86 return bottom(widget, buffer);
/frameworks/base/graphics/java/android/graphics/
H A DBitmapRegionDecoder.java191 if (rect.right <= 0 || rect.bottom <= 0 || rect.left >= getWidth()
195 rect.right - rect.left, rect.bottom - rect.top, options);
/frameworks/base/libs/hwui/pipeline/skia/
H A DAnimatedDrawables.h32 uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx,
37 , mBottom(bottom)
30 AnimatedRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* p) argument
/frameworks/base/media/java/android/media/tv/
H A DITvInputClient.aidl42 void onLayoutSurface(int left, int top, int right, int bottom, int seq);
/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) {

Completed in 441 milliseconds

1234567891011>>