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

1234567891011>>

/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...]
H A DRectShape.java43 protected void onResize(float width, float height) { argument
44 mRect.set(0, 0, width, height);
/frameworks/base/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/base/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/base/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/base/opengl/tests/angeles/
H A Dapp.h43 extern void appRender(long tick, int width, int height);
/frameworks/base/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/android/view/
H A DGLES20RenderLayer.java33 GLES20RenderLayer(int width, int height, boolean isOpaque) { argument
34 super(width, height, isOpaque);
37 mLayer = GLES20Canvas.nCreateLayer(width, height, isOpaque, layerInfo);
56 void resize(int width, int height) { argument
57 if (!isValid() || width <= 0 || height <= 0) return;
60 mHeight = height;
62 if (width != mLayerWidth || height != mLayerHeight) {
65 GLES20Canvas.nResizeLayer(mLayer, width, height, layerInfo);
H A DHardwareLayer.java32 * Indicates an unknown dimension (width or height.)
53 * @param height The minimum height of the layer
56 HardwareLayer(int width, int height, boolean isOpaque) { argument
58 mHeight = height;
72 * Returns the minimum height of the layer.
74 * @return The minimum desired height of the hardware layer
101 * @param height The new desired minimum height for this layer
103 abstract void resize(int width, int height); argument
149 update(int width, int height, boolean isOpaque) argument
[all...]
H A DGLES20Layer.java32 GLES20Layer(int width, int height, boolean opaque) { argument
33 super(width, height, opaque);
51 void update(int width, int height, boolean isOpaque) { argument
52 super.update(width, height, isOpaque);
/frameworks/base/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/media/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/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/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/statusbar/phone/
H A DExpandedView.java46 int height = bottom - top;
47 if (height != mPrevHeight) {
49 Slog.d(PhoneStatusBar.TAG, "ExpandedView height changed old=" + mPrevHeight
50 + " new=" + height);
52 mPrevHeight = height;
/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.java42 int height; field in class:ViewManager.ChildView
48 void setBounds(int x, int y, int width, int height) { argument
52 this.height = height;
55 void attachView(int x, int y, int width, int height) { argument
59 setBounds(x, y, width, height);
123 int height = mWebView.contentToViewDimension(v.height);
133 lp.height = height;
[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/libs/hwui/
H A DShapeCache.cpp32 PathTexture* RoundRectShapeCache::getRoundRect(float width, float height, argument
34 RoundRectShapeCacheEntry entry(width, height, rx, ry, paint);
40 r.set(0.0f, 0.0f, width, height);
79 PathTexture* OvalShapeCache::getOval(float width, float height, SkPaint* paint) { argument
80 OvalShapeCacheEntry entry(width, height, paint);
86 r.set(0.0f, 0.0f, width, height);
103 PathTexture* RectShapeCache::getRect(float width, float height, SkPaint* paint) { argument
104 RectShapeCacheEntry entry(width, height, paint);
109 path.addRect(0.0f, 0.0f, width, height, SkPath::kCW_Direction);
125 PathTexture* ArcShapeCache::getArc(float width, float height, argument
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h77 u32 height,
88 u32 height,
99 u32 height,
110 u32 height,
122 u32 height,
132 u32 height,
143 u32 height,
153 u32 height,
164 u32 height,
175 u32 height,
[all...]
/frameworks/base/core/java/com/android/internal/policy/
H A DIFaceLockInterface.aidl23 void startUi(IBinder containingWindowToken, int x, int y, int width, int height);

Completed in 1714 milliseconds

1234567891011>>