/frameworks/base/graphics/java/android/graphics/ |
H A D | RectF.java | 27 * represented by the coordinates of its 4 edges (left, top, right bottom). 30 * the coordinates are sorted correctly (i.e. left <= right and top <= bottom). 36 public float bottom; field in class:RectF 46 * top <= bottom. 51 * @param bottom The Y coordinate of the bottom of the rectangle 53 public RectF(float left, float top, float right, float bottom) { argument 57 this.bottom = bottom; 69 left = top = right = bottom 197 set(float left, float top, float right, float bottom) argument 302 contains(float left, float top, float right, float bottom) argument 344 intersect(float left, float top, float right, float bottom) argument 417 intersects(float left, float top, float right, float bottom) argument 466 union(float left, float top, float right, float bottom) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | BakedOpRenderer.h | 98 void drawRect(float left, float top, float right, float bottom, const SkPaint* paint) { argument 99 float ltrb[4] = { left, top, right, bottom };
|
H A D | DamageAccumulator.cpp | 227 void DamageAccumulator::dirty(float left, float top, float right, float bottom) { argument 228 mHead->pendingDirty.join(left, top, right, bottom);
|
H A D | Layer.cpp | 163 void Layer::updateDeferred(RenderNode* renderNode, int left, int top, int right, int bottom) { argument 166 const Rect r(left, top, right, bottom); 228 dirtyRect.right >= width && dirtyRect.bottom >= height)) { 238 dirtyRect.right, dirtyRect.bottom, !isBlend()); 259 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend()); 277 dirtyRect.left, dirtyRect.top, dirtyRect.right, dirtyRect.bottom, !isBlend());
|
H A D | Rect.h | 34 (r).left, (r).top, (r).right, (r).bottom 36 (r).left(), (r).top(), (r).right(), (r).bottom() 47 float bottom; member in class:android::uirenderer::Rect 59 bottom(0) { 62 inline Rect(float left, float top, float right, float bottom): argument 66 bottom(bottom) { 73 bottom(height) { 80 bottom(rect.fBottom) { 92 left = top = right = bottom 105 set(float left, float top, float right, float bottom) argument [all...] |
H A D | Snapshot.cpp | 101 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 103 mClipArea->setClip(left, top, right, bottom); 120 void Snapshot::resetClip(float left, float top, float right, float bottom) { argument 125 setClip(left, top, right, bottom); 209 state->dangerRects[0].bottom = state->dangerRects[1].bottom = bounds.top + radius; 212 state->dangerRects[2].top = state->dangerRects[3].top = bounds.bottom - radius; 285 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple());
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 59 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth; local 60 drawRect(left, top, right, bottom, paint); 64 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth; local 65 drawRect(left, top, right, bottom, paint);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 141 void setContentDrawBounds(int left, int top, int right, int bottom) { argument 142 mContentDrawBounds.set(left, top, right, bottom);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestUtils.h | 54 && MathUtils::areEqual(a.bottom, b.bottom)); 157 static sp<RenderNode> createNode(int left, int top, int right, int bottom, argument 167 props.setLeftTopRightBottom(left, top, right, bottom);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLU.java | 89 * @param bottom 93 float bottom, float top) { 94 gl.glOrthof(left, right, bottom, top, -1.0f, 1.0f); 114 float bottom = -top; 115 float left = bottom * aspect; 117 gl.glFrustumf(left, right, bottom, top, zNear, zFar); 92 gluOrtho2D(GL10 gl, float left, float right, float bottom, float top) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
H A D | AssistDisclosure.java | 241 private void drawBeam(Canvas canvas, float left, float top, float right, float bottom, argument 246 bottom + padding,
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Region_Delegate.java | 182 int left, int top, int right, int bottom) { 189 regionDelegate.mArea.contains(left, top, right - left, bottom - top); 194 int left, int top, int right, int bottom) { 201 regionDelegate.mArea.intersects(left, top, right - left, bottom - top) == false; 296 int left, int top, int right, int bottom) { 302 dstRegion.mArea = new Area(new Rectangle2D.Float(left, top, right - left, bottom - top)); 337 rect.left = rect.top = rect.right = rect.bottom = 0; 344 rect.bottom = bounds.y + bounds.height; 371 int left, int top, int right, int bottom, int op) { 378 new Rectangle2D.Float(left, top, right - left, bottom 181 quickContains(Region thisRegion, int left, int top, int right, int bottom) argument 193 quickReject(Region thisRegion, int left, int top, int right, int bottom) argument 295 nativeSetRect(long native_dst, int left, int top, int right, int bottom) argument 370 nativeOp(long native_dst, int left, int top, int right, int bottom, int op) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | RenderNode_Delegate.java | 213 /*package*/ static boolean nSetBottom(long renderNode, int bottom) { argument 215 if (delegate != null && delegate.mBottom != bottom) { 216 delegate.mBottom = bottom; 224 int bottom) { 227 .mRight != right || delegate.mBottom != bottom)) { 231 delegate.mBottom = bottom; 223 nSetLeftTopRightBottom(long renderNode, int left, int top, int right, int bottom) argument
|
/frameworks/native/include/private/ui/ |
H A D | RegionHelper.h | 78 int inside = spanner.next(current.top, current.bottom); 85 current.top < current.bottom) { 170 SpannerBase::lhs_tail = lhs.rects->bottom + lhs.dy; 174 SpannerBase::rhs_tail = rhs.rects->bottom + rhs.dy; 182 inline int next(TYPE& top, TYPE& bottom) argument 186 int inside = SpannerBase::next(top, bottom, more_lhs, more_rhs); 210 aBottom = rects->bottom + reg.dy;
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/ |
H A D | SetupWizardRecyclerLayout.java | 102 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 103 super.onLayout(changed, left, top, right, bottom); 204 mDividerInset /* start */, 0 /* top */, 0 /* end */, 0 /* bottom */, this);
|
/frameworks/rs/ |
H A D | rsMatrix4x4.cpp | 276 void Matrix4x4::loadOrtho(float left, float right, float bottom, float top, float near, float far) { argument 279 m[5] = 2.f / (top - bottom); 282 m[13]= -(top + bottom) / (top - bottom); 286 void Matrix4x4::loadFrustum(float left, float right, float bottom, float top, float near, float far) { argument 289 m[5] = 2.f * near / (top - bottom); 291 m[9] = (top + bottom) / (top - bottom); 300 float bottom = -top; local 301 float left = bottom * aspec [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
H A D | CollapsingTextHelper.java | 153 void setExpandedBounds(int left, int top, int right, int bottom) { 154 if (!rectEquals(mExpandedBounds, left, top, right, bottom)) { 155 mExpandedBounds.set(left, top, right, bottom); 161 void setCollapsedBounds(int left, int top, int right, int bottom) { 162 if (!rectEquals(mCollapsedBounds, left, top, right, bottom)) { 163 mCollapsedBounds.set(left, top, right, bottom); 367 mCollapsedDrawY = mCollapsedBounds.bottom; 399 mExpandedDrawY = mExpandedBounds.bottom; 437 mCurrentBounds.bottom = lerp(mExpandedBounds.bottom, mCollapsedBound 662 rectEquals(Rect r, int left, int top, int right, int bottom) argument [all...] |
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | VectorDrawableCommon.java | 96 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 98 DrawableCompat.setHotspotBounds(mDelegateDrawable, left, top, right, bottom);
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 47 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument 84 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 218 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 219 DrawableCompatLollipop.setHotspotBounds(drawable, left, top, right, bottom); 370 int right, int bottom) { 371 IMPL.setHotspotBounds(drawable, left, top, right, bottom); 369 setHotspotBounds(@onNull Drawable drawable, int left, int top, int right, int bottom) argument
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTabStrip.java | 37 * android:layout_gravity to TOP or BOTTOM to pin it to the top or bottom 155 public void setPadding(int left, int top, int right, int bottom) { argument 156 if (bottom < mMinPaddingBottom) { 157 bottom = mMinPaddingBottom; 159 super.setPadding(left, top, right, bottom); 264 final int bottom = height; 267 final int top = bottom - mIndicatorHeight; 270 canvas.drawRect(left, top, right, bottom, mTabPaint); 282 int bottom = getHeight(); 285 int top = bottom [all...] |
/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/appcompat/src/android/support/v7/widget/ |
H A D | ListViewCompat.java | 92 mSelectionBottomPadding = padding.bottom; 225 selectorRect.bottom += mSelectionBottomPadding; 395 public void setHotspotBounds(int left, int top, int right, int bottom) { argument 397 super.setHotspotBounds(left, top, right, bottom);
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
H A D | CardView.java | 45 * sides and <code>maxCardElevation * 1.5 + (1 - cos45) * cornerRadius</code> on top and bottom. 125 public void setPadding(int left, int top, int right, int bottom) { argument 129 public void setPaddingRelative(int start, int top, int end, int bottom) { argument 175 * @param bottom The bottom padding in pixels 182 public void setContentPadding(int left, int top, int right, int bottom) { argument 183 mContentPadding.set(left, top, right, bottom); 246 mContentPadding.bottom = a.getDimensionPixelSize(R.styleable.CardView_contentPaddingBottom, 328 * Returns the inner padding before the Card's bottom edge 330 * @return the inner padding before the Card's bottom edg [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...] |
/frameworks/base/core/java/android/view/ |
H A D | DisplayListCanvas.java | 244 CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, 247 right.getNativeContainer(), bottom.getNativeContainer(), 243 drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, CanvasProperty<Float> right, CanvasProperty<Float> bottom, CanvasProperty<Float> rx, CanvasProperty<Float> ry, CanvasProperty<Paint> paint) argument
|