/frameworks/base/libs/hwui/ |
H A D | DisplayListCanvas.cpp | 130 int DisplayListCanvas::saveLayer(float left, float top, float right, float bottom, argument 136 addStateOp(new (alloc()) SaveLayerOp(left, top, right, bottom, paint, (int) flags)); 181 *outRect = SkRect::MakeLTRB(bounds.left, bounds.top, bounds.right, bounds.bottom); 185 bool DisplayListCanvas::quickRejectRect(float left, float top, float right, float bottom) const { 186 return mState.quickRejectConservative(left, top, right, bottom); 195 bool DisplayListCanvas::clipRect(float left, float top, float right, float bottom, argument 197 addStateOp(new (alloc()) ClipRectOp(left, top, right, bottom, op)); 198 return mState.clipRect(left, top, right, bottom, op); 345 void DisplayListCanvas::drawRect(float left, float top, float right, float bottom, argument 347 addDrawOp(new (alloc()) DrawRectOp(left, top, right, bottom, refPain 350 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 355 drawRoundRect( CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, CanvasPropertyPrimitive* right, CanvasPropertyPrimitive* bottom, CanvasPropertyPrimitive* rx, CanvasPropertyPrimitive* ry, CanvasPropertyPaint* paint) argument 387 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 392 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument [all...] |
H A D | Matrix.cpp | 396 void Matrix4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 400 data[kScaleY] = 2.0f / (top - bottom); 403 data[kTranslateY] = -(top + bottom) / (top - bottom); 455 MUL_ADD_STORE(r.bottom, data[kScaleY], data[kTranslateY]); 463 if (r.top > r.bottom) { 465 r.top = r.bottom; 466 r.bottom = y; 475 r.right, r.bottom, 476 r.left, r.bottom [all...] |
H A D | CanvasState.h | 123 bool quickRejectConservative(float left, float top, float right, float bottom) const; 125 bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op); 141 * Returns true if drawing in the rectangle (left, top, right, bottom) 145 bool calculateQuickRejectForScissor(float left, float top, float right, float bottom,
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MagnificationController.java | 678 private void requestRectangleOnScreen(int left, int top, int right, int bottom) { argument 682 if (!magnifiedFrame.intersects(left, top, right, bottom)) { 707 if (bottom - top > magnifFrameInScreenCoords.height()) { 711 } else if (bottom > magnifFrameInScreenCoords.bottom) { 712 scrollY = bottom - magnifFrameInScreenCoords.bottom; 975 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument 980 args.argi4 = bottom; 984 private void handleOnRectangleOnScreenRequested(int left, int top, int right, int bottom) { argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 201 return bottom(widget, buffer); 219 return bottom(widget, buffer); 237 return bottom(widget, buffer); 329 * Performs a bottom movement action. 330 * Moves the cursor or scrolls to the bottom of the buffer. 336 protected boolean bottom(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 538 final int bottom = widget.getScrollY() + innerHeight; 539 int bottomLine = layout.getLineForVertical(bottom); 540 if (layout.getLineTop(bottomLine + 1) < bottom + 1) { 588 final int bottom [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.h | 101 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area 104 Area(int left, int top, int right, int bottom, int weight): argument 105 left(left), top(top), right(right), bottom(bottom), 108 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | NumPadKey.java | 150 int bottom = top + digitHeight; 151 mDigitText.layout(left, top, left + mDigitText.getMeasuredWidth(), bottom); 152 top = (int) (bottom - klondikeHeight * 0.35f); 153 bottom = top + klondikeHeight; 156 mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | DataUsageDetailView.java | 69 String bottom = null; 82 bottom = res.getString(R.string.quick_settings_cellular_detail_data_limit, 90 bottom = res.getString(R.string.quick_settings_cellular_detail_data_limit, 110 infoBottom.setVisibility(bottom != null ? View.VISIBLE : View.GONE); 111 infoBottom.setText(bottom);
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 209 width-mMainInsets.right, height-mMainInsets.bottom, paint); 213 width - mStableInsets.right, height - mStableInsets.bottom, 221 int y = height - mStableInsets.bottom - mPadding - ascdesc; 238 + ") - (" + mStableInsets.right + ", " + mStableInsets.bottom + ")", 242 + ") - (" + mMainInsets.right + ", " + mMainInsets.bottom + ")",
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RectShadowPainter.java | 86 sideShadow(canvas, edgePaint, edgeShadowRect, outline.right, inset.bottom, 2); 90 // bottom shadow. This needs an inset so that blank doesn't appear when the content is 95 sideShadow(canvas, edgePaint, edgeShadowRect, inset.left, outline.bottom, 3); 98 drawCorner(canvas, cornerPaint, path, inset.right, inset.bottom, outerArcRadius, 0); 99 drawCorner(canvas, cornerPaint, path, inset.left, inset.bottom, outerArcRadius, 1); 173 return (int) rect.left >= (int) rect.right || (int) rect.top >= (int) rect.bottom;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeProgressBar.java | 104 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;
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseWrapContentWithAspectRatioTest.java | 82 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 83 super.onLayout(changed, left, top, right, bottom); 84 mBehavior.onLayout(changed, left, top, right, bottom); 169 public void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 171 layouts.add(new Pair<>(right - left, bottom - top));
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 671 final int bottom = Math.max(0, Math.min(layoutFrame.bottom, displayFrame.bottom) - insetFrame.bottom); 672 frame.inset(left, top, right, bottom); 726 mContainingFrame.bottom = mContainingFrame.top + frozen.height(); 731 if (windowsAreFloating && mContainingFrame.bottom > cf.bottom) { 734 mContainingFrame.top -= mContainingFrame.bottom - cf.bottom; 993 getNeedsMenuLw(WindowManagerPolicy.WindowState bottom) argument [all...] |
H A D | Task.java | 334 * @param alignBottom True if the task's bottom should be aligned to the adjusted 335 * bounds's bottom; false if the task's top should be aligned 346 int offsetY = adjustedBounds.bottom - mTmpRect2.bottom; 395 bounds.bottom = mTmpRect.top + mBounds.height(); 396 } else if (bounds.bottom < mTmpRect.bottom) { 397 bounds.top = mTmpRect.bottom - mBounds.height(); 398 bounds.bottom = mTmpRect.bottom; [all...] |
/frameworks/base/docs/html/ndk/reference/ |
H A D | doxygen.css | 21 border-bottom: 1px solid #A9A9A9; 27 padding-bottom: 4px; 68 margin-bottom: 0px; 72 margin-bottom: 4px; 76 margin-bottom: 2px; 195 padding-bottom: 0px; 234 margin-bottom: 3px; 244 background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); 307 margin-bottom: 0px; 387 margin-bottom [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | FastScroller.java | 586 bounds.bottom += mPreviewImage.getPaddingBottom(); 601 view.layout(bounds.left, bounds.top, bounds.right, bounds.bottom); 619 margins.bottom = mPreviewImage.getPaddingBottom(); 685 final int bottom = top + view.getMeasuredHeight(); 686 out.set(left, top, right, bottom); 716 final int bottom = top + preview.getMeasuredHeight(); 719 out.set(left, top, right, bottom); 733 container.bottom = list.getHeight(); 741 container.bottom -= list.getPaddingBottom(); 780 final int bottom; [all...] |
H A D | ListView.java | 104 * or a footer at the bottom. 209 * Make sure views are touching the top or bottom edge, as appropriate for 234 // we are too high, slide all views down to align with bottom 236 delta = child.getBottom() - (getHeight() - mListPadding.bottom); 350 * Add a fixed view to appear at the bottom of the list. If addFooterView is 388 * Add a fixed view to appear at the bottom of the list. If addFooterView is 562 * @return Whether the list needs to show the bottom fading edge 569 final int listBottom = mScrollY + getHeight() - mListPadding.bottom; 601 // leave room for bottom fading edge as long as rect isn't at very bottom [all...] |
H A D | ScrollView.java | 914 * if topFocus is true, or at the bottom of the bounds if topFocus is 918 * @param bottom the bottom offset of the bounds in which a focusable must 923 private View findFocusableViewInBounds(boolean topFocus, int top, int bottom) { argument 930 * top, and its bottom is above the bound's bottom. A partially 943 if (top < viewBottom && viewTop < bottom) { 950 (viewBottom < bottom); 1022 mTempRect.bottom = mTempRect.top + height; 1024 return scrollAndFocus(direction, mTempRect.top, mTempRect.bottom); 1070 scrollAndFocus(int direction, int top, int bottom) argument [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextLine.java | 191 * @param bottom the bottom of the line 193 void draw(Canvas c, float x, int top, int y, int bottom) { argument 196 drawRun(c, 0, mLen, false, x, top, y, bottom, false); 200 drawRun(c, 0, mLen, true, x, top, y, bottom, false); 232 h += drawRun(c, segstart, j, runIsRtl, x+h, top, y, bottom, 352 * @param bottom the bottom of the line 358 int limit, boolean runIsRtl, float x, int top, int y, int bottom, 364 y, bottom, nul 357 drawRun(Canvas c, int start, int limit, boolean runIsRtl, float x, int top, int y, int bottom, boolean needWidth) argument 695 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 786 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 851 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 D | Layout.java | 500 dbottom = sTempRect.bottom; 504 final int bottom = Math.min(getLineTop(getLineCount()), dbottom); 506 if (top >= bottom) return TextUtils.packRangeInLong(0, -1); 507 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom)); 654 * If bounds is not null, return the top, left, right, bottom extents 665 bounds.bottom = getLineTop(line + 1); 674 * bottom of the last line. 720 * bottom line of the Layout. 1097 * below the bottom of the text, you get the last line. 1286 * Return the vertical position of the bottom o 1499 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 359 boolean mNavigationBarOnBottom = true; // is the navigation bar on the bottom *right now*? 1902 public void setDisplayOverscan(Display display, int left, int top, int right, int bottom) { argument 1907 mOverscanBottom = bottom; 2289 // Height of the navigation bar when presented horizontally at bottom 2304 // Height of the navigation bar when presented horizontally at bottom 2332 // wallpaper is at the bottom, though the window manager may move it. 2484 // the navigation bar to the bottom. 2785 // This can be on either the bottom or the right. 2838 || frame.bottom + insets >= win.getDisplayFrameLw().bottom); [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | NinePatchDrawable.java | 234 scaledBounds.bottom = bounds.top + Math.round(bounds.height() / scale); 244 final float cy = (bounds.top + bounds.bottom) / 2.0f; 272 return (padding.left | padding.top | padding.right | padding.bottom) != 0; 292 bounds.bottom - mOutlineInsets.bottom, 310 opticalInsets.left, opticalInsets.bottom); 678 final int bottom = Drawable.scaleFromDensity( 679 sourceOpticalInsets.bottom, sourceDensity, targetDensity, true); 680 mOpticalInsets = Insets.of(left, top, right, bottom); 696 mPadding.bottom [all...] |
/frameworks/support/design/src/android/support/design/internal/ |
H A D | ScrimInsetsFrameLayout.java | 97 mTempRect.set(0, height - mInsets.bottom, width, height); 102 mTempRect.set(0, mInsets.top, mInsets.left, height - mInsets.bottom); 107 mTempRect.set(width - mInsets.right, mInsets.top, width, height - mInsets.bottom);
|
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 235 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 D | ParamsUtils.java | 38 * 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;
|