Searched refs:width (Results 101 - 125 of 715) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_frame.cpp56 bool GLFrame::Init(int width, int height) { argument
59 InitDimensions(width, height);
65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { argument
68 InitDimensions(width, height);
72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { argument
76 InitDimensions(width, height);
87 void GLFrame::InitDimensions(int width, int height) { argument
88 width_ = width;
90 vp_width_ = width;
187 bool GLFrame::SetViewport(int x, int y, int width, in argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp108 const char *params, int32_t *width, int32_t *height) {
109 *width = 0;
200 FindAVCDimensions(nal, width, height);
201 ALOGI("dimensions %dx%d", *width, *height);
338 const sp<ABuffer> &config, int32_t *width, int32_t *height) {
339 *width = 0;
361 &ptr[offset], config->size() - offset, width, height);
365 const char *params, int32_t *width, int32_t *height) {
366 *width = 0;
375 if (!ExtractDimensionsMPEG4Config(config, width, heigh
107 MakeAVCCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
337 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument
364 MakeMPEG4VideoCodecSpecificData( const char *params, int32_t *width, int32_t *height) argument
430 int32_t width, height; local
462 int32_t width, height; local
515 int32_t width, height; local
[all...]
H A DVideoSource.h32 VideoSource(int width, int height) argument
33 : mWidth(width),
35 mSize((width * height * 3) / 2) {
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp42 void LayerRenderer::setViewport(int width, int height) { argument
43 initViewport(width, height);
52 const float width = mLayer->layer.getWidth(); local
57 dirty.right >= width && dirty.bottom >= height)) {
59 dirty.set(0.0f, 0.0f, width, height);
61 dirty.intersect(0.0f, 0.0f, width, height);
197 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, bool isOpaque) { argument
198 LAYER_RENDERER_LOGD("Requesting new render layer %dx%d", width, height);
208 Layer* layer = caches.layerCache.get(width, height);
215 layer->layer.set(0.0f, 0.0f, width, heigh
255 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument
293 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, GLenum renderTarget, float* transform) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsContainerView.java63 // Calculate the cell width dynamically
64 int width = MeasureSpec.getSize(widthMeasureSpec);
66 int availableWidth = (int) (width - getPaddingLeft() - getPaddingRight() -
70 // Update each of the children's widths accordingly to the cell width
75 // Update the child's width
80 lp.width = (int) ((colSpan * cellWidth) + (colSpan - 1) * mCellGap);
83 int newWidthSpec = MeasureSpec.makeMeasureSpec(lp.width, MeasureSpec.EXACTLY);
95 // Set the measured dimensions. We always fill the tray width, but wrap to the height of
100 setMeasuredDimension(width, newHeight);
125 v.layout(x, y, x + lp.width,
[all...]
/frameworks/av/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/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_ver.s45 width RN 4 label
81 ;// u32 width, : 0xf8
92 LDR width, [sp, #0xf8] ;// width
97 CMP tmp1, width ;// x0+chromaPartWidth > width
114 STMIA sp,{width,height,chrPW,tmp1,tmp2}
121 STMIA sp,{width,height,chrPW,tmp1,tmp2}
123 MLA ref, height, width, ref ;// ref += width * heigh
[all...]
H A Dh264bsd_interpolate_chroma_hor.s46 width RN 4 label
82 ;// u32 width, : 0xf8
93 LDR width, [sp, #0xf8] ;// width
99 CMP tmp6, width ;// x0+chromaPartWidth+1 > width
115 STMIA sp,{width,height,tmp8,chrPH,tmp2}
122 STMIA sp,{width,height,tmp8,chrPH,tmp2}
124 MLA ref, height, width, ref ;// ref += width * heigh
[all...]
H A Dh264bsd_interpolate_ver_half.s60 width RN 12 label
96 LDR width, [sp,#0x218] ;// width
97 CMP tmp5, width
98 BHI do_fill ;// (x0+partW)>width
118 LDR width, [sp,#0x218] ;// width
119 STR width, [sp,#0] ;// sp+0 = width
133 LDR width, [s
[all...]
/frameworks/native/opengl/libagl/
H A Dtexture.cpp141 0, 0, native_buffer->width, native_buffer->height,
278 (dst.width == src.width) &&
363 GLenum format, GLenum type, GLsizei width, GLsizei height,
379 const int32_t bpr = ((width * pixelFormat.size) + align) & ~align;
387 width, height, stride, formatIdx, compressedFormat, bpr);
398 width, height, stride, formatIdx, compressedFormat, bpr);
408 static size_t dataSizePalette4(int numLevels, int width, int height, int format) argument
442 int w = (width >> i) ? : 1;
451 static void decodePalette4(const GLvoid *data, int level, int width, in argument
361 createTextureSurface(ogles_context_t* c, GGLSurface** outSurface, int32_t* outSize, GLint level, GLenum format, GLenum type, GLsizei width, GLsizei height, GLenum compressedFormat = 0) argument
1056 glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.c86 u32 width; local
97 width = image->width;
110 width *= 4;
121 lum += width-4;
124 width >>= 1;
131 cb += width-2;
140 cr += width-2;
193 ASSERT(mbNum < image->width * image->height);
197 picWidth = image->width;
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java127 int width = getFormat().getWidth();
129 if (!nativeAllocateWithTexture(mGLEnvironment, texId, width, height)) {
137 int width = getFormat().getWidth();
139 if (!nativeAllocateWithFbo(mGLEnvironment, fboId, width, height)) {
276 public void setViewport(int x, int y, int width, int height) { argument
278 setNativeViewport(x, y, width, height);
364 private native boolean nativeAllocate(GLEnvironment env, int width, int height); argument
368 int width,
373 int width,
396 private native boolean setNativeViewport(int x, int y, int width, in argument
366 nativeAllocateWithTexture(GLEnvironment env, int textureId, int width, int height) argument
371 nativeAllocateWithFbo(GLEnvironment env, int fboId, int width, int height) argument
[all...]
H A DFilterSurfaceView.java117 int width,
121 mWidth = width;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
H A DGLEnvironment.java110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { argument
112 int result = nativeAddSurfaceWidthHeight(surface, width, height);
173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java115 int width = mIconWidth;
120 painter.setIntrinsicWidth(width);
135 if (width < sourceWidth || height < sourceHeight) {
139 height = (int) (width / ratio);
141 width = (int) (height * ratio);
143 } else if (sourceWidth < width && sourceHeight < height) {
145 width = sourceWidth;
159 final int left = (textureWidth-width) / 2;
168 canvas.drawRect(left, top, left+width, top+height, debugPaint);
172 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/core/java/android/inputmethodservice/
H A DSoftInputWindow.java89 * return value is the height of the DockWindow, and its width is
90 * equal to the width of the screen; If the DockWindow sticks to the
91 * left or right of the screen, the return value is the width of the
100 return lp.width;
108 * <var>size</var> is the height of the DockWindow, and its width is
109 * equal to the width of the screen; If the DockWindow sticks to the
110 * left or right of the screen, <var>size</var> is the width of the
117 lp.width = -1;
120 lp.width = size;
144 int tmp = lp.width;
[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/graphics/java/android/graphics/
H A DSurfaceTexture.java146 * The width and height parameters must be no greater than the minimum of
152 public void setDefaultBufferSize(int width, int height) { argument
153 nativeSetDefaultBufferSize(width, height);
305 private native void nativeSetDefaultBufferSize(int width, int height); argument
/frameworks/base/media/java/android/media/
H A DRemoteDisplay.java116 final int width, final int height, final int flags) {
120 mListener.onDisplayConnected(surface, width, height, flags);
149 void onDisplayConnected(Surface surface, int width, int height, int flags); argument
115 notifyDisplayConnected(final Surface surface, final int width, final int height, final int flags) argument
/frameworks/base/media/java/android/media/videoeditor/
H A DOverlayFrame.java208 /* get height and width for story board aspect ratio */
248 void setOverlayFrameWidth(int width) { argument
249 mOFWidth = width;
255 void setResizedRGBSize(int width, int height) { argument
256 mResizedRGBWidth = width;
310 void generateOverlayWithRenderingMode (MediaItem mediaItemsList, OverlayFrame overlay, int height , int width) argument
327 /* Get original bitmap width if it is not resized */
336 if (resizedRGBFileWidth != width || resizedRGBFileHeight != height
341 final Bitmap destBitmap = Bitmap.createBitmap((int)width,
443 final int [] framingBuffer = new int[width];
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSingleFilterEffect.java70 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
73 Frame inputFrame = frameFromTexture(inputTexId, width, height);
74 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/base/native/android/
H A Dnative_window.cpp61 int32_t ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, argument
65 err = native_window_set_buffers_user_dimensions(window, width, height);
68 if (width && height) {
/frameworks/av/include/media/stagefright/
H A DYUVImage.h56 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height);
60 YUVImage(YUVFormat yuvFormat, int32_t width, int32_t height, uint8_t *buffer);
68 static size_t bufferSize(YUVFormat yuvFormat, int32_t width, int32_t height);
70 int32_t width() const {return mWidth;} function in class:android::YUVImage
73 // Returns true if pixel is the range [0, width-1] x [0, height-1]
78 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
84 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
147 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].
167 // Note that the range of x is [0, width-1] and the range of y is [0, height-1].

Completed in 714 milliseconds

1234567891011>>