/frameworks/av/include/ndk/ |
H A D | NdkImage.h | 407 * <p>Note that the right and bottom coordinates are exclusive, so the width of the rectangle is 408 * (right - left) and the height of the rectangle is (bottom - top).</p> 414 int32_t bottom; member in struct:AImageCropRect
|
/frameworks/av/media/img_utils/src/ |
H A D | DngUtils.cpp | 147 /*bottom*/activeAreaHeight - 1, 165 /*bottom*/activeAreaHeight - 1, 183 /*bottom*/activeAreaHeight - 1, 201 /*bottom*/activeAreaHeight - 1, 220 uint32_t bottom, 256 bottom, 218 addGainMap(uint32_t top, uint32_t left, uint32_t bottom, uint32_t right, uint32_t plane, uint32_t planes, uint32_t rowPitch, uint32_t colPitch, uint32_t mapPointsV, uint32_t mapPointsH, double mapSpacingV, double mapSpacingH, double mapOriginV, double mapOriginH, uint32_t mapPlanes, const float* mapGains) argument
|
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioEqualizer.cpp | 86 const int32_t bottom = Effects_log2(kMinFreq); local 88 const int32_t jump = (top - bottom) / (mNumPeaking + 2); 89 int32_t centerFreq = bottom + jump/2;
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 5222 // NOTE: native window uses extended right-bottom coordinate 5223 int32_t left, top, right, bottom; local 5224 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { 5225 notify->setRect("crop", left, top, right + 1, bottom + 1); 6128 if (msg->findRect("crop", &crop.left, &crop.top, &crop.right, &crop.bottom)
|
H A D | MediaCodec.cpp | 1452 int32_t left, top, right, bottom, width, height; local 1453 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { 1454 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); 2672 int32_t left, top, right, bottom; local 2673 if (info->mFormat->findRect("crop", &left, &top, &right, &bottom)) { 2674 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_reconstruct.c | 2240 i32 top, y, bottom; local 2288 bottom = ystop > (i32)height ? ystop - (i32)height : 0; 2289 y = (i32)blockHeight - top - bottom; 2309 for ( ; bottom; bottom-- )
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 285 int32_t left, int32_t top, int32_t right, int32_t bottom) { 292 item->u.rectValue.mBottom = bottom; 333 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const { 342 *bottom = item->u.rectValue.mBottom; 283 setRect( const char *name, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
|
H A D | MetaData.cpp | 83 int32_t right, int32_t bottom) { 88 r.mBottom = bottom; 172 int32_t *right, int32_t *bottom) { 186 *bottom = r->mBottom; 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
|
/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/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 718 int left, int top, int right, int bottom) 725 hw->mPreviewCrop.bottom = bottom; 717 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 221 public void setBounds(int left, int top, int right, int bottom) { argument 223 mDrawTop = top + (bottom-top - mHeight) / 2; 457 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned 477 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned 541 float bottom = top + outHeight; 542 cropRectF = new RectF(left, top, right, bottom); 626 cropRect.bottom = inHeight; 635 cropRect.bottom = cropRect.top + cropHeight; 1325 * on its left, top, right, and bottom sides.
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHostView.java | 153 setPadding(padding.left, padding.top, padding.right, padding.bottom); 200 padding.bottom = r.getDimensionPixelSize(com.android.internal. 246 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 248 super.onLayout(changed, left, top, right, bottom); 300 int yPaddingDips = (int) ((padding.top + padding.bottom) / density);
|
/frameworks/base/core/java/android/text/ |
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...] |
H A D | StaticLayout.java | 579 // must be a multiple of 4 (and > 0) (store top, bottom, ascent, and descent per range) 730 // the order of storage here (top, bottom, ascent, descent) has to match the code below 733 fmCache[fmCacheCount * 4 + 1] = fm.bottom; 791 fm.bottom = fmCache[fmCacheIndex * 4 + 1]; 805 if (fm.bottom > fmBottom) { 806 fmBottom = fm.bottom; 829 fmBottom = fm.bottom; 859 fm.top, fm.bottom, 871 int above, int below, int top, int bottom, int v, 903 fm.bottom 870 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, int flags, 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...] |
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/text/method/ |
H A D | ArrowKeyMovementMethod.java | 167 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
|
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...] |
H A D | ScrollingMovementMethod.java | 64 protected boolean bottom(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod 85 return bottom(widget, buffer);
|
/frameworks/base/core/java/android/text/style/ |
H A D | BulletSpan.java | 91 int top, int baseline, int bottom, 113 c.translate(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f); 117 c.drawCircle(x + dir * BULLET_RADIUS, (top + bottom) / 2.0f, BULLET_RADIUS, p); 90 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 | DrawableMarginSpan.java | 42 int top, int baseline, int bottom, 67 need = ht - (v + fm.bottom - fm.top - istartv); 69 fm.bottom += need; 41 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 | DynamicDrawableSpan.java | 33 * A constant indicating that the bottom of this span should be aligned 34 * with the bottom of the surrounding text, i.e., at the same level as the 40 * A constant indicating that the bottom of this span should be aligned 81 fm.ascent = -rect.bottom; 85 fm.bottom = 0; 94 int top, int y, int bottom, Paint paint) { 98 int transY = bottom - b.getBounds().bottom; 92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|
H A D | IconMarginSpan.java | 42 int top, int baseline, int bottom, 64 need = ht - (v + fm.bottom - fm.top - istartv); 66 fm.bottom += need; 41 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 | LeadingMarginSpan.java | 60 * @param bottom the bottom of the line 69 int top, int baseline, int bottom, 156 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 154 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 | LineBackgroundSpan.java | 27 int top, int baseline, int bottom, 25 drawBackground(Canvas c, Paint p, int left, int right, int top, int baseline, int bottom, CharSequence text, int start, int end, int lnum) argument
|
H A D | QuoteSpan.java | 79 int top, int baseline, int bottom, 88 c.drawRect(x, top, x + dir * STRIPE_WIDTH, bottom, p); 78 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
|