Searched refs:width (Results 51 - 75 of 355) sorted by relevance

1234567891011>>

/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_adv_b_add.cpp33 width = width of the VOP in pixels (x axis); full-pel resolution
85 int width, /* i */
96 offset = width - B_SIZE; /* offset for prev */
108 prev += width;
185 int width, /* i */
198 offset = width - B_SIZE; /* offset for prev */
514 int width, /* i */
527 offset = width - B_SIZE; /* offset for prev */
548 word2 = *((uint32*)(prev + width));
82 GetPredAdvancedBy0x0( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument
182 GetPredAdvancedBy0x1( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument
511 GetPredAdvancedBy1x0( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument
858 GetPredAdvancedBy1x1( uint8 *prev, uint8 *pred_block, int width, int pred_width_rnd ) argument
[all...]
H A Didct_vca.cpp40 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
49 width -= 4;
50 dst -= width;
71 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */
97 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
105 width -= 4;
106 dst -= width;
139 *((uint32*)(dst += width)) = dst_word; /* save 4 bytes to dst */
185 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
193 width
294 idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width) argument
419 idctrow1_intra(int16 *blk, PIXEL *comp, int width) argument
448 idctrow2_intra(int16 *blk, PIXEL *comp, int width) argument
505 idctrow3_intra(int16 *blk, PIXEL *comp, int width) argument
578 idctrow4_intra(int16 *blk, PIXEL *comp, int width) argument
[all...]
/frameworks/base/opengl/libagl/
H A Dtexture.cpp142 0, 0, native_buffer->width, native_buffer->height,
279 (dst.width == src.width) &&
364 GLenum format, GLenum type, GLsizei width, GLsizei height,
380 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
388 width, height, stride, formatIdx, compressedFormat, bpr);
399 width, height, stride, formatIdx, compressedFormat, bpr);
409 static size_t dataSizePalette4(int numLevels, int width, int height, int format) argument
443 int w = (width >> i) ? : 1;
452 static void decodePalette4(const GLvoid *data, int level, int width, in argument
362 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument
1057 glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
[all...]
H A Ddxt.cpp136 DXT1HasAlpha(const GLvoid *data, int width, int height) { argument
146 int xblocks = (width + 3)/4;
187 printf("Scanned w=%d h=%d in %ld usec\n", width, height, usec);
194 decodeDXT1(const GLvoid *data, int width, int height, argument
214 for (int base_x = 0; base_x < width; base_x += 4, blockPtr += 4) {
293 int w = min(width - base_x, 4);
307 decodeDXT3(const GLvoid *data, int width, int height, argument
326 for (int base_x = 0; base_x < width; base_x += 4, blockPtr += 4) {
399 int w = min(width - base_x, 4);
416 decodeDXT5(const GLvoid *data, int width, in argument
599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java109 int width = mIconWidth;
114 painter.setIntrinsicWidth(width);
129 if (width < sourceWidth || height < sourceHeight) {
133 height = (int) (width / ratio);
135 width = (int) (height * ratio);
137 } else if (sourceWidth < width && sourceHeight < height) {
139 width = sourceWidth;
153 final int left = (textureWidth-width) / 2;
162 canvas.drawRect(left, top, left+width, top+height, debugPaint);
166 icon.setBounds(left, top, left+width, to
[all...]
/frameworks/base/core/java/android/gesture/
H A DGesture.java142 public Path toPath(int width, int height, int edge, int numSample) { argument
143 return toPath(null, width, height, edge, numSample);
146 public Path toPath(Path path, int width, int height, int edge, int numSample) { argument
153 path.addPath(strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample));
178 * @param width width of the target bitmap
185 public Bitmap toBitmap(int width, int height, int edge, int numSample, int color) { argument
186 final Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
204 Path path = strokes.get(i).toPath(width - 2 * edge, height - 2 * edge, numSample);
214 * @param width
220 toBitmap(int width, int height, int inset, int color) argument
[all...]
/frameworks/base/libs/camera/
H A DCameraParameters.cpp39 const char CameraParameters::KEY_JPEG_THUMBNAIL_WIDTH[] = "jpeg-thumbnail-width";
302 int width, height; local
303 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
309 sizes.push(Size(width, height));
318 void CameraParameters::setPreviewSize(int width, int height) argument
321 sprintf(str, "%dx%d", width, height);
325 void CameraParameters::getPreviewSize(int *width, int *height) const argument
327 *width = *height = -1;
331 parse_pair(p, width, height, 'x');
368 void CameraParameters::setPictureSize(int width, in argument
375 getPictureSize(int *width, int *height) const argument
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DIncludeTest.java55 assertTrue("Both buttons should have different width",
56 button1.getLayoutParams().width != button2.getLayoutParams().width);
76 assertEquals("Included button should be 23dip x 23dip", 23, lp.width);
/frameworks/base/media/libstagefright/rtsp/
H A DVideoSource.h32 VideoSource(int width, int height) argument
33 : mWidth(width),
35 mSize((width * height * 3) / 2) {
/frameworks/base/include/ui/
H A Dandroid_native_buffer.h49 int width; member in struct:android_native_buffer_t
/frameworks/base/libs/ui/
H A DFramebufferNativeWindow.cpp56 android_native_buffer_t::width = w; member in class:android::NativeBuffer::android_native_buffer_t
103 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB);
105 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB);
108 fbDev->width, fbDev->height, fbDev->format,
112 fbDev->width, fbDev->height, strerror(-err));
115 fbDev->width, fbDev->height, fbDev->format,
119 fbDev->width, fbDev->height, strerror(-err));
160 return fbDev->setUpdateRect(fbDev, r.left, r.top, r.width(), r.height());
264 *value = fb->width;
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfindhalfpel.cpp34 void GenerateSearchRegion(UChar *searchPadding, UChar *ref, Int width, Int height,
80 Int width = video->currVop->width; /* padding */ local
102 else if (imin >= width - 1)
113 else if (imin >= width - 16)
195 Int width = video->currVop->width; /* , padding */ local
222 else if (imin >= width - 1)
231 cur8 = cur + ((comp & 1) << 3) + ((comp & 2) << 2) * width ;
/frameworks/base/media/libstagefright/include/
H A Davc_utils.h28 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height);
/frameworks/base/native/include/android/
H A Dbitmap.h41 uint32_t width; member in struct:__anon656
/frameworks/base/core/jni/android/graphics/
H A DNinePatchImpl.cpp78 } else if (src.width() == 1 && src.height() == 1) {
146 LOGV("======== ninepatch bounds [%g %g]\n", SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height()));
147 LOGV("======== ninepatch paint bm [%d,%d]\n", bitmap.width(), bitmap.height());
154 bitmap.width() == 0 || bitmap.height() == 0 ||
186 const int bitmapWidth = bitmap.width();
205 bitmap.width(), bitmap.height(),
207 SkScalarToFloat(bounds.width()), SkScalarToFloat(bounds.height()),
309 src.fLeft, src.fTop, src.width(), src.height(),
311 SkScalarToFloat(dst.width()), SkScalarToFloat(dst.height()));
312 if (2 == src.width()
[all...]
/frameworks/base/core/java/android/app/
H A DIWallpaperManager.aidl56 * minimum width and height for the wallpaper.
58 void setDimensionHints(in int width, in int height);
61 * Returns the desired minimum width for the wallpaper.
/frameworks/base/core/java/android/view/
H A DSurfaceHolder.java103 * @param width The new width of the surface.
106 public void surfaceChanged(SurfaceHolder holder, int format, int width, argument
174 * @param width The surface's width.
177 public void setFixedSize(int width, int height); argument
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp32 info->width = bm->width();
/frameworks/base/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNIView.java75 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
76 GLJNILib.init(width, height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DTrackingPatternView.java52 final int width = getWidth();
61 while (x < width) {
/frameworks/base/services/surfaceflinger/
H A DTextureManager.h42 Image() : name(-1U), image(EGL_NO_IMAGE_KHR), width(0), height(0),
46 GLuint width; member in struct:android::Image
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java190 /*package*/ static Bitmap nativeCreate(int[] colors, int offset, int stride, int width, argument
195 BufferedImage image = new BufferedImage(width, height, imageType);
198 image.setRGB(0, 0, width, height, colors, offset, stride);
216 int width = srcImage.getWidth();
222 BufferedImage image = new BufferedImage(width, height, imageType);
225 int[] argb = new int[width * height];
226 srcImage.getRGB(0, 0, width, height, argb, 0, width);
227 image.setRGB(0, 0, width, height, argb, 0, width);
340 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
362 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java246 * @param width the popup's width
249 public PopupWindow(int width, int height) { argument
250 this(null, width, height);
262 * @param width the popup's width
265 public PopupWindow(View contentView, int width, int height) { argument
266 this(contentView, width, height, false);
277 * @param width the popup's width
281 PopupWindow(View contentView, int width, int height, boolean focusable) argument
720 setWidth(int width) argument
1204 update(int width, int height) argument
1221 update(int x, int y, int width, int height) argument
1238 update(int x, int y, int width, int height, boolean force) argument
1305 update(View anchor, int width, int height) argument
1323 update(View anchor, int xoff, int yoff, int width, int height) argument
1327 update(View anchor, boolean updateLocation, int xoff, int yoff, boolean updateDimension, int width, int height) argument
[all...]
H A DHorizontalScrollView.java272 * Indicates this ScrollView whether it should stretch its content width to fill
275 * @param fillViewport True to stretch the content's width to the viewport's
315 int width = getMeasuredWidth();
316 if (child.getMeasuredWidth() < width) {
321 width -= mPaddingLeft;
322 width -= mPaddingRight;
323 int childWidthMeasureSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY);
793 int width = getWidth();
796 mTempRect.left = getScrollX() + width;
800 if (mTempRect.left + width > vie
[all...]
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dbit_cnt.c43 const Word16 width,
58 for(i=0;i<width;i+=4){
119 const Word16 width,
133 for(i=0;i<width;i+=4){
193 const Word16 width,
207 for(i=0;i<width;i+=2){
250 const Word16 width,
262 for(i=0;i<width;i+=2){
298 const Word16 width,
310 for(i=0;i<width;
42 count1_2_3_4_5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
118 count3_4_5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
192 count5_6_7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
249 count7_8_9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
297 count9_10_11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
345 count11(const Word16 *values, const Word16 width, Word16 *bitCount) argument
386 countEsc(const Word16 *values, const Word16 width, Word16 *bitCount) argument
469 bitCount(const Word16 *values, const Word16 width, Word16 maxVal, Word16 *bitCount) argument
495 codeValues(Word16 *values, Word16 width, Word16 codeBook, HANDLE_BIT_BUF hBitstream) argument
[all...]

Completed in 398 milliseconds

1234567891011>>