/frameworks/base/libs/hwui/ |
H A D | PatchCache.cpp | 56 const uint32_t width, const uint32_t height, const int8_t numColors) { 71 if (transparentQuads == int8_t((width + 1) * (height + 1))) { 76 pixelWidth, pixelHeight, width, height, transparentQuads, colorKey); 87 width, height, pixelWidth, pixelHeight, bitmapWidth, bitmapHeight); 89 mesh = new Patch(width, height, transparentQuads); 53 get(const float bitmapWidth, const float bitmapHeight, const float pixelWidth, const float pixelHeight, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, const uint32_t width, const uint32_t height, const int8_t numColors) argument
|
H A D | ShapeCache.h | 149 RoundRectShapeCacheEntry(float width, float height, float rx, float ry, SkPaint* paint): argument 152 mHeight = *(uint32_t*) &height; 208 OvalShapeCacheEntry(float width, float height, SkPaint* paint): argument 211 mHeight = *(uint32_t*) &height; 234 RectShapeCacheEntry(float width, float height, SkPaint* paint): argument 237 mHeight = *(uint32_t*) &height; 260 ArcShapeCacheEntry(float width, float height, float startAngle, float sweepAngle, argument 264 mHeight = *(uint32_t*) &height; 346 void purgeCache(uint32_t width, uint32_t height); 348 void initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height); 510 createTexture(float left, float top, float offset, uint32_t width, uint32_t height, uint32_t id) argument 523 purgeCache(uint32_t width, uint32_t height) argument 534 initBitmap(SkBitmap& bitmap, uint32_t width, uint32_t height) argument 554 checkTextureSize(uint32_t width, uint32_t height) argument 568 uint32_t width, height; local [all...] |
H A D | PathCache.cpp | 30 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 32 computeBounds(bounds, paint, left, top, offset, width, height); 36 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) { 38 const float pathHeight = fmax(bounds.height(), 1.0f); 46 height = uint32_t(pathHeight + offset * 2.0 + 0.5); 100 uint32_t width, height; local 29 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument 35 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
|
H A D | LayerRenderer.cpp | 42 void LayerRenderer::setViewport(int width, int height) { argument 43 initViewport(width, height); 53 const float height = mLayer->layer.getHeight(); local 57 dirty.right >= width && dirty.bottom >= height)) { 59 dirty.set(0.0f, 0.0f, width, height); 61 dirty.intersect(0.0f, 0.0f, width, height); 162 const float height = mLayer->layer.getHeight(); local 171 const float v1 = (height - r->top) * texY; 173 const float v2 = (height - r->bottom) * texY; 197 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, boo argument 255 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument 293 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, GLenum renderTarget, float* transform) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | FaceDetector.java | 108 * @param height the height of the image 112 public FaceDetector(int width, int height, int maxFaces) argument 117 fft_initialize(width, height, maxFaces); 119 mHeight = height; 121 mBWBuffer = new byte[width * height]; 189 native private int fft_initialize(int width, int height, int maxFaces); argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_frame.h | 46 // Initialize a GL frame to the given width, height, format. Also specify 48 bool Init(int width, int height); 54 bool InitWithTexture(GLint texture_id, int width, int height); 57 bool InitWithFbo(GLint fbo_id, int width, int height); 93 bool SetViewport(int x, int y, int width, int height); 130 void InitDimensions(int width, int height); 185 // The width, height and format of the frame
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pp_semaphore_luma.cpp | 37 height = luminance VOP height in pixels (int) 123 int height /* i */ 140 ypred <= ((height << 1) - (2*MB_SIZE))) 277 else if (nmvy > (height >> 3) - 1) 279 nmvy = (height >> 3) - 1; 300 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1)) 332 if (((dy&0xF) != 0) && (mmvy + 1 < (height >> 3) - 1))
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | EdgeEffectCompat.java | 46 public void setSize(Object edgeEffect, int width, int height); argument 63 public void setSize(Object edgeEffect, int width, int height) { argument 95 public void setSize(Object edgeEffect, int width, int height) { argument 96 EdgeEffectCompatIcs.setSize(edgeEffect, width, height); 140 * @param height Effect height in pixels 142 public void setSize(int width, int height) { argument 143 IMPL.setSize(mEdgeEffect, width, height); 211 * 1.f of height.
|
/frameworks/base/media/java/android/media/videoeditor/ |
H A D | MediaImageItem.java | 137 throw new IllegalArgumentException ("Null width and height"); 225 * @return The generated Kenburns clip height. 270 * @return The scaled height of the image. 508 * and height. 511 * @param height Given height 513 private int getWidthByAspectRatioAndHeight(int aspectRatio, int height) { argument 518 if (height == MediaProperties.HEIGHT_480) 520 else if (height == MediaProperties.HEIGHT_720) 525 if (height 606 getThumbnail(int width, int height, long timeMs) argument 619 getThumbnailList(int width, int height, long startMs, long endMs, int thumbnailCount, int[] indices, GetThumbnailListCallback callback) argument 933 scaleImage(String filename, int width, int height) argument [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 42 height = 55 height = 71 height = h; 84 height = buffer->height; 132 if (handle && w==width && h==height && f==format && reqUsage==usage) 150 this->height = h; 159 const Rect lockBounds(width, height); 167 rect.top < 0 || rect.bottom > this->height) { 170 this->width, this->height); [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | DummyVideoSource.h | 34 uint32_t width, uint32_t height, 60 uint32_t width, uint32_t height,
|
H A D | PreviewRenderer.h | 36 size_t width, size_t height); 51 size_t width, size_t height);
|
H A D | PreviewRenderer.cpp | 30 const sp<Surface> &surface, size_t width, size_t height) { 32 PreviewRenderer* renderer = new PreviewRenderer(surface, width, height); 44 size_t width, size_t height) 47 mHeight(height) { 29 CreatePreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument 42 PreviewRenderer( const sp<Surface> &surface, size_t width, size_t height) argument
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | omxVCCOMM_LimitMVToRect.c | 52 * - the width or height of the bounding rectangle is less than 70 armRetArgErrIf((pRectVOPRef->height < (2* size)), OMX_Sts_BadArgErr); 75 (2*pRectVOPRef->y + pRectVOPRef->height - Ycoord - size));
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | IWallpaperEngine.aidl | 26 void setDesiredSize(int width, int height);
|
/frameworks/base/core/java/android/view/ |
H A D | SurfaceHolder.java | 90 * @param height The new height of the surface. 93 int height); 162 * @param height The surface's height. 164 public void setFixedSize(int width, int height); argument 92 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | PathShape.java | 44 * @param stdHeight the standard height for the shape. Any changes to the 45 * height with resize() will result in a height scaled based 46 * on the new height divided by this height. 63 protected void onResize(float width, float height) { argument 65 mScaleY = height / mStdHeight;
|
/frameworks/native/include/android/ |
H A D | native_window.h | 43 int32_t height; member in struct:ANativeWindow_Buffer 77 * Return the current height in pixels of the window surface. Returns a 91 * The width and height control the number of pixels in the buffers, not the 99 * width and height must be either both zero or both non-zero. 103 int32_t width, int32_t height, int32_t format);
|
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.h | 38 void setDimensions(uint32_t width, uint32_t height) { argument 40 mHeight = height;
|
/frameworks/support/v4/ics/android/support/v4/widget/ |
H A D | EdgeEffectCompatIcs.java | 33 public static void setSize(Object edgeEffect, int width, int height) { argument 34 ((EdgeEffect) edgeEffect).setSize(width, height);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMetadataRetriever.cpp | 164 static void rotate0(T* dst, const T* src, size_t width, size_t height) argument 166 memcpy(dst, src, width * height * sizeof(T)); 170 static void rotate90(T* dst, const T* src, size_t width, size_t height) argument 172 for (size_t i = 0; i < height; ++i) { 174 dst[j * height + height - 1 - i] = src[i * width + j]; 180 static void rotate180(T* dst, const T* src, size_t width, size_t height) argument 182 for (size_t i = 0; i < height; ++i) { 184 dst[(height - 1 - i) * width + width - 1 - j] = src[i * width + j]; 190 static void rotate270(T* dst, const T* src, size_t width, size_t height) argument 200 rotate(T *dst, const T *src, size_t width, size_t height, int angle) argument 248 size_t width, height; local [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | ActionBarPolicy.java | 68 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0); 71 // Stacked tabs; limit the height 72 height = Math.min(height, 76 return height;
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | RSTextureView.java | 74 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 79 mRS.setSurfaceTexture(mSurfaceTexture, width, height); 87 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 92 mRS.setSurfaceTexture(mSurfaceTexture, width, height);
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + 88 height); 108 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { 109 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + 110 height); 132 int height = mediaPlayer.getVideoHeight(); 133 Log.v(TAG, "onPrepared width=" + width + ", height=" + height); 134 if (width != 0 && height ! 345 setFixedSize(int width, int height) argument 359 setFixedSize(int width, int height) argument 381 setFixedSize(int width, int height) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 51 float height 68 int height 85 short height 102 int height
|