/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 | ACodec.cpp | 3848 int32_t left, top, right, bottom; local 3851 notify->findRect("crop", &left, &top, &right, &bottom)) { 3854 reply->setRect("crop", left, top, right + 1, bottom + 1); 4637 &crop.left, &crop.top, &crop.right, &crop.bottom)) {
|
H A D | MediaCodec.cpp | 1022 int32_t left, top, right, bottom, width, height; local 1023 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) { 1024 mCrypto->notifyResolution(right - left + 1, bottom - top + 1); 2057 int32_t left, top, right, bottom; local 2058 if (info->mFormat->findRect("crop", &left, &top, &right, &bottom)) { 2059 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
|
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
|
H A D | OMXCodec.cpp | 2526 int32_t left, top, right, bottom; local 2528 &left, &top, 2545 ((bottom - top + 1) * scale.xHeight) >> 16); 4209 int32_t left, top, right, bottom; local 4213 &left, &top, &right, &bottom)); 4217 crop.top = top;
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avcint_common.h | 472 int top; /* macroblock address of the current pixel, see below */ member in struct:tagNeighborAvailability 493 AVCPictureType picType; /* frame, top-field or bot-field */ 518 int IsReference; /* 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used */ 519 int IsLongTerm; /* 0=not used for ref; 1=top used; 2=bottom used; 3=both fields (or frame) used */ 545 frame top bot top frame bot frame 548 bot 2 and top 4 do not exist, the memory is not used. 633 uint8 *pintra_pred_top; /* pointer to the top intra prediction value */ 671 AVCPictureType currPicType; /* frame, top-field or bot-field */ 801 Availability of the neighboring top [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | intra_est.cpp | 52 /* top neighbor */ 217 uint8 *pred, *top, *left; local 230 top = curL - pitch; 234 word1 = *((uint32*)(top)); /* read 4 bytes from top */ 235 word2 = *((uint32*)(top + 4)); /* read 4 bytes from top */ 236 word3 = *((uint32*)(top + 8)); /* read 4 bytes from top */ 237 word4 = *((uint32*)(top [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_deblocking.c | 133 u32 top; member in struct:__anon596 390 top-most edge of a macroblock. Macroblock types are checked 420 top-most edge of a macroblock. Macroblock types are checked 563 mb pointer to macroblock data structure of the top-left 1149 /* top edges */ 1154 bS[0].top = bS[1].top = bS[2].top = bS[3].top = 4; 1159 bS[0].top [all...] |
H A D | h264bsd_reconstruct.c | 97 pRef pointer to reference frame Cb top-left corner 2240 i32 top, y, bottom; local 2287 top = y0 < 0 ? -y0 : 0; 2289 y = (i32)blockHeight - top - bottom; 2292 for ( ; top; top-- )
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AMessage.cpp | 263 int32_t left, int32_t top, int32_t right, int32_t bottom) { 268 item->u.rectValue.mTop = top; 311 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const { 318 *top = item->u.rectValue.mTop; 261 setRect( const char *name, int32_t left, int32_t top, int32_t right, int32_t bottom) argument 309 findRect( const char *name, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const argument
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 2024 normalizedYToArray(focusingAreas[j].top); 2053 normalizedYToArray(meteringAreas[j].top); 2097 static_cast<int32_t>(crop.top), 2528 areas[0].top == 0 && 2552 if (a->top < -1000 || a->top > 1000) return BAD_VALUE; 2556 if (a->top >= a->bottom) return BAD_VALUE; 2612 int ret = y + previewCrop.top; 2654 float left, top, width, height; local 2663 top [all...] |
H A D | Parameters.h | 99 int left, top, right, bottom; member in struct:android::camera2::Parameters::Area 102 Area(int left, int top, int right, int bottom, int weight): argument 103 left(left), top(top), right(right), bottom(bottom), 106 return (left == 0) && (top == 0) && (right == 0) && (bottom == 0); 275 float top; member in struct:android::camera2::Parameters::CropRegion
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 639 int left, int top, int right, int bottom) 644 crop.top = top; 638 __set_crop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
|
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 1370 int left, int top, int right, int bottom) { 1378 android_native_rect_t crop = { left, top, right, bottom }; 1369 set_crop(const camera2_stream_ops_t* w, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/app/ |
H A D | WallpaperManager.java | 179 public void setBounds(int left, int top, int right, int bottom) { argument 181 mDrawTop = top + (bottom-top - mHeight) / 2; 398 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned 448 float top = (inHeight - outHeight) * verticalAlignment; 449 float bottom = top + outHeight; 450 cropRectF = new RectF(left, top, right, bottom); 496 roundedTrueCrop.top, roundedTrueCrop.width(), 534 cropRect.top = 0; 543 cropRect.top [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 227 // The baseline is the top of the following line minus the current line's descent. 454 dtop = sTempRect.top; 458 final int top = Math.max(dtop, 0); 461 if (top >= bottom) return TextUtils.packRangeInLong(0, -1); 462 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom)); 609 * If bounds is not null, return the top, left, right, bottom extents 618 bounds.top = getLineTop(line); 626 * Return the vertical position of the top of the specified line 670 * top line of the Layout. 1309 int top 1379 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument [all...] |
H A D | StaticLayout.java | 288 int fmTop = fm.top; 387 int above, below, top, bottom; 394 top = okTop; 401 top = fitTop; 414 top = fmTop; 424 above, below, top, bottom, 461 fitTop = fm.top; 497 fm.top, fm.bottom, 509 int above, int below, int top, int bottom, int v, 540 fm.top 508 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, boolean hasTabOrEmoji, 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 | 189 * @param top the top 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); 237 h += drawRun(c, segstart, j, runIsRtl, x+h, top, y, bottom, 380 * @param top the top of the line 388 int limit, boolean runIsRtl, float x, int top, int y, int bottom, 393 handleRun(start, limit, limit, runIsRtl, c, x + w, top, 387 drawRun(Canvas c, int start, int limit, boolean runIsRtl, float x, int top, int y, int bottom, boolean needWidth) argument 724 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) argument 817 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 882 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 | 158 protected boolean top(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
|
H A D | BaseMovementMethod.java | 192 return top(widget, buffer); 210 return top(widget, buffer); 228 return top(widget, buffer); 317 * Performs a top movement action. 318 * Moves the cursor or scrolls to the top of the buffer. 324 protected boolean top(TextView widget, Spannable buffer) { method in class:BaseMovementMethod 376 * Moves the cursor or scrolls to the start of the line or to the top of the 390 * Moves the cursor or scrolls to the start of the line or to the top of the 510 final int top = widget.getScrollY(); 511 int topLine = layout.getLineForVertical(top); [all...] |
H A D | ScrollingMovementMethod.java | 59 protected boolean top(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod 80 return top(widget, buffer);
|
/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 | DrawableMarginSpan.java | 42 int top, int baseline, int bottom, 67 need = ht - (v + fm.bottom - fm.top - istartv); 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 | 84 fm.top = fm.ascent; 94 int top, int y, int bottom, Paint paint) { 92 draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint) argument
|