Searched defs:top (Results 1 - 25 of 343) sorted by path

1234567891011>>

/frameworks/av/include/ndk/
H A DNdkImage.h224 * Each one of the first 4 bytes contains the top 8 bits of each pixel, The
342 * and second byte contains the top 8 bits of first and second pixel. The third
507 * (right - left) and the height of the rectangle is (bottom - top).</p>
511 int32_t top; member in struct:AImageCropRect
/frameworks/av/media/img_utils/src/
H A DDngUtils.cpp145 status_t err = addGainMap(/*top*/redTop,
163 err = addGainMap(/*top*/greenEvenTop,
181 err = addGainMap(/*top*/greenOddTop,
199 err = addGainMap(/*top*/blueTop,
218 status_t OpcodeListBuilder::addGainMap(uint32_t top, argument
254 uint32_t settings1[] = { top,
/frameworks/av/media/libeffects/testlibs/
H A DAudioEqualizer.cpp87 const int32_t top = Effects_log2(mSampleRate * 500); local
88 const int32_t jump = (top - bottom) / (mNumPeaking + 2);
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp1806 int32_t left, top, right, bottom, width, height; local
1807 if (mOutputFormat->findRect("crop", &left, &top, &right, &bottom)) {
1808 mCrypto->notifyResolution(right - left + 1, bottom - top + 1);
2931 int32_t left, top, right, bottom; local
2932 if (info->mData->format()->findRect("crop", &left, &top, &right, &bottom)) {
2933 info->mData->meta()->setRect("crop-rect", left, top, right, bottom);
/frameworks/av/media/libstagefright/codec2/include/
H A DC2Buffer.h747 inline C2Rect(uint32_t width, uint32_t height, uint32_t left, uint32_t top) argument
748 : mLeft(left), mTop(top), mWidth(width), mHeight(height) { }
1362 * and fills the |addr| array with pointers to the first byte of the top-left pixel of each
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_deblocking.c133 u32 top; member in struct:__anon737
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 Dh264bsd_reconstruct.c97 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 DAMessage.cpp332 int32_t left, int32_t top, int32_t right, int32_t bottom) {
337 item->u.rectValue.mTop = top;
380 int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const {
387 *top = item->u.rectValue.mTop;
330 setRect( const char *name, int32_t left, int32_t top, int32_t right, int32_t bottom) argument
378 findRect( const char *name, int32_t *left, int32_t *top, int32_t *right, int32_t *bottom) const argument
H A DMetaData.cpp82 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
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp2169 normalizedYToArray(focusingAreas[j].top);
2198 normalizedYToArray(meteringAreas[j].top);
2237 static_cast<int32_t>(crop.top),
2675 areas[0].top == 0 &&
2699 if (a->top < -1000 || a->top > 1000) return BAD_VALUE;
2703 if (a->top >= a->bottom) return BAD_VALUE;
2759 int ret = y + previewCrop.top;
2801 float left, top, width, height; local
2810 top
[all...]
H A DParameters.h101 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);
297 float top; member in struct:android::camera2::Parameters::CropRegion
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.cpp349 CameraHardwareInterface::setCrop(int32_t left, int32_t top, int32_t right, int32_t bottom) { argument
357 mPreviewCrop.top = top;
986 int left, int top, int right, int bottom)
991 hw->mPreviewCrop.top = top;
985 sSetCrop(struct preview_stream_ops *w, int left, int top, int right, int bottom) argument
/frameworks/base/apct-tests/perftests/core/src/android/text/
H A DDynamicLayoutPerfTest.java78 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, argument
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java228 public void setBounds(int left, int top, int right, int bottom) { argument
230 mDrawTop = top + (bottom-top - mHeight) / 2;
474 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned
494 * 0 for top-aligned, 0.5 for vertical center-aligned, and 1 for bottom-aligned
557 float top = (inHeight - outHeight) * verticalAlignment;
558 float bottom = top + outHeight;
559 cropRectF = new RectF(left, top, right, bottom);
604 roundedTrueCrop.top, roundedTrueCrop.width(),
642 cropRect.top
[all...]
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java486 mY = rect.top - view.getTop();
546 * Returns the top edge of the window, in pixels, relative to the top
1069 * Returns the top edge of this view, in pixels, relative to the top edge of its parent.
1463 public void setDimens(int left, int top, int scrollX, int scrollY, int width, int height) { argument
1465 mNode.mY = top;
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java153 setPadding(padding.left, padding.top, padding.right, padding.bottom);
198 padding.top = 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);
490 // the new view will pop in on top of the old one during the cross fade,
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java1750 setAppBounds(rect.left, rect.top, rect.right, rect.bottom);
1758 public void setAppBounds(int left, int top, int right, int bottom) { argument
1763 appBounds.set(left, top, right, bottom);
/frameworks/base/core/java/android/text/
H A DLayout.java400 // The baseline is the top of the following line minus the current line's descent.
639 dtop = sTempRect.top;
643 final int top = Math.max(dtop, 0);
646 if (top >= bottom) return TextUtils.packRangeInLong(0, -1);
647 return TextUtils.packRangeInLong(getLineForVertical(top), getLineForVertical(bottom));
805 * If bounds is not null, return the top, left, right, bottom extents
814 bounds.top = getLineTop(line);
822 * Return the vertical position of the top of the specified line
865 * top line of the Layout.
1589 int top
1659 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument
[all...]
H A DStaticLayout.java595 // must be a multiple of 4 (and > 0) (store top, bottom, ascent, and descent per range)
748 // the order of storage here (top, bottom, ascent, descent) has to match the code below
750 fmCache[fmCacheCount * 4 + 0] = fm.top;
808 fm.top = fmCache[fmCacheIndex * 4 + 0];
814 if (fm.top < fmTop) {
815 fmTop = fm.top;
846 fmTop = fm.top;
877 fm.top, fm.bottom,
889 int above, int below, int top, int bottom, int v,
920 fm.top
888 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 DTextLine.java210 * @param top the top of the line
214 void draw(Canvas c, float x, int top, int y, int bottom) { argument
217 drawRun(c, 0, mLen, false, x, top, y, bottom, false);
221 drawRun(c, 0, mLen, true, x, top, y, bottom, false);
253 h += drawRun(c, segstart, j, runIsRtl, x+h, top, y, bottom,
371 * @param top the top of the line
379 int limit, boolean runIsRtl, float x, int top, int y, int bottom,
384 handleRun(start, limit, limit, runIsRtl, c, x + w, top,
378 drawRun(Canvas c, int start, int limit, boolean runIsRtl, float x, int top, int y, int bottom, boolean needWidth) argument
717 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
809 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
886 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 DArrowKeyMovementMethod.java157 protected boolean top(TextView widget, Spannable buffer) { method in class:ArrowKeyMovementMethod
H A DBaseMovementMethod.java192 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 DScrollingMovementMethod.java60 protected boolean top(TextView widget, Spannable buffer) { method in class:ScrollingMovementMethod
81 return top(widget, buffer);
/frameworks/base/core/java/android/text/style/
H A DBulletSpan.java91 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 DDrawableMarginSpan.java42 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

Completed in 353 milliseconds

1234567891011>>