Searched refs:height (Results 1 - 25 of 685) sorted by relevance

1234567891011>>

/frameworks/av/cmds/stagefright/
H A Djpeg.h4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java40 * Returns the height of the Shape.
62 * @param height the height of the shape (in pixels)
64 public final void resize(float width, float height) { argument
68 if (height < 0) {
69 height =0;
71 if (mWidth != width || mHeight != height) {
73 mHeight = height;
74 onResize(width, height);
92 * @param height th
94 onResize(float width, float height) argument
[all...]
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNILib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfLib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualLib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMeshActivity.java49 final float height = mBitmap1.getHeight() / 3.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 * 3, height * 2,
55 0.0f, height *
[all...]
H A DBitmapMeshLayerActivity.java50 final float height = mBitmap1.getHeight() / 3.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 * 3, height * 2,
56 0.0f, height *
[all...]
/frameworks/native/opengl/tests/angeles/
H A Dapp.h43 extern void appRender(long tick, int width, int height);
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNILib.java29 * @param height the current view height
31 public static native void init(int width, int height); argument
/frameworks/native/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/media/mca/filterfw/native/core/
H A Dgeometry.cpp73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
77 const float current_ratio = width / height;
83 const float dy = height * (current_ratio / ratio - 1.0f);
85 height += dy;
91 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
95 const float current_length = width > height ? width : height;
100 const float dy = height * (length / current_length - 1.0f);
102 height += dy;
108 if (width <= 0.0f || height <
[all...]
/frameworks/av/libvideoeditor/vss/src/
H A DM4DECODER_Null.c199 M4OSA_UInt32 height = 0; local
224 for (height = 0; height<pStreamContext->pDecYuvWithEffect[0].u_height;
225 height++) {
238 for (height = 0; height<pStreamContext->pDecYuvWithEffect[1].u_height;
239 height++) {
252 for (height = 0; height<pStreamContext->pDecYuvWithEffect[2].u_height;
253 height
328 M4OSA_UInt32 height; local
[all...]
/frameworks/base/media/mca/effect/java/android/media/effect/
H A DEffect.java55 * <p>The input texture must be a valid texture name with the given width and height and must be
71 * @param height The height of the input texture in pixels.
74 public abstract void apply(int inputTexId, int width, int height, int outputTexId); 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
/frameworks/native/opengl/include/ETC1/
H A Detc1.h58 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height);
67 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height,
79 etc1_uint32 width, etc1_uint32 height,
88 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height);
98 // Read the image height from a PKM header
/frameworks/base/core/java/android/view/
H A DGLES20RenderLayer.java34 GLES20RenderLayer(int width, int height, boolean isOpaque) { argument
35 super(width, height, isOpaque);
38 mLayer = GLES20Canvas.nCreateLayer(width, height, isOpaque, layerInfo);
57 boolean resize(int width, int height) { argument
58 if (!isValid() || width <= 0 || height <= 0) return false;
61 mHeight = height;
63 if (width != mLayerWidth || height != mLayerHeight) {
66 if (GLES20Canvas.nResizeLayer(mLayer, width, height, layerInfo)) {
H A DHardwareLayer.java34 * Indicates an unknown dimension (width or height.)
56 * @param height The minimum height of the layer
59 HardwareLayer(int width, int height, boolean isOpaque) { argument
61 mHeight = height;
83 * Returns the minimum height of the layer.
85 * @return The minimum desired height of the hardware layer
137 * @param height The new desired minimum height for this layer
140 abstract boolean resize(int width, int height); argument
186 update(int width, int height, boolean isOpaque) argument
[all...]
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorThumbnailMain.h46 * @param height (IN) Height of thumbnail
52 M4OSA_UInt32 height, M4OSA_UInt32 *timeMS,
61 * @param height (IN) Height of thumbnail
67 M4OSA_UInt32 height, M4OSA_UInt32 *timeMS,
/frameworks/base/core/java/android/gesture/
H A DOrientedBoundingBox.java29 public final float height; field in class:OrientedBoundingBox
39 height = h;
59 point[1] = height / 2;
67 point[1] = -height / 2;
72 point[1] = -height / 2;
77 point[1] = height / 2;
/frameworks/base/core/java/android/webkit/
H A DViewManager.java43 int height; field in class:ViewManager.ChildView
49 void setBounds(int x, int y, int width, int height) { argument
53 this.height = height;
56 void attachView(int x, int y, int width, int height) { argument
60 setBounds(x, y, width, height);
123 int height = mWebView.contentToViewDimension(v.height);
133 lp.height = height;
[all...]
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp72 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
76 const float current_ratio = width / height;
82 const float dy = height * (current_ratio / ratio - 1.0f);
84 height += dy;
90 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
94 const float current_length = width > height ? width : height;
99 const float dy = height * (length / current_length - 1.0f);
101 height += dy;
107 if (width <= 0.0f || height <
[all...]
/frameworks/base/tests/RenderScriptTests/SurfaceTexture/src/com/example/android/rs/sto/
H A DCameraCapture.java59 public synchronized void beginCapture(int cameraId, int width, int height, argument
65 openCamera(width, height);
121 private void openCamera(int width, int height) { argument
124 mCamera.setParameters(calcCameraParameters(width, height));
138 private Camera.Parameters calcCameraParameters(int width, int height) { argument
143 int closestSize[] = findClosestSize(width, height, params);
157 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument
162 int smallestHeight = previewSizes.get(0).height;
169 size.height <= height
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DSizeAdaptiveLayoutTest.java83 int height = (int) lp.minHeight + 10;
85 measureAndLayout(height);
100 int height = (int) lp.minHeight;
102 measureAndLayout(height);
117 int height = (int) lp.minHeight - 10;
119 measureAndLayout(height);
136 int height = (int) (lp.minHeight + 10);
138 measureAndLayout(height);
153 int height = (int) lp.minHeight + 10;
156 int measureSpec = View.MeasureSpec.makeMeasureSpec(height, Vie
484 measureAndLayout(int height) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java28 * region by left, top, width and height.
61 * The height of the the image.
72 * @param height The height of the YuvImage.
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");
105 mHeight = height;
142 rectangle.height(), offset
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.h28 * @param height Height of the Yuv data in terms of pixels.
34 int height, int* offsets, int jpegQuality);
42 int height, int quality);
55 void deinterleaveYuv(uint8_t* yuv, int width, int height,
58 int rowIndex, int width, int height);
71 uint8_t* vRows, int rowIndex, int width, int height);

Completed in 7067 milliseconds

1234567891011>>