Searched refs:width (Results 1 - 25 of 580) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java33 * Returns the width of the Shape.
61 * @param width the width of the shape (in pixels)
64 public final void resize(float width, float height) { argument
65 if (width < 0) {
66 width = 0;
71 if (mWidth != width || mHeight != height) {
72 mWidth = width;
74 onResize(width, height);
91 * @param width th
94 onResize(float width, float height) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_utils.cpp25 void PutSKIPPED_MB(uint8 *comp, uint8 *prev, int width) argument
42 comp += width;
43 prev += width;
53 comp += width;
54 prev += width;
64 comp += width;
65 prev += width;
74 comp += width;
75 prev += width;
86 void PutSKIPPED_B(uint8 *comp, uint8 *prev, int width) argument
[all...]
H A Didct.h48 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width);
49 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width);
50 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width);
51 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width);
52 void idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width);
59 void idctrow0_intra(int16 *blk, PIXEL *comp, int width);
60 void idctrow1_intra(int16 *blk, PIXEL *comp, int width);
61 void idctrow2_intra(int16 *blk, PIXEL *comp, int width);
62 void idctrow3_intra(int16 *blk, PIXEL *comp, int width);
63 void idctrow4_intra(int16 *blk, PIXEL *comp, int width);
[all...]
H A Dchv_filter.cpp149 int width,
156 width : width of decoded frame.
178 int width,
198 pp_w = (width >> 3);
232 jVal0 = *(ptr - width); /* C */
241 *(ptr - width) = (uint8)(jVal0); /* C */
244 jVal0 = *(ptr - (width << 1)); /* B */
245 jVal1 = *(ptr + width); /* E */
252 *(ptr - (width <<
176 CombinedHorzVertFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
453 CombinedHorzVertFilter_NoSoftDeblocking( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
[all...]
H A Dderinging_chroma.cpp25 int width,
47 incr = width - BLKSIZE;
54 for (h_blk = 0; h_blk < width; h_blk += BLKSIZE)
59 FindMaxMin(ptr, &min_blk, &max_blk, width);
69 addr_v = (int32)v_pel * width;
74 pelu = *(ptr - width);
76 pell = *(ptr + width);
81 pelu = *(ptr - width);
83 pell = *(ptr + width);
90 pelu = *(ptr - width);
23 Deringing_Chroma( uint8 *Rec_C, int width, int height, int16 *QP_store, int, uint8 *pp_mod ) argument
[all...]
H A Dmb_motion_comp.cpp140 int height, width, pred_width; local
168 /* width of luminance data in pixels (y axis) */
169 width = video->width;
184 /* ypos*width -> row, +x -> column */
185 offset = (int32)ypos * width + xpos;
251 video->mblock->pred_block, width, height,
267 pred_width = width;
271 if (xpred >= 0 && xpred <= ((width << 1) - (2*B_SIZE)) &&
277 GetPredAdvBTable[ypred&1][xpred&1](c_prev + (xpred >> 1) + ((ypred >> 1)*width),
558 int width, width_uv; local
[all...]
/frameworks/base/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNILib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/base/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfLib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/base/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualLib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMeshActivity.java48 final float width = mBitmap1.getWidth() / 3.0f;
52 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f,
53 0.0f, height, width, height, width * 2, height, width * 4, height,
54 0.0f, height * 2, width, height * 2, width * 2, height * 2, width *
[all...]
H A DBitmapMeshLayerActivity.java49 final float width = mBitmap1.getWidth() / 3.0f;
53 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f,
54 0.0f, height, width, height, width * 2, height, width * 4, height,
55 0.0f, height * 2, width, height * 2, width * 2, height * 2, width *
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java28 * region by left, top, width and height.
56 * The width of the image.
71 * @param width The width of the YuvImage.
75 * padding and derives the row bytes by format and width itself.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
87 if (width <= 0 || height <= 0) {
89 "width and height must large than 0");
97 mStrides = calculateStrides(width, forma
199 calculateStrides(int width, int format) argument
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/base/opengl/tests/angeles/
H A Dapp.h43 extern void appRender(long tick, int width, int height);
/frameworks/base/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNILib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_InterpolateLuma.c33 * srcStep -reference frame step, in bytes; must be a multiple of roi.width
35 * roi.width
40 * roi -Dimension of the interpolation region; the parameters roi.width and
45 * pDst -Pointer to the destination frame buffer if roi.width==4, 4-byte
46 * alignment required if roi.width==8, 8-byte alignment required
47 * if roi.width==16, 16-byte alignment required
54 * srcStep or dstStep < roi.width.
56 * roi.width or roi.height is out of range {4, 8, 16}.
57 * roi.width is equal to 4, but pDst is not 4 byte aligned.
58 * roi.width i
[all...]
H A DomxVCM4P10_InterpolateChroma.c35 * roi.width.
40 * roi -Dimension of the interpolation region; the parameters roi.width and
45 * pDst -Pointer to the destination frame buffer if roi.width==2, 2-byte
46 * alignment required if roi.width==4, 4-byte alignment required
47 * if roi.width==8, 8-byte alignment required
56 * roi.width or roi.height is out of range {2,4,8}.
57 * roi.width is equal to 2, but pDst is not 2-byte aligned.
58 * roi.width is equal to 4, but pDst is not 4-byte aligned.
59 * roi.width is equal to 8, but pDst is not 8 byte aligned.
83 armRetArgErrIf((roi.width !
[all...]
/frameworks/base/core/java/android/view/
H A DGLES20RenderLayer.java33 GLES20RenderLayer(int width, int height, boolean isOpaque) { argument
34 super(width, height, isOpaque);
37 mLayer = GLES20Canvas.nCreateLayer(width, height, isOpaque, layerInfo);
56 void resize(int width, int height) { argument
57 if (!isValid() || width <= 0 || height <= 0) return;
59 mWidth = width;
62 if (width != mLayerWidth || height != mLayerHeight) {
65 GLES20Canvas.nResizeLayer(mLayer, width, height, layerInfo);
H A DHardwareLayer.java32 * Indicates an unknown dimension (width or height.)
52 * @param width The minimum width of the layer
56 HardwareLayer(int width, int height, boolean isOpaque) { argument
57 mWidth = width;
63 * Returns the minimum width of the layer.
65 * @return The minimum desired width of the hardware layer
100 * @param width The new desired minimum width for this layer
103 abstract void resize(int width, in argument
149 update(int width, int height, boolean isOpaque) argument
[all...]
H A DGLES20Layer.java32 GLES20Layer(int width, int height, boolean opaque) { argument
33 super(width, height, opaque);
51 void update(int width, int height, boolean isOpaque) { argument
52 super.update(width, height, isOpaque);
/frameworks/base/opengl/libagl/
H A Ddxt.h27 bool DXT1HasAlpha(const GLvoid *data, int width, int height);
28 void decodeDXT(const GLvoid *data, int width, int height,
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java27 for (int width = 0; width < 10; width++) {
28 PackedIntVector p = new PackedIntVector(width);
29 int[] ins = new int[width];
31 for (int height = width * 2; height < width * 4; height++) {
32 assertEquals(p.width(), width);
45 for (int j = 0; j < width;
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_conceal.c130 u32 width, height; local
142 width = currImage->width;
164 if (col == width)
176 H264SwDecMemset(currImage->data, 128, width*height*384);
178 H264SwDecMemcpy(currImage->data, refData, width*height*384);
191 mb = pStorage->mb + row * width;
198 for (j = col + 1; j < width; j++)
210 for (j = 0; j < width; j++)
213 mb = pStorage->mb + i*width
262 u32 width, height; local
[all...]
/frameworks/base/libs/hwui/
H A DVertex.h75 float width; member in struct:android::uirenderer::AAVertex
78 static inline void set(AAVertex* vertex, float x, float y, float width, float length) { argument
80 vertex[0].width = width;
84 static inline void setColor(AAVertex* vertex, float width, float length) { argument
85 vertex[0].width = width;
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument
39 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
51 int width, int height, int quality) {
52 cinfo->image_width = width;
82 int width = cinfo->image_width; local
85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
86 uint8_t* uRows = new uint8_t [8 * (width >> 1)];
87 uint8_t* vRows = new uint8_t [8 * (width >> 1)];
93 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width);
101 // height and width ar
50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
114 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width) argument
155 int width = cinfo->image_width; local
186 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
213 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, int format, int width, int height, jintArray offsets, jintArray strides, int jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp97 int width = u_getIntPropertyValue(input, UCHAR_EAST_ASIAN_WIDTH); local
98 if (width < 0 || width >= U_EA_COUNT)
99 width = PROPERTY_UNDEFINED;
101 return width;
130 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local
131 if (width < 0 || width >= U_EA_COUNT)
132 width = PROPERTY_UNDEFINED;
134 dest[i++] = width;
138 int width = u_getIntPropertyValue(c, UCHAR_EAST_ASIAN_WIDTH); local
[all...]

Completed in 2298 milliseconds

1234567891011>>