Searched refs:height (Results 51 - 75 of 757) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
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,
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 * Returns the height of the render buffer in pixels.
164 PixelBuffer(GLenum format, uint32_t width, uint32_t height): argument
165 mFormat(format), mWidth(width), mHeight(height), mAccessMode(kAccessMode_None) {
H A DLayerRenderer.cpp42 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);
173 const float height = mLayer->layer.getHeight(); local
182 const float v1 = (height - r->top) * texY;
184 const float v2 = (height - r->bottom) * texY;
208 Layer* LayerRenderer::createLayer(uint32_t width, uint32_t height, boo argument
278 resizeLayer(Layer* layer, uint32_t width, uint32_t height) argument
315 updateTextureLayer(Layer* layer, uint32_t width, uint32_t height, bool isOpaque, GLenum renderTarget, float* transform) argument
[all...]
/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/support/v7/appcompat/src/android/support/v7/internal/view/
H A DActionBarPolicy.java65 int height = a.getLayoutDimension(R.styleable.ActionBar_height, 0);
68 // Stacked tabs; limit the height
69 height = Math.min(height,
73 return height;
/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...]
/frameworks/base/media/java/android/media/
H A DFaceDetector.java108 * @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 Dgl_frame.h46 // 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/base/core/java/android/view/
H A DSurfaceControl.java42 int width, int height, int minLayer, int maxLayer, boolean allLayers);
44 int width, int height, int minLayer, int maxLayer, boolean allLayers);
219 * @param h The surface initial height.
394 public int height; field in class:SurfaceControl.PhysicalDisplayInfo
416 && height == other.height
431 height = other.height;
442 return "PhysicalDisplayInfo{" + width + " x " + height + ", " + refreshRate + " fps, "
528 * @param height Th
41 nativeScreenshot(IBinder displayToken, int width, int height, int minLayer, int maxLayer, boolean allLayers) argument
43 nativeScreenshot(IBinder displayToken, Surface consumer, int width, int height, int minLayer, int maxLayer, boolean allLayers) argument
535 screenshot(IBinder display, Surface consumer, int width, int height, int minLayer, int maxLayer) argument
550 screenshot(IBinder display, Surface consumer, int width, int height) argument
586 screenshot(int width, int height, int minLayer, int maxLayer) argument
605 screenshot(int width, int height) argument
612 screenshot(IBinder display, Surface consumer, int width, int height, int minLayer, int maxLayer, boolean allLayers) argument
[all...]
H A DSurfaceHolder.java90 * @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/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_luma.cpp37 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 DEdgeEffectCompat.java46 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 DMediaImageItem.java137 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/av/libvideoeditor/lvpp/
H A DDummyVideoSource.h34 uint32_t width, uint32_t height,
60 uint32_t width, uint32_t height,
H A DPreviewRenderer.h36 size_t width, size_t height);
51 size_t width, size_t height);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/
H A DomxVCCOMM_LimitMVToRect.c52 * - 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/app/
H A DIUiAutomationConnection.aidl38 Bitmap takeScreenshot(int width, int height);
/frameworks/base/core/java/android/service/wallpaper/
H A DIWallpaperEngine.aidl26 void setDesiredSize(int width, int height);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DPathShape.java44 * @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 Dnative_window.h43 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 DrsdFrameBufferObj.h38 void setDimensions(uint32_t width, uint32_t height) { argument
40 mHeight = height;
/frameworks/support/v4/ics/android/support/v4/widget/
H A DEdgeEffectCompatIcs.java33 public static void setSize(Object edgeEffect, int width, int height) { argument
34 ((EdgeEffect) edgeEffect).setSize(width, height);
/frameworks/base/media/jni/
H A Dandroid_media_MediaMetadataRetriever.cpp164 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...]

Completed in 691 milliseconds

1234567891011>>