Searched refs:width (Results 251 - 275 of 715) sorted by relevance

<<11121314151617181920>>

/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/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/view/
H A DSurfaceView.java280 int width = mRequestedWidth >= 0
286 setMeasuredDimension(width, height);
465 mLayout.width = getWidth();
522 mSurfaceFrame.right = mWinFrame.width();
526 mSurfaceFrame.right = (int) (mWinFrame.width() * appInvertedScale + 0.5f);
608 " w=" + mLayout.width + " h=" + mLayout.height +
650 "SurfaceView", surfaceView + " got resized: w=" + frame.width()
658 } else if (surfaceView.mWinFrame.width() != frame.width()
716 public void setFixedSize(int width, in
[all...]
H A DTextureView.java63 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
74 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
389 // parameters are correct (width, height, transform, etc.)
518 * texture is not available or the width &lt;= 0 or the height &lt;= 0
541 * @param width The width of the bitmap to create
545 * texture is not available or width is &lt;= 0 or height is &lt;= 0
551 public Bitmap getBitmap(int width, int height) { argument
552 if (isAvailable() && width > 0 && height > 0) {
554 width, heigh
769 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
779 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument
803 nSetDefaultBufferSize(SurfaceTexture surfaceTexture, int width, int height) argument
[all...]
/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.
651 // See how tall everyone is. Also remember max width.
732 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
733 // The width of the linear layout will scale, and at least one
734 // child said it wanted to match our width. Set a flag
736 // we know our width.
746 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
830 lp.leftMargin + lp.rightMargin, lp.width);
862 lp.width == LayoutParams.MATCH_PARENT;
867 allFillParent = allFillParent && lp.width
1662 setChildFrame(View child, int left, int top, int width, int height) argument
1836 LayoutParams(int width, int height) argument
1851 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/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardCircleFramedDrawable.java67 final int width = bitmap.getWidth();
69 final int square = Math.min(width, height);
71 final Rect cropRect = new Rect((width - square) / 2, (height - square) / 2, square, square);
H A DKeyguardWidgetCarousel.java116 int width = v.getMeasuredWidth();
117 float pivotX = (width / 2f) + boundedProgress * (width / 2f);
178 int width = child.getMeasuredWidth();
179 float pivotX = (width / 2f) + boundedProgress * (width / 2f);
/frameworks/base/services/java/com/android/server/display/
H A DLocalDisplayAdapter.java127 mInfo.width = mPhys.width;
153 mInfo.setAssumedDensityForExternalDisplay(mPhys.width, mPhys.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/include/gui/
H A DISurfaceTexture.h85 // outWidth, outHeight and outTransform are filled with the default width
129 *outWidth = width;
136 width = inWidth;
142 uint32_t width; member in struct:android::ISurfaceTexture::QueueBufferOutput
174 // outWidth, outHeight and outTransform are filled with the default width
/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/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/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:__anon695
247 OMX_INT width; /** Width of the rectangle, in the x-direction */ member in struct:__anon697

Completed in 483 milliseconds

<<11121314151617181920>>