/frameworks/base/core/java/android/text/style/ |
H A D | BulletSpan.java | 81 int top, int baseline, int bottom, 103 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f); 107 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p); 80 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 | 58 * @param top the top of the line 69 int top, int baseline, int bottom, 146 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 144 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 | 67 int top, int baseline, int bottom, 76 c.drawRect(x, top, x + dir * STRIPE_WIDTH, bottom, p); 66 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/ |
H A D | HardwareCanvas.java | 90 * @param y The top coordinate of the layer 113 public abstract void drawRoundRect(CanvasProperty<Float> left, CanvasProperty<Float> top, argument
|
H A D | WindowManagerInternal.java | 67 * @param top The rectangle top. 71 public void onRectangleOnScreenRequested(int left, int top, int right, int bottom); argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | SparseRectFArray.java | 45 * {@code rects[mKeys[0]].left}, {@code rects[mKeys[0]].top}, 47 * {@code rects[mKeys[1]].left}, {@code rects[mKeys[1]].top}, 49 * {@code rects[mKeys[2]].left}, {@code rects[mKeys[2]].top}, .... 195 * @param top top of the rectangle. 203 final float left, final float top, final float right, final float bottom, 209 mCoordinates[baseCoordinatesIndex + 1] = top; 202 append(final int key, final float left, final float top, final float right, final float bottom, final int flags) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Outline.java | 142 public void setRect(int left, int top, int right, int bottom) { argument 143 setRoundRect(left, top, right, bottom, 0.0f); 150 setRect(rect.left, rect.top, rect.right, rect.bottom); 158 public void setRoundRect(int left, int top, int right, int bottom, float radius) { argument 159 if (left >= right || top >= bottom) { 165 mRect.set(left, top, right, bottom); 174 setRoundRect(rect.left, rect.top, rect.right, rect.bottom, radius); 180 public void setOval(int left, int top, int right, int bottom) { argument 181 if (left >= right || top >= bottom) { 186 if ((bottom - top) [all...] |
H A D | YuvImage.java | 28 * region by left, top, width and height. 139 int[] offsets = calculateOffsets(rectangle.left, rectangle.top); 182 int[] calculateOffsets(int left, int top) { argument 185 offsets = new int[] {top * mStrides[0] + left, 186 mHeight * mStrides[0] + top / 2 * mStrides[1] 192 offsets = new int[] {top * mStrides[0] + left / 2 * 4}; 218 // Make sure left, top, width and height are all even. 222 rect.top &= ~1; 224 rect.bottom = rect.top + height;
|
/frameworks/base/libs/hwui/ |
H A D | Outline.h | 34 void setRoundRect(int left, int top, int right, int bottom, float radius, float alpha) { argument 36 mBounds.set(left, top, right, bottom); 39 mPath.addRoundRect(SkRect::MakeLTRB(left, top, right, bottom),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | FadedEdgeDrawHelper.java | 86 int left, int right, int top, int bottom, int scrollX, int scrollY, 116 // clip the fade length if top and bottom fades overlap 118 if (mIsVertical && (top + length > bottom - length)) { 119 length = (bottom - top) / 2; 143 mFadeMatrix.postTranslate(left, top); 146 canvas.drawRect(left, top, right, top + length, mFadePaint); 149 // Draw under the status bar at the top 153 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPain 85 drawCallback(Canvas canvas, int left, int right, int top, int bottom, int scrollX, int scrollY, float topFadingEdgeStrength, float bottomFadingEdgeStrength, float leftFadingEdgeStrength, float rightFadingEdgeStrength, int mPaddingTop) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | SpeedBumpView.java | 60 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 61 super.onLayout(changed, left, top, right, bottom);
|
H A D | StackScrollerDecorView.java | 49 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 50 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyguardUserSwitcherScrim.java | 89 public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, argument 91 if (left != oldLeft || top != oldTop || right != oldRight || bottom != oldBottom) { 93 mTop = top;
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | RecentApplicationsBackground.java | 60 protected boolean setFrame(int left, int top, int right, int bottom) { argument 62 if (mLeft != left || mRight != right || mTop != top || mBottom != bottom) { 65 return super.setFrame(left, top, right, bottom); 100 final int top = chld.top - bkg.top; 115 background.setBounds(left, top, right, bottom); 144 r.left = r.top = Integer.MAX_VALUE; 151 r.top = Math.min(r.top, [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BlackFrame.java | 35 final int top; field in class:BlackFrame.BlackSurface 42 top = t; 70 mTmpMatrix.setTranslate(left, top); 79 Slog.i(WindowManagerService.TAG, "Black Surface @ (" + left + "," + top + "): (" 111 pw.print(" top="); pw.println(bs.top); 124 if (outer.top < inner.top) { 126 outer.left, outer.top, inner.right, inner.top, layerStac [all...] |
/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 | 35 fm.ascent = Math.min(fm.top, fm.top + (textHeight - bounds.bottom) / 2) - halfMargin; 38 fm.top = fm.ascent; 50 public void draw(Canvas canvas, CharSequence charSequence, int start, int end, float x, int top, argument 53 int transY = (bottom - mDrawable.getBounds().bottom + top) / 2;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ScaleFrameLayout.java | 62 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 83 parentBottom = (int)(pivotY + (bottom - top - pivotY) / mLayoutScaleY + 0.5f) 87 parentBottom = bottom - top - getPaddingBottom();
|
/frameworks/support/v4/api21/android/support/v4/view/ |
H A D | WindowInsetsCompatApi21.java | 76 public WindowInsetsCompat replaceSystemWindowInsets(int left, int top, int right, int bottom) { argument 77 return new WindowInsetsCompatApi21(mSource.replaceSystemWindowInsets(left, top, right, bottom));
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 37 void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom); argument 65 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 116 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 117 DrawableCompatL.setHotspotBounds(drawable, left, top, right, bottom); 213 public static void setHotspotBounds(Drawable drawable, int left, int top, argument 215 IMPL.setHotspotBounds(drawable, left, top, right, bottom);
|
/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | NetworkImageView.java | 196 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 197 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 133 status_t err = addGainMap(/*top*/redTop, 151 err = addGainMap(/*top*/greenEvenTop, 169 err = addGainMap(/*top*/greenOddTop, 187 err = addGainMap(/*top*/blueTop, 206 status_t OpcodeListBuilder::addGainMap(uint32_t top, argument 248 uint32_t settings1[] = { top,
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioEqualizer.cpp | 87 const int32_t top = Effects_log2(mSampleRate * 500); local 88 const int32_t jump = (top - bottom) / (mNumPeaking + 2);
|
/frameworks/av/media/libstagefright/ |
H A D | MetaData.cpp | 82 int32_t left, int32_t top, 86 r.mTop = top; 171 int32_t *left, int32_t *top, 184 *top = r->mTop; 80 setRect( uint32_t key, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 169 findRect( uint32_t key, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) argument
|