Searched refs:height (Results 1 - 25 of 1472) 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.java46 * Returns the height of the Shape.
68 * @param height the height of the shape (in pixels)
70 public final void resize(float width, float height) { argument
74 if (height < 0) {
75 height =0;
77 if (mWidth != width || mHeight != height) {
79 mHeight = height;
80 onResize(width, height);
100 * @param height th
102 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/libs/hwui/tests/common/scenes/
H A DBitmapFillrate.cpp38 void createContent(int width, int height, Canvas& canvas) override {
40 createNode(canvas, 0x909C27B0, 0, 0, width, height);
41 createNode(canvas, 0xA0CDDC39, width / 3, height / 3, width, height);
42 createNode(canvas, 0x90009688, width / 3, 0, width, height);
43 createNode(canvas, 0xA0FF5722, 0, height / 3, width, height);
44 createNode(canvas, 0x9000796B, width / 6, height/6, width, height);
45 createNode(canvas, 0xA0FFC107, width / 6, 0, width, height);
56 createNode(Canvas& canvas, SkColor color, int left, int top, int width, int height) argument
[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/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/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A DUT_invert.java31 private boolean Test(int width, int height, int depth) { argument
37 if (height > 0) {
38 typeBuilder.setY(height);
48 if (height < 1) {
49 height = 1;
55 float a[] = new float[width * height * depth * 4];
56 float b[] = new float[width * height * depth * 4];
60 for (int i = 0; i < width * height * depth * 4; i++) {
77 for (int i = 0; i < width * height * depth * 4; i++) {
/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/renderthread/
H A DFrame.h30 Frame(int32_t width, int32_t height, int32_t bufferAge) argument
32 , mHeight(height)
36 int32_t height() const { return mHeight; } function in class:android::uirenderer::renderthread::Frame
/frameworks/native/libs/vr/libbufferhub/
H A Dion_buffer.cpp20 IonBuffer::IonBuffer(uint32_t width, uint32_t height, uint32_t format, argument
23 Alloc(width, height, kDefaultGraphicBufferLayerCount, format, usage);
26 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, argument
28 : IonBuffer(handle, width, height, kDefaultGraphicBufferLayerCount, stride,
31 IonBuffer::IonBuffer(buffer_handle_t handle, uint32_t width, uint32_t height, argument
36 "IonBuffer::IonBuffer: handle=%p width=%u height=%u layer_count=%u "
38 handle, width, height, layer_count, stride, format, usage);
40 Import(handle, width, height, layer_count, stride, format, usage);
46 "IonBuffer::~IonBuffer: handle=%p width=%u height=%u stride=%u "
48 handle(), width(), height(), strid
74 Alloc(uint32_t width, uint32_t height, uint32_t layer_count, uint32_t format, uint64_t usage) argument
91 Reset(buffer_handle_t handle, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
101 Import(buffer_handle_t handle, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
122 Import(const int* fd_array, int fd_count, const int* int_array, int int_count, uint32_t width, uint32_t height, uint32_t layer_count, uint32_t stride, uint32_t format, uint64_t usage) argument
198 Lock(uint32_t usage, int x, int y, int width, int height, void** address) argument
214 LockYUV(uint32_t usage, int x, int y, int width, int height, struct android_ycbcr* yuv) argument
[all...]
/frameworks/base/libs/hwui/
H A DPixelBuffer.cpp36 CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
40 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
49 CpuPixelBuffer::CpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
50 : PixelBuffer(format, width, height)
51 , mBuffer(new uint8_t[width * height * formatSize(format)]) {
65 void CpuPixelBuffer::upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) { argument
66 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
76 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height);
81 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) override;
93 uint32_t width, uint32_t height)
92 GpuPixelBuffer(GLenum format, uint32_t width, uint32_t height) argument
137 upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) argument
150 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

Completed in 657 milliseconds

1234567891011>>