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

1234567891011>>

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_intra_prediction.c207 u32 width, u32 constrainedIntraPred)
235 (ptr - width),
236 (ptr - width-1),
238 (i32)width,
263 u8 *ptr, u32 width,
328 a = ptr - width + x;
333 l = ptr + y * width -1;
337 width = 16;
341 al = l-width;
349 (i32)width,
206 h264bsdIntra16x16Prediction(mbStorage_t *pMb, u8 *data, u8 *ptr, u32 width, u32 constrainedIntraPred) argument
261 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *ptr, u32 width, u32 constrainedIntraPred, u32 block) argument
381 u32 width; local
546 u32 width, picSize; local
929 u32 width; local
[all...]
H A Dh264bsd_deblocking.c594 ASSERT(image->width);
597 picWidthInMbs = image->width;
946 u32 width)
983 data += width;
1021 i32 width)
1040 p1 = data[-width*2]; p0 = data[-width];
1041 q0 = data[0]; q1 = data[width];
1050 data[-width] = p0;
1069 i32 width)
942 FilterVerChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, u32 width) argument
1017 FilterHorChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument
1065 FilterHorChroma( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument
1542 FilterLuma( u8 *data, bS_t *bS, edgeThreshold_t *thresholds, u32 width) argument
1624 FilterChroma( u8 *dataCb, u8 *dataCr, bS_t *bS, edgeThreshold_t *thresholds, u32 width) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java125 // We already know the width mode is EXACTLY if we're here.
326 final int width = lp.cellsUsed * cellSize + lp.extraPixels;
327 child.measure(MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
341 * Measure a child view to fit within cell-based formatting. The child's width
447 final int width = v.getMeasuredWidth();
450 final int l = midHorizontal - width / 2;
452 v.layout(l, t, l + width, t + height);
469 int width = v.getMeasuredWidth();
472 v.layout(startRight - width, t, startRight, t + height);
473 startRight -= width
611 LayoutParams(int width, int height) argument
616 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp41 uint32_t width; member in struct:android::CpuConsumerTestParams
48 return os << "[ (" << p.width << ", " << p.height << "), B:"
62 params.width, params.height,
197 // Blocks need to be even-width/height, aim for 8-wide otherwise
221 uint32_t w = buf.width;
275 params.width, params.height, params.format);
320 fillYV12Buffer(img, params.width, params.height, *stride);
323 fillBayerRawBuffer(img, params.width, params.height, buf->getStride());
366 EXPECT_EQ(params.width, b.width);
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java278 int width = mIconWidth;
286 painter.setIntrinsicWidth(width);
290 if (width > 0 && height > 0) {
291 if (width < iconWidth || height < iconHeight) {
295 height = (int) (width / ratio);
297 width = (int) (height * ratio);
311 final int x = (mIconWidth - width) / 2;
313 icon.setBounds(x, y, x + width, y + height);
318 } else if (iconWidth < width && iconHeight < height) {
324 final int x = (width
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp333 /* width */
406 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13);
409 video->width = (video->width + 15) & -16;
686 video->nMBPerRow = video->width / MB_SIZE;
1086 video->displayWidth = video->width = 128;
1096 video->displayWidth = video->width = 176;
1106 video->displayWidth = video->width = 352;
1116 video->displayWidth = video->width = 704;
1126 video->displayWidth = video->width
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java218 * <p>Set the stroke width and color for the drawable. If width is zero,
224 * @param width The width in pixels of the stroke
230 public void setStroke(int width, int color) { argument
231 setStroke(width, color, 0, 0);
235 * <p>Set the stroke width and color for the drawable. If width is zero,
241 * @param width The width i
249 setStroke(int width, int color, float dashWidth, float dashGap) argument
280 setSize(int width, int height) argument
1225 setStroke(int width, int color) argument
1231 setStroke(int width, int color, float dashWidth, float dashGap) argument
1254 setSize(int width, int height) argument
[all...]
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec17 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
18 void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
19 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
20 void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
55 void glLineWidth ( GLfloat width )
56 void glLineWidthx ( GLfixed width )
82 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
89 void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
99 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
102 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsize
[all...]
H A DGLES20.spec22 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
23 void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
24 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
25 void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
90 void glLineWidth ( GLfloat width )
94 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
96 void glRenderbufferStorage ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
98 void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
107 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
112 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsize
[all...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp503 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height) { argument
504 return (((width + 3) & ~3) * ((height + 3) & ~3)) >> 1;
512 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, argument
523 etc1_uint32 encodedWidth = (width + 3) & ~3;
533 etc1_uint32 xEnd = width - x;
569 etc1_uint32 width, etc1_uint32 height,
576 etc1_uint32 encodedWidth = (width + 3) & ~3;
585 etc1_uint32 xEnd = width - x;
633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { argument
635 etc1_uint32 encodedWidth = (width
568 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument
653 etc1_uint32 width = readBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoFullScreen.java49 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
52 if ( mVideoWidth * height > width * mVideoHeight ) {
53 height = width * mVideoHeight / mVideoWidth;
54 } else if ( mVideoWidth * height < width * mVideoHeight ) {
55 width = height * mVideoWidth / mVideoHeight;
58 setMeasuredDimension(width, height);
137 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) {
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp52 ANativeWindowBuffer::width = w; member in class:android::NativeBuffer::ANativeWindowBuffer
120 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB);
126 fbDev->width, fbDev->height, fbDev->format,
130 i, fbDev->width, fbDev->height, strerror(-err));
184 return fbDev->setUpdateRect(fbDev, r.left, r.top, r.width(), r.height());
301 *value = fb->width;
316 *value = fb->width;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccUtils.java393 int width = data[valueIndex++] & 0xFF;
395 int numOfPixels = width*height;
414 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
436 int width = data[valueIndex++] & 0xFF;
451 (width * height), colorIndexArray, bits);
454 (width * height), colorIndexArray, bits);
457 return Bitmap.createBitmap(resultArray, width, height,
/frameworks/av/media/libstagefright/
H A Davc_utils.cpp44 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) {
93 *width = pic_width_in_mbs_minus1 * 16 + 16;
127 *width -=
256 int32_t width, height; local
257 FindAVCDimensions(seqParamSet, &width, &height);
301 meta->setInt32(kKeyWidth, width);
305 width, height, AVCProfileToString(profile), level / 10, level % 10);
402 const uint8_t *data, size_t size, int32_t *width, int32_t *height) {
475 *width = video_object_layer_width;
43 FindAVCDimensions( const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) argument
401 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument
/frameworks/base/libs/hwui/
H A DCaches.cpp398 bool Caches::setScissor(GLint x, GLint y, GLint width, GLint height) { argument
400 width != mScissorWidth || height != mScissorHeight)) {
403 width += x;
410 if (width < 0) {
411 width = 0;
416 glScissor(x, y, width, height);
420 mScissorWidth = width;
463 void Caches::startTiling(GLuint x, GLuint y, GLuint width, GLuint height, bool opaque) { argument
465 glStartTilingQCOM(x, y, width, height, (opaque ? GL_NONE : GL_COLOR_BUFFER_BIT0_QCOM));
H A DLayer.h62 const float texX = 1.0f / float(texture.width);
82 return texture.width;
89 void setSize(uint32_t width, uint32_t height) { argument
90 texture.width = width;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DCameraWidgetFrame.java195 final int width = getRootView().getWidth();
197 if (mRenderedSize.x == width && mRenderedSize.y == height) {
199 width, height));
202 if (width == 0 || height == 0) {
206 offscreen[0] = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
209 MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY),
211 mWidgetView.layout(0, 0, width, height);
218 width, height,
221 mRenderedSize.set(width, height);
/frameworks/native/opengl/include/GLES/
H A Dglext.h563 GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
564 GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height);
565 GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
569 GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
572 typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
573 typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height);
574 typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
578 typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
637 GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width);
677 typedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
[all...]
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h765 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
766 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
767 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
768 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
769 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
772 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
773 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
774 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
775 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
776 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsize
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h45 void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
46 void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
47 void GLTrace_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
48 void GLTrace_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
112 void GLTrace_glLineWidth(GLfloat width);
116 void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
118 void GLTrace_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
120 void GLTrace_glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
129 void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
134 void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsize
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp44 * sourceDim: [width, height]
171 static EGLint width, height; variable
402 rect.sourceCrop.right = rect.sourceDim.width();
490 if (((uint32_t) rect.sourceCrop.left >= rect.sourceDim.width())
491 || ((uint32_t) rect.sourceCrop.right > rect.sourceDim.width())
497 if ((rect.displayFrame.left >= width)
498 || (rect.displayFrame.right > width)
510 rect.texture = new GraphicBuffer(rect.sourceDim.width(),
522 testPrintI(" buf: %p handle: %p format: %s width: %u height: %u "
525 rect.sourceDim.width(), rec
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_hor_ver_quarter.s70 width RN 12 label
101 LDR width, [sp,#0x218] ;// width
104 CMP tmpa, width
105 BHI do_fill ;// (x0+partW)>width
124 LDR width, [sp,#0x218] ;// width
127 STR width, [sp,#0] ;// sp+0 = width
135 STR tmpa, [sp,#0x218] ;// width
[all...]
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
279 super.initialize(width, height, parentWidth, parentHeight);
281 mFromX = resolveScale(mFromX, mFromXType, mFromXData, width, parentWidth);
282 mToX = resolveScale(mToX, mToXType, mToXData, width, parentWidth);
286 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);
/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;

Completed in 419 milliseconds

1234567891011>>