Searched refs:height (Results 1 - 25 of 1273) 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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DColorSpace.java31 * The input data is expected to be laid out in 3 planes. The width x height Y plane, followed
39 * @param height the height of the image (must be a multiple of 2)
42 ByteBuffer input, ByteBuffer output, int width, int height) {
43 expectInputSize(input, (3 * width * height) / 2);
44 expectOutputSize(output, width * height * 4);
45 nativeYuv420pToRgba8888(input, output, width, height);
58 * @param height the height of the image
61 ByteBuffer input, ByteBuffer output, int width, int height) {
41 convertYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
60 convertArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
79 convertRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
98 convertRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
121 nativeYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
124 nativeArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
127 nativeRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
130 nativeRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
[all...]
H A DPixelUtils.java39 * @param height The height of the input image.
47 int height,
57 } else if ((width * height * 4) != input.remaining()) {
60 } else if ((width * height * 4) != output.remaining()) {
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
70 int height,
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/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/graphics/java/android/graphics/drawable/shapes/
H A DShape.java42 * 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/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...]
H A DAlpha8BitmapActivity.java60 final float height = texture.getHeight() / 3.0f;
64 0.0f, height, width, height, width * 2, height, width * 4, height,
65 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2,
66 0.0f, height *
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DAutoScrollView.java35 int height = getHeight();
36 int scrollPadding = (int) (height * SCROLL_PERCENT);
39 } else if (y > height - scrollPadding) {
40 scrollBy(0, y - height + scrollPadding);
/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/base/graphics/java/android/graphics/
H A DAtlas.java79 * @param height The height of the atlas in pixels
83 public Atlas(Type type, int width, int height) { argument
84 this(type, width, height, FLAG_DEFAULTS);
94 * @param height The height of the atlas in pixels
100 public Atlas(Type type, int width, int height, int flags) { argument
101 mPolicy = findPolicy(type, width, height, flags);
108 * @param height The height o
115 pack(int width, int height) argument
132 pack(int width, int height, Entry entry) argument
137 findPolicy(Type type, int width, int height, int flags) argument
159 pack(int width, int height, Entry entry) argument
249 int height; field in class:Atlas.SlicePolicy.Cell
259 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) argument
273 pack(int width, int height, Entry entry) argument
356 insert(Cell cell, Cell prev, int width, int height, Entry entry) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java50 final int height = config.screenHeightDp;
52 if (smallest > 600 || (width > 960 && height > 720) || (width > 720 && height > 960)) {
55 } else if (width >= 500 || (width > 640 && height > 480) || (width > 480 && height > 640)) {
83 final int height = configuration.screenHeightDp;
85 width >= 480 || (width >= 640 && height >= 480);
91 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
94 // Stacked tabs; limit the height
95 height
[all...]
/frameworks/base/libs/hwui/renderstate/
H A DScissor.cpp46 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) { argument
48 || width != mScissorWidth || height != mScissorHeight)) {
55 height += y;
61 if (height < 0) {
62 height = 0;
64 glScissor(x, y, width, height);
69 mScissorHeight = height;
81 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y); local
86 || height != mScissorHeight) {
87 glScissor(x, y, width, height);
[all...]
/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/media/libstagefright/filters/
H A DColorConvert.h29 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
33 uint8_t *pY, uint8_t *pUV, int32_t width, int32_t height,
38 uint8_t *src, int32_t width, int32_t height, uint32_t stride,
/frameworks/base/libs/hwui/
H A DPixelBuffer.cpp36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
42 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
51 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
52 : PixelBuffer(format, width, height)
53 , mBuffer(new uint8_t[width * height * formatSize(format)]) {
71 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument
72 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
82 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
89 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
101 uint32_t width, uint32_t height)
100 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
149 upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) argument
162 create(GLenum format, uint32_t width, uint32_t height, BufferType type) argument
[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/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDropTarget.java28 * RecentsView, and the width/height are of the RecentsView.
30 boolean acceptsDrop(int x, int y, int width, int height, Rect insets, boolean isCurrentTarget); argument
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dbrightness.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
H A Dcolorspace.h31 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
35 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
39 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);
43 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height);

Completed in 2669 milliseconds

1234567891011>>