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

1234567891011>>

/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/base/graphics/java/android/graphics/
H A DBitmap.java263 * Common code for checking that width and height are > 0
266 * @param height height to ensure is > 0
268 private static void checkWidthHeight(int width, int height) { argument
272 if (height <= 0) {
273 throw new IllegalArgumentException("height must be > 0");
451 * specified width and height are the same as the current width and height of
457 * @param dstHeight The new bitmap's desired height.
475 final int height
513 createBitmap(Bitmap source, int x, int y, int width, int height) argument
540 createBitmap(Bitmap source, int x, int y, int width, int height, Matrix m, boolean filter) argument
632 createBitmap(int width, int height, Config config) argument
647 createBitmap(DisplayMetrics display, int width, int height, Config config) argument
665 createBitmap(int width, int height, Config config, boolean hasAlpha) argument
684 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument
723 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
748 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
787 createBitmap(int colors[], int width, int height, Config config) argument
808 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
1134 getPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1174 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument
1248 setPixels(int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1393 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable) argument
1411 nativeGetPixels(int nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument
1417 nativeSetPixels(int nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument
[all...]
/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...]
H A Dh264bsd_image.h49 u32 height; member in struct:__anon816
/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 bounds.set(0.0f, 0.0f, width, height);
144 PathTexture* ArcShapeCache::getArc(float width, float height, argument
[all...]
H A DTextureCache.cpp128 if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) {
130 bitmap->width(), bitmap->height(), mMaxTextureSize, mMaxTextureSize);
134 const uint32_t size = bitmap->rowBytes() * bitmap->height();
166 texture->bitmapSize = bitmap->rowBytes() * bitmap->height();
227 bitmap->height() != int(texture->height) ||
236 texture->height = bitmap->height();
243 uploadToTexture(resize, GL_ALPHA, bitmap->rowBytesAsPixels(), texture->height,
249 uploadToTexture(resize, GL_RGB, bitmap->rowBytesAsPixels(), texture->height,
285 uploadLoFiTexture(bool resize, SkBitmap* bitmap, uint32_t width, uint32_t height) argument
300 uploadToTexture(bool resize, GLenum format, GLsizei width, GLsizei height, GLenum type, const GLvoid * data) argument
[all...]
H A DLayerRenderer.h50 virtual void setViewport(int width, int height);
56 ANDROID_API static Layer* createLayer(uint32_t width, uint32_t height, bool isOpaque = false);
57 ANDROID_API static bool resizeLayer(Layer* layer, uint32_t width, uint32_t height);
58 ANDROID_API static void updateTextureLayer(Layer* layer, uint32_t width, uint32_t height,
/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/media/mca/filterpacks/native/base/
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/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/services/java/com/android/server/display/
H A DDisplayDeviceInfo.java91 * The height of the display in its natural orientation, in pixels.
94 public int height; field in class:DisplayDeviceInfo
153 public void setAssumedDensityForExternalDisplay(int width, int height) { argument
154 densityDpi = Math.min(width, height) * DisplayMetrics.DENSITY_XHIGH / 1080;
170 && height == other.height
190 height = other.height;
205 return "DisplayDeviceInfo{\"" + name + "\": " + width + " x " + 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/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...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_chroma_inter.cpp32 height = luminance VOP height in pixels (int)
119 int height, /* i */
160 else if (nmvy > (height >> 4) - 1)
162 nmvy = (height >> 4) - 1;
176 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 4) - 1))
111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c40 * [in] roi Dimension of the interpolation region;the parameters roi.width and roi.height must
53 * roi.width or roi.height is out of range {2,4,8}.
72 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c40 * [in] roi Dimension of the interpolation region;the parameters roi.width and roi.height must
53 * roi.width or roi.height is out of range {2,4,8}.
72 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_InterpolateChroma.c41 * roi.height must be equal to either 2, 4, or 8.
56 * roi.width or roi.height is out of range {2,4,8}.
84 armRetArgErrIf((roi.height != 2) && (roi.height != 4) && (roi.height != 8), OMX_Sts_BadArgErr)
92 ((OMX_U8*)pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
H A DomxVCM4P10_InterpolateLuma.c41 * roi.height must be equal to either 4, 8, or 16.
56 * roi.width or roi.height is out of range {4, 8, 16}.
83 armRetArgErrIf((roi.height != 4) && (roi.height != 8) && (roi.height != 16), OMX_Sts_BadArgErr)
91 (pSrc, srcStep, pDst, dstStep, roi.width, roi.height, dx, dy);
/frameworks/base/core/java/android/view/
H A DGLES20TextureLayer.java51 boolean resize(int width, int height) { argument
85 void update(int width, int height, boolean isOpaque) { argument
86 super.update(width, height, isOpaque);
87 GLES20Canvas.nUpdateTextureLayer(mLayer, width, height, isOpaque, mSurface);
/frameworks/base/include/private/hwui/
H A DDrawGlInfo.h34 // Input: current width/height of destination surface
36 int height; member in struct:android::uirenderer::DrawGlInfo
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java64 public void setDimensions(int width, int height) { argument
67 dimensions[1] = height;
72 public void setDimensions(int width, int height, int depth) { argument
75 dimensions[1] = height;
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DImageFormat.java37 int height,
42 result.setDimensions(width, height);
52 int height,
56 height,
36 create(int width, int height, int colorspace, int bytesPerSample, int target) argument
51 create(int width, int height, int colorspace, int target) argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DThinPatchesActivity.java76 final int height = 60;
79 final int top = (getHeight() - height) / 2;
82 canvas.translate(0.0f, -height * 2 - 20.0f);
84 mPatch3.setBounds(left, top, left + height, top + width);
89 mPatch1.setBounds(left, top, left + width, top + height);
93 canvas.translate(0.0f, height + 20.0f);
95 mPatch2.setBounds(left, top, left + width, top + height);
/frameworks/av/include/camera/
H A DCameraParameters.h27 int height; member in struct:android::Size
31 height = 0;
36 height = h;
59 void setPreviewSize(int width, int height);
60 void getPreviewSize(int *width, int *height) const;
63 // Set the dimensions in pixels to the given width and height
64 // for video frames. The given width and height must be one
68 void setVideoSize(int width, int height);
69 // Retrieve the current dimensions (width and height)
74 void getVideoSize(int *width, int *height) cons
[all...]

Completed in 3213 milliseconds

1234567891011>>