Searched refs:height (Results 76 - 100 of 757) sorted by relevance

1234567891011>>

/frameworks/av/libvideoeditor/lvpp/
H A DPreviewRenderer.cpp30 const sp<Surface> &surface, size_t width, size_t height) {
32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height);
44 size_t width, size_t height)
47 mHeight(height) {
29 CreatePreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
42 PreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java72 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
75 // Stacked tabs; limit the height
76 height = Math.min(height,
80 return height;
/frameworks/base/graphics/java/android/renderscript/
H A DRSTextureView.java75 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
80 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
88 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
93 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java51 float height
68 int height
85 short height
102 int height
/frameworks/native/libs/ui/
H A DGraphicBuffer.cpp42 height =
55 height =
71 height = h;
84 height = buffer->height;
132 if (handle && w==width && h==height && f==format && reqUsage==usage)
150 this->height = h;
159 const Rect lockBounds(width, height);
167 rect.top < 0 || rect.bottom > this->height) {
170 this->width, this->height);
[all...]
H A DRect.cpp96 Rect Rect::transform(uint32_t xform, int32_t width, int32_t height) const {
103 result = Rect(result.left, height - result.bottom,
104 result.right, height - result.top);
107 int left = height - result.bottom;
109 int right = height - result.top;
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
88 height);
108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" +
110 height);
132 int height = mediaPlayer.getVideoHeight();
133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height);
134 if (width != 0 && height !
345 setFixedSize(int width, int height) argument
359 setFixedSize(int width, int height) argument
381 setFixedSize(int width, int height) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h150 int height, /* i */
164 int height, /* i */
182 int height, /* i */
201 int height /* i */
253 int height,
283 void H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int T);
291 void Deringing_Luma(uint8 *Rec_Y, int width, int height, int16 *QP_store,
293 void Deringing_Chroma(uint8 *Rec_C, int width, int height, int16 *QP_store,
295 void CombinedHorzVertFilter(uint8 *rec, int width, int height, int16 *QP_store,
297 void CombinedHorzVertFilter_NoSoftDeblocking(uint8 *rec, int width, int height, int1
[all...]
H A Dpost_filter.cpp43 int width, height; local
51 height = video->height;
52 size = (int32)width * height;
75 CombinedHorzVertRingFilter(output, width, height, QP_store, 0, pp_mod);
83 CombinedHorzVertFilter(output, width, height,
88 CombinedHorzVertFilter_NoSoftDeblocking(output, width, height,
94 Deringing_Luma(output, width, height, QP_store,
107 CombinedHorzVertRingFilter(output, (int)(width >> 1), (int)(height >> 1), QP_store, (int) 1, pp_mod);
116 (int)(height >>
176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) argument
[all...]
/frameworks/av/services/camera/libcameraservice/camera3/
H A DCamera3OutputStream.h42 uint32_t width, uint32_t height, int format);
49 uint32_t width, uint32_t height, size_t maxSize, int format);
67 uint32_t width, uint32_t height, int format);
/frameworks/base/libs/hwui/
H A DRenderBufferCache.h46 * @param height The desired height of the buffer
48 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
84 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument
85 mBuffer(NULL), mFormat(format), mWidth(width), mHeight(height) {
H A DRenderBufferCache.cpp110 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { argument
113 RenderBufferEntry entry(format, width, height);
124 RenderBuffer::formatName(format), width, height);
126 buffer = new RenderBuffer(format, width, height);
129 RenderBuffer::formatName(format), width, height);
H A DPathCache.h210 PathTexture* getRoundRect(float width, float height, float rx, float ry, SkPaint* paint);
212 PathTexture* getOval(float width, float height, SkPaint* paint);
213 PathTexture* getRect(float width, float height, SkPaint* paint);
214 PathTexture* getArc(float width, float height, float startAngle, float sweepAngle,
246 float& left, float& top, float& offset, uint32_t& width, uint32_t& height);
248 float& left, float& top, float& offset, uint32_t& width, uint32_t& height);
278 void purgeCache(uint32_t width, uint32_t height);
282 bool checkTextureSize(uint32_t width, uint32_t height) { argument
283 if (width > mMaxTextureSize || height > mMaxTextureSize) {
285 width, height, mMaxTextureSiz
[all...]
/frameworks/native/opengl/tests/gl_perfapp/jni/
H A Dgl_code.cpp21 // Width and height of the screen
62 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height);
66 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
69 gHeight = height;
/frameworks/av/camera/
H A DCameraParameters.cpp40 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height";
330 int width, height; local
331 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
337 sizes.push(Size(width, height));
346 void CameraParameters::setPreviewSize(int width, int height) argument
349 sprintf(str, "%dx%d", width, height);
353 void CameraParameters::getPreviewSize(int *width, int *height) const
355 *width = *height = -1;
359 parse_pair(p, width, height, 'x');
362 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons
376 setVideoSize(int width, int height) argument
425 setPictureSize(int width, int height) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMutateActivity.java88 int height = mBitmap1.getHeight();
97 for (int y = 0; y < height; y++) {
102 mBitmap1.setPixels(mPixels, 0, width, 0, 0, width, height);
106 canvas.translate(0.0f, height + 32);
107 canvas.drawBitmap(mPixels, 0, width, 0.0f, 0.0f, width, height, false, mBitmapPaint);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuItemView.java156 int height = icon.getIntrinsicHeight();
160 height *= scale;
162 if (height > mMaxIconSize) {
163 final float scale = (float) mMaxIconSize / height;
164 height = mMaxIconSize;
167 icon.setBounds(0, 0, width, height);
236 final int height = getHeight();
237 final int midy = screenPos[1] + height / 2;
241 if (midy < displayFrame.height()) {
244 screenWidth - screenPos[0] - width / 2, height);
[all...]
/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
89 height_ = height;
91 vp_height_ = height;
187 bool GLFrame::SetViewport(int x, int y, int width, int height) { argument
[all...]
/frameworks/base/libs/hwui/utils/
H A DBlur.cpp64 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
68 for (int32_t y = 0; y < height; y ++) {
108 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
112 for (int32_t y = 0; y < height; y ++) {
120 if (y > radius && y < (height - radius)) {
135 if (validH > height - 1) {
136 validH = height - 1;
63 horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
107 vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
/frameworks/native/opengl/libagl/
H A Dtexture.cpp141 0, 0, native_buffer->width, native_buffer->height,
279 (dst.height == src.height) &&
286 const size_t size = src.height * src.stride * pixelFormat.size;
363 GLenum format, GLenum type, GLsizei width, GLsizei height,
380 const size_t size = bpr * height;
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
443 int h = (height >>
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
451 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument
1056 glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp25 int height, int* offsets, int jpegQuality) {
39 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
51 int width, int height, int quality) {
53 cinfo->image_height = height;
83 int height = cinfo->image_height; local
85 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
93 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height);
95 // Jpeg library ignores the rows whose indices are greater than height.
102 // height and width are both halved because of downsampling
116 uint8_t* vRows, int rowIndex, int width, int height) {
24 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument
50 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
115 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
159 int height = cinfo->image_height; local
190 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
219 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/rs/java/tests/LivePreview/src/com/android/rs/livepreview/
H A DCameraPreviewActivity.java139 int width, int height) {
142 mPreviewTexHeight = height;
148 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
207 if (lhs.height < rhs.height) return -1;
208 if (lhs.height > rhs.height) return 1;
223 Integer.toString(mPreviewSizes.get(i).height);
269 float heightRatio = mNextPreviewSize.height / (float)mPreviewTexHeight;
282 p.setPreviewSize(mPreviewSize.width, mPreviewSize.height);
138 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java128 int height = getFormat().getHeight();
129 if (!nativeAllocateWithTexture(mGLEnvironment, texId, width, height)) {
138 int height = getFormat().getHeight();
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
369 int height);
374 int height);
396 private native boolean setNativeViewport(int x, int y, int width, int height); argument
366 nativeAllocateWithTexture(GLEnvironment env, int textureId, int width, int height) argument
371 nativeAllocateWithFbo(GLEnvironment env, int fboId, int width, int height) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DIconUtilities.java116 int height = mIconHeight;
121 painter.setIntrinsicHeight(height);
135 if (width < sourceWidth || height < sourceHeight) {
139 height = (int) (width / ratio);
141 width = (int) (height * ratio);
143 } else if (sourceWidth < width && sourceHeight < height) {
146 height = sourceHeight;
160 final int top = (textureHeight-height) / 2;
168 canvas.drawRect(left, top, left+width, top+height, debugPaint);
172 icon.setBounds(left, top, left+width, top+height);
[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));
179 * @param height height 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);
215 * @param height
220 toBitmap(int width, int height, int inset, int color) argument
[all...]

Completed in 684 milliseconds

1234567891011>>