Searched refs:height (Results 26 - 50 of 845) sorted by relevance

1234567891011>>

/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/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dexposure.h29 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
33 JNIEnv* env, jclass clazz, jint width, jint height, jobject imageBuffer);
/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/libs/hwui/
H A DRenderBuffer.h35 RenderBuffer(GLenum format, uint32_t width, uint32_t height): argument
36 mFormat(format), mWidth(width), mHeight(height), mAllocated(false) {
92 void resize(uint32_t width, uint32_t height) { argument
93 if (isAllocated() && (width != mWidth || height != mHeight)) {
94 glRenderbufferStorage(GL_RENDERBUFFER, mFormat, width, height);
98 mHeight = height;
109 * Returns the height of the render buffer in pixels.
H A DPixelBuffer.h66 static PixelBuffer* create(GLenum format, uint32_t width, uint32_t height,
119 virtual void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height, int offset) = 0;
129 void upload(uint32_t x, uint32_t y, uint32_t width, uint32_t height) { argument
130 upload(x, y, width, height, getOffset(x, y));
141 * Returns the height of the render buffer in pixels.
183 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument
184 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
H A DPathCache.cpp91 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
93 PathCache::computeBounds(bounds, paint, left, top, offset, width, height);
97 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
99 const float pathHeight = fmax(bounds.height(), 1.0f);
107 height = uint32_t(pathHeight + offset * 2.0 + 0.5);
110 static void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) { argument
111 bitmap.setConfig(SkBitmap::kA8_Config, width, height);
129 float left, float top, float offset, uint32_t width, uint32_t height) {
130 initBitmap(bitmap, width, height);
141 uint32_t width, uint32_t height, uint32_
90 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
96 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
128 drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, float left, float top, float offset, uint32_t width, uint32_t height) argument
140 createTexture(float left, float top, float offset, uint32_t width, uint32_t height, uint32_t id) argument
247 purgeCache(uint32_t width, uint32_t height) argument
268 uint32_t width, height; local
348 uint32_t width, height; local
509 getRoundRect(float width, float height, float rx, float ry, SkPaint* paint) argument
555 getOval(float width, float height, SkPaint* paint) argument
578 getRect(float width, float height, SkPaint* paint) argument
601 getArc(float width, float height, float startAngle, float sweepAngle, bool useCenter, SkPaint* paint) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java106 Bitmap(int nativeBitmap, byte[] buffer, int width, int height, int density, argument
114 mHeight = height;
131 * width/height values
134 void reinit(int width, int height, boolean isPremultiplied) { argument
136 mHeight = height;
182 * <p>Modifies the bitmap to have a specified width, height, and {@link
207 public void reconfigure(int width, int height, Config config) { argument
209 if (width <= 0 || height <= 0) {
210 throw new IllegalArgumentException("width and height must be > 0");
219 nativeReconfigure(mNativeBitmap, width, height, confi
252 setHeight(int height) argument
370 checkWidthHeight(int width, int height) argument
631 createBitmap(Bitmap source, int x, int y, int width, int height) argument
659 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument
752 createBitmap(int width, int height, Config config) argument
767 createBitmap(DisplayMetrics display, int width, int height, Config config) argument
785 createBitmap(int width, int height, Config config, boolean hasAlpha) argument
804 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument
841 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
866 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
905 createBitmap(int colors[], int width, int height, Config config) argument
926 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
1304 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1344 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1418 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1563 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
1570 nativeReconfigure(int nativeBitmap, int width, int height, int config, int allocSize) argument
1582 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
1588 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height, boolean isPremultiplied) argument
[all...]
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/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...]
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/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/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java94 final float height = mBitmap.getHeight() / 8.0f;
98 0.0f, height, width, height, width * 2, height, width * 4, height,
99 0.0f, height * 2, width, height * 2, width * 2, height * 2, width * 3, height * 2,
100 0.0f, height *
[all...]
/frameworks/base/core/java/android/view/
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
199 update(int width, int height, boolean isOpaque) argument
[all...]
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)) {
/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);
/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/av/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/media/mca/effect/java/android/media/effect/effects/
H A DIdentityEffect.java34 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
37 Frame inputFrame = frameFromTexture(inputTexId, width, height);
38 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/frameworks/base/core/java/android/hardware/camera2/
H A DSize.java28 * @param height The height to store in the Size instance
30 public Size(int width, int height) { argument
32 mHeight = height;
/frameworks/base/core/java/com/android/internal/policy/
H A DIFaceLockInterface.aidl23 void startUi(IBinder containingWindowToken, int x, int y, int width, int height,
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRectShape.java43 protected void onResize(float width, float height) { argument
44 mRect.set(0, 0, width, height);
/frameworks/base/opengl/java/android/opengl/
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/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java32 * @param height pixel height of the display
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument
47 displayRect.bottom = height;
/frameworks/uiautomator/core/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java32 * @param height pixel height of the display
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument
47 displayRect.bottom = height;
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java31 for (int height = width * 2; height < width * 4; height++) {
36 for (int i = 0; i < height; i++) {
49 if (i == height / 2) {
58 if (i == height / 2) {
68 for (int i = 0; i < height; i++) {
82 for (int i = 0; i < height; i++) {
98 for (int i = 0; i < height; i++) {
120 for (int i = 0; i < height;
[all...]

Completed in 460 milliseconds

1234567891011>>