Searched refs:height (Results 151 - 175 of 1472) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/utils/
H A DTestWindowContext.h41 void initialize(int width, int height);
H A DBlur.cpp95 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
99 for (int32_t y = 0; y < height; y ++) {
139 const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) {
143 for (int32_t y = 0; y < height; y ++) {
151 if (y > radius && y < (height - radius)) {
166 if (validH > height - 1) {
167 validH = height - 1;
94 horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
138 vertical(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, int32_t width, int32_t height) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java51 float height
68 int height
85 short height
102 int height
/frameworks/base/rs/java/android/renderscript/
H A DRSTextureView.java68 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
73 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
81 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
86 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DTextureSource.java63 public void allocate(int width, int height) { argument
64 //Log.i("TextureSource", "Allocating empty texture " + mTexId + ": " + width + "x" + height + ".");
65 GLToolbox.allocateTexturePixels(mTexId, mTarget, width, height);
69 public void allocateWithPixels(ByteBuffer pixels, int width, int height) { argument
70 //Log.i("TextureSource", "Uploading pixels to texture " + mTexId + ": " + width + "x" + height + ".");
71 GLToolbox.setTexturePixels(mTexId, mTarget, pixels, width, height);
/frameworks/native/include/input/
H A DDisplayViewport.h75 void setNonDisplayViewport(int32_t width, int32_t height) { argument
81 logicalBottom = height;
85 physicalBottom = height;
87 deviceHeight = height;
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DBottomScrollViewTest.java93 TestChildView(Context context, int height) { argument
95 mHeight = height;
103 public void setHeight(int height) { argument
104 mHeight = height;
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DActionBarPolicy.java95 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
98 // Stacked tabs; limit the height
99 height = Math.min(height,
103 return height;
/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/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableRect.java45 buffer.putInt(value.height());
53 int height = buffer.getInt();
56 int bottom = top + height;
/frameworks/base/libs/hwui/
H A DRenderBufferCache.h47 * @param height The desired height of the buffer
49 RenderBuffer* get(GLenum format, const uint32_t width, const uint32_t height);
81 RenderBufferEntry(GLenum format, const uint32_t width, const uint32_t height): argument
82 mBuffer(nullptr), mFormat(format), mWidth(width), mHeight(height) {
H A DRenderBufferCache.cpp97 RenderBuffer* RenderBufferCache::get(GLenum format, const uint32_t width, const uint32_t height) { argument
100 RenderBufferEntry entry(format, width, height);
111 RenderBuffer::formatName(format), width, height);
113 buffer = new RenderBuffer(format, width, height);
116 RenderBuffer::formatName(format), width, height);
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DSingleFilterEffect.java67 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
70 Frame inputFrame = frameFromTexture(inputTexId, width, height);
71 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/native/opengl/tests/gl_perfapp/jni/
H A Dgl_code.cpp21 // Width and height of the screen
60 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height);
64 JNIEXPORT void JNICALL Java_com_android_glperf_GLPerfLib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
67 gHeight = height;
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DImageCompare.java61 final int height = bitmap1.getHeight();
62 final int numPixels = width * height;
65 for (int y = 0; y < height; y++) {
/frameworks/av/camera/
H A DCameraParameters.cpp41 const char CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT[] = "jpeg-thumbnail-height";
331 int width, height; local
332 int success = parse_pair(sizeStartPtr, &width, &height, 'x',
338 sizes.push(Size(width, height));
347 void CameraParameters::setPreviewSize(int width, int height) argument
350 sprintf(str, "%dx%d", width, height);
354 void CameraParameters::getPreviewSize(int *width, int *height) const
356 *width = *height = -1;
360 parse_pair(p, width, height, 'x');
363 void CameraParameters::getPreferredPreviewSizeForVideo(int *width, int *height) cons
377 setVideoSize(int width, int height) argument
426 setPictureSize(int width, int height) argument
[all...]
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp143 int height = mEglWindow.getHeight(); local
145 glViewport(0, 0, width, height);
163 mTextRenderer.setScreenSize(width, height);
177 mGlConsumer->setDefaultBufferSize(width, height);
219 int height = mEglWindow.getHeight(); local
222 100, 100, width-200, height-200);
225 0, 0, width, height);
232 100, 100, width-200, height-200);
300 int height = window.getHeight(); local
301 glViewport(0, 0, width, height);
335 int height = window.getHeight(); local
[all...]
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
H A DHealing.java50 Bitmap bitmap = Bitmap.createBitmap(rec.width(), rec.height(), Bitmap.Config.ALPHA_8);
81 floatImage.setY(mRoiBounds.height());
86 mRoiBounds.width(), mRoiBounds.height());
89 mRoiBounds.width(), mRoiBounds.height());
100 mUndoBitmap = Bitmap.createBitmap(mRoiBounds.width(), mRoiBounds.height(),
103 Rect undoRect = new Rect(0, 0, mRoiBounds.width(), mRoiBounds.height());
126 floatImage.setY(mRoiBounds.height());
136 mRoiBounds.width(), mRoiBounds.height());
141 mRoiBounds.width(), mRoiBounds.height());
155 options.setY(1, mRoiBounds.height()
189 createMutableBitmap(Bitmap image, int x, int y, int width, int height) argument
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaRecordingCanvas.h33 explicit SkiaRecordingCanvas(uirenderer::RenderNode* renderNode, int width, int height) { argument
34 initDisplayList(renderNode, width, height);
41 virtual void resetRecording(int width, int height,
43 initDisplayList(renderNode, width, height);
86 * @param height used to calculate recording bounds.
88 void initDisplayList(uirenderer::RenderNode* renderNode, int width, int height);
/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/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/packages/SystemUI/src/com/android/systemui/qs/
H A DQSContainerImpl.java76 // Otherwise the QSPanel ends up with 0 height when the window is only the
82 int height = layoutParams.topMargin + layoutParams.bottomMargin
85 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
87 // QSCustomizer will always be the height of the screen, but do this after
88 // other measuring to avoid changing the height of the QS.
101 * Overrides the height of this view (post-layout), so that the content is clipped to that
102 * height and the background is set to that height.
104 * @param heightOverride the overridden height
112 int height
[all...]
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp27 int height, int* offsets, int jpegQuality) {
41 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
53 int width, int height, int quality) {
55 cinfo->image_height = height;
85 int height = cinfo->image_height; local
87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
95 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height);
97 // Jpeg library ignores the rows whose indices are greater than height.
104 // height and width are both halved because of downsampling
118 uint8_t* vRows, int rowIndex, int width, int height) {
26 encode(SkWStream* stream, void* inYuv, int width, int height, int* offsets, int jpegQuality) argument
52 setJpegCompressStruct(jpeg_compress_struct* cinfo, int width, int height, int quality) argument
117 deinterleave(uint8_t* vuPlanar, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
161 int height = cinfo->image_height; local
192 deinterleave(uint8_t* yuv, uint8_t* yRows, uint8_t* uRows, uint8_t* vRows, int rowIndex, int width, int height) argument
221 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, jint format, jint width, jint height, jintArray offsets, jintArray strides, jint jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]

Completed in 1152 milliseconds

1234567891011>>