Searched defs:height (Results 101 - 125 of 674) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DImageUtils.java172 * Return the estimated native allocation size in bytes based on width, height, format,
179 * @param height The height of the images.
183 public static int getEstimatedNativeAllocBytes(int width, int height, int format, argument
226 return (int)(width * height * estimatedBytePerPixel * numImages);
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DFilterGraphEffect.java83 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
89 src.setInputValue("height", height);
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/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java64 public void setDimensions(int width, int height) { argument
67 dimensions[1] = height;
72 public void setDimensions(int width, int height, int depth) { argument
75 dimensions[1] = height;
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java31 public Rectangle(float x, float y, float width, float height) { argument
34 new Point(x, y + height),
35 new Point(x + width, y + height));
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.h72 float x, y, width, height; member in struct:android::filterfw::Rect
76 width = height = 1.0f;
79 Rect(float x, float y, float width, float height) { argument
83 this->height = height;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropRectFilter.java42 @GenerateFieldPort(name = "height")
119 void updateSourceRect(int width, int height) { argument
121 mHeight = height;
H A DFisheyeFilter.java136 private void updateFrameSize(int width, int height) { argument
138 mHeight = height;
H A DSharpenFilter.java127 private void updateFrameSize(int width, int height) { argument
129 mHeight = height;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.h81 float height() const { return height_; } function in class:android::filterfw::SlantedRect
89 float x, y, width, height; member in struct:android::filterfw::Rect
93 width = height = 1.0f;
96 Rect(float x, float y, float width, float height) { argument
100 this->height = height;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DCamera2SurfaceViewActivity.java102 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
103 Log.i(TAG, "Surface Changed to: " + width + "x" + height);
106 currentHeight = height;
/frameworks/base/native/android/
H A Dnative_window.cpp62 int32_t height, int32_t format) {
65 err = native_window_set_buffers_user_dimensions(window, width, height);
68 if (width && height) {
61 ANativeWindow_setBuffersGeometry(ANativeWindow* window, int32_t width, int32_t height, int32_t format) argument
/frameworks/base/opengl/java/android/opengl/
H A DETC1.java86 public static native int getEncodedDataSize(int width, int height); argument
97 public static native void encodeImage(Buffer in, int width, int height, argument
110 int width, int height, int pixelSize, int stride);
116 * @param height the height of the image in pixels.
118 public static native void formatHeader(Buffer header, int width, int height); argument
133 * Read the image height from a PKM header
109 decodeImage(Buffer in, Buffer out, int width, int height, int pixelSize, int stride) argument
H A DETC1Util.java75 int height = texture.getHeight();
79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height,
85 ByteBuffer decodedData = ByteBuffer.allocateDirect(stride*height)
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border,
117 public ETC1Texture(int width, int height, ByteBuffer data) { argument
119 mHeight = height;
130 * Get the height of the texture in pixels.
154 int height = 0;
167 height
192 compressTexture(Buffer input, int width, int height, int pixelSize, int stride) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFixedSizeFrameLayout.java81 protected void measureContents(int width, int height) { argument
83 MeasureSpec.makeMeasureSpec(height, MeasureSpec.AT_MOST));
93 int height = getMeasuredHeight();
94 onSizeChanged(width, height, width, height);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackViewState.java35 public int height; field in class:StackViewState
70 height = svs.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/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DUsbHid.java38 public Multitouch(int reportId, int maxContacts, int width, int height) { argument
42 mHeight = height;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dsobeloperator.cpp42 void computeGradient(unsigned char* dataPtr, int width, int height, short* gxPtr, short* gyPtr) { argument
43 for (int i = 0; i < height; i++) {
49 const int below = (i < height - 1) ? curr + 4 * width : curr;
66 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer,
78 int numPixels = width * height;
82 computeGradient(srcPtr, width, height, gxPtr, gyPtr);
65 Java_androidx_media_filterpacks_image_SobelFilter_sobelOperator( JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer, jobject magBuffer, jobject dirBuffer) argument
H A Dstats_scorer.cpp44 JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height,
50 int yStart = static_cast<int>(height * top);
51 int yEnd = static_cast<int>(height * bottom);
43 Java_androidx_media_filterpacks_numeric_StatsFilter_regionscore( JNIEnv* env, jobject thiz, jobject imageBuffer, jint width, jint height, jfloat left, jfloat top, jfloat right, jfloat bottom, jfloatArray statsArray) argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DSobelFilter.java168 private static native boolean sobelOperator(int width, int height, argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DCanvasTextureViewActivity.java50 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
56 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
H A DHardwareCanvasSurfaceViewActivity.java96 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
97 mThread.setSize(width, height);
114 void setSize(int width, int height) { argument
116 mHeight = height;
H A DHardwareCanvasTextureViewActivity.java51 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
57 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
H A DMovingSurfaceViewActivity.java107 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument

Completed in 496 milliseconds

1234567891011>>