Searched refs:width (Results 226 - 250 of 658) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/android/graphics/
H A DHarfbuzzSkia.cpp149 SkScalar width; local
151 paint->getTextWidths(&glyph16, sizeof(glyph16), &width, &bounds);
155 metrics->width = SkScalarToHBFixed(bounds.width());
158 metrics->xOffset = SkScalarToHBFixed(width);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DAutoFixFilter.java272 private void createHistogramFrame(FilterContext context, int width, int height, int[] data) { argument
278 int x_border_thickness = (int) (width * border_thickness_ratio);
279 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness);
283 for (int x = x_border_thickness; x < width - x_border_thickness; ++x) {
284 int index = y * width + x;
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp103 int width; local
105 meta->findInt32(kKeyWidth, &width);
107 configBitmapSize(bm, getPrefConfig(k32Bit_SrcDepth, false), width, height);
186 int width, int height) {
187 bm->setConfig(getColorSpaceConfig(pref), width, height); local
185 configBitmapSize(SkBitmap* bm, SkBitmap::Config pref, int width, int height) argument
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp104 int width = (int) glyph->mBitmapWidth; local
113 if (bounds->right < nPenX + width) {
114 bounds->right = nPenX + width;
131 int width = (int) glyph->mBitmapWidth; local
135 nPenX + width, nPenY, u2, v2,
136 nPenX + width, nPenY - height, u2, v1,
491 INIT_LOGD(" Setting text cache width to %s pixels", property);
496 INIT_LOGD(" Using default text cache width of %i pixels", mSmallCacheWidth);
502 INIT_LOGD(" Setting text cache width to %s pixels", property);
589 int width local
690 createCacheTexture(int width, int height, bool allocate) argument
814 uint32_t width = cl->mMaxWidth; local
1146 horizontalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
1190 verticalBlur(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
1236 blurImage(uint8_t *image, int32_t width, int32_t height, int32_t radius) argument
[all...]
/frameworks/av/media/libstagefright/
H A DJPEGSource.cpp207 uint16_t width, height; local
209 || !mSource->getUInt16(i + 3, &width)) {
213 mWidth = width;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h130 int16 width; /* Width */ member in struct:tagVideoRefCopyInfoData
132 int16 realWidth; /* Non-padded width, not a multiple of 16. */
150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode);
151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_BlockMatch_Integer.c143 if ((pCurrPointPos->x + iBlockWidth + nSearchRange) > (pRefRect->x + pRefRect->width))
145 toX = pRefRect->width - (pCurrPointPos->x - pRefRect->x) - iBlockWidth;
155 toY = pRefRect->width - (pCurrPointPos->y - pRefRect->y) - iBlockWidth;
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp200 int32_t width, height; local
201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width));
203 printf("INFO_FORMAT_CHANGED %d x %d\n", width, height);
/frameworks/base/core/java/android/widget/
H A DAbsoluteLayout.java87 // Check against minimum height and width
96 * Returns a set of layout parameters with a width of
166 * Creates a new set of layout parameters with the specified width,
169 * @param width the width, either {@link #MATCH_PARENT},
176 public LayoutParams(int width, int height, int x, int y) { argument
177 super(width, height);
218 return output + "Absolute.LayoutParams={width="
219 + sizeToString(width) + ", height=" + sizeToString(height)
H A DLinearLayout.java298 * Get the width of the current divider drawable.
637 // See how tall everyone is. Also remember max width.
718 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
719 // The width of the linear layout will scale, and at least one
720 // child said it wanted to match our width. Set a flag
722 // we know our width.
732 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
816 lp.leftMargin + lp.rightMargin, lp.width);
848 lp.width == LayoutParams.MATCH_PARENT;
853 allFillParent = allFillParent && lp.width
1648 setChildFrame(View child, int left, int top, int width, int height) argument
1822 LayoutParams(int width, int height) argument
1837 LayoutParams(int width, int height, float weight) argument
[all...]
H A DTableRow.java280 * <p>Measures the preferred width of each child, including its margins.</p>
282 * @param widthMeasureSpec the width constraint imposed by our parent
284 * @return an array of integers corresponding to the width of each cell, or
302 switch (layoutParams.width) {
310 spec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY);
314 final int width = child.getMeasuredWidth() + layoutParams.leftMargin +
316 columnWidths[i] = width;
329 * <p>Sets the width of all of the columns in this row. At layout time,
330 * this row sets a fixed width, as defined by <code>columnWidths</code>,
333 * @param columnWidths the fixed width o
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java120 // We already know the width mode is EXACTLY if we're here.
321 final int width = lp.cellsUsed * cellSize + lp.extraPixels;
322 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
336 * Measure a child view to fit within cell-based formatting. The child's width
434 final int width = v.getMeasuredWidth();
437 final int l = midHorizontal - width / 2;
439 v.layout(l, t, l + width, t + height);
455 int width = v.getMeasuredWidth();
458 v.layout(startLeft, t, startLeft + width, t + height);
459 startLeft += width
571 LayoutParams(int width, int height) argument
576 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java31 public Rectangle(float x, float y, float width, float height) { argument
33 new Point(x + width, y),
35 new Point(x + width, y + height));
/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp50 inst(), bitmap.width, bitmap.height);
54 const int W = obj->window->width;
58 const float zoomFactorW = static_cast<float>(bitmap.width) / W;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTextureViewActivity.java101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
107 previewSize.width, previewSize.height, Gravity.CENTER));
147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/frameworks/base/tests/RenderScriptTests/Balls/src/com/example/android/rs/balls/
H A DBallsRS.java87 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument
128 mPhysicsScript.set_gMaxPos(new Float2(width - 5, height - 5));
130 mScript.invoke_initParts(width, height);
/frameworks/native/opengl/tests/gl2_jni/jni/
H A Dgl_code.cpp152 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
156 JNIEXPORT void JNICALL Java_com_android_gl2jni_GL2JNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
158 setupGraphics(width, height);
/frameworks/native/opengl/tests/gldual/jni/
H A Dgl_code.cpp152 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height);
156 JNIEXPORT void JNICALL Java_com_android_gldual_GLDualLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
158 setupGraphics(width, height);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11Ext.spec4 void glDrawTexsOES ( GLshort x, GLshort y, GLshort z, GLshort width, GLshort height )
5 void glDrawTexiOES ( GLint x, GLint y, GLint z, GLint width, GLint height )
6 void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height )
10 void glDrawTexfOES ( GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height )
33 void glLineWidthxOES ( GLfixed width )
57 void glRenderbufferStorageOES ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/
H A DUiAutomatorModel.java150 mCurrentDrawingRect = new Rectangle(uiNode.x, uiNode.y, uiNode.width, uiNode.height);
200 if ((node.height * node.width) < (mNode.height * mNode.width)) {
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java60 assertEquals(b.width, l.getEllipsizedWidth());
238 int width = 100; field in class:StaticLayoutTest.LayoutBuilder
254 LayoutBuilder setWidth(int width) { argument
255 this.width = width;
280 return new StaticLayout(text, paint, width, align, spacingMult,
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.h54 NativeWindowRenderer(sp<ANativeWindow> nativeWindow, int width, int height);
78 int width, int height);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_luma.cpp36 width = luminance VOP width in pixels (int)
122 int width, /* i */
139 if (xpred >= 0 && xpred <= ((width << 1) - (2*MB_SIZE)) && ypred >= 0 &&
112 pp_semaphore_luma( int xpred, int ypred, uint8 *pp_dec_y, uint8 *pstprcTypPrv, int *ll, int *mv_loc, int dx, int dy, int mvwidth, int width, int height ) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A Domxtypes.h225 * of the rectangle, with dimensions width in the x-direction
230 OMX_INT width; /** Width in the x-direction. */ member in struct:__anon744
247 OMX_INT width; /** Width of the rectangle, in the x-direction */ member in struct:__anon746
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A Domxtypes.h225 * of the rectangle, with dimensions width in the x-direction
230 OMX_INT width; /** Width in the x-direction. */ member in struct:__anon788
247 OMX_INT width; /** Width of the rectangle, in the x-direction */ member in struct:__anon790

Completed in 546 milliseconds

1234567891011>>