HomeSort by relevance Sort by last modified time
    Searched refs:height (Results 676 - 700 of 9458) sorted by null

<<21222324252627282930>>

  /frameworks/av/include/camera/
CameraParameters2.h 66 void setPreviewSize(int width, int height);
67 void getPreviewSize(int *width, int *height) const;
70 // Set the dimensions in pixels to the given width and height
71 // for video frames. The given width and height must be one
75 void setVideoSize(int width, int height);
76 // Retrieve the current dimensions (width and height)
81 void getVideoSize(int *width, int *height) const;
82 // Retrieve a Vector of supported dimensions (width and height)
89 // Retrieve the preferred preview size (width and height) in pixels
90 // for video recording. The given width and height must be one o
    [all...]
CameraParameters.h 27 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) const
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/
DngCreator.java 170 int height = pixels.getHeight(); local
172 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
173 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
174 "," + height + ") too large, dimensions must be smaller than " +
179 nativeSetThumbnail(rgbBuffer, width, height);
211 int height = pixels.getHeight(); local
213 if (width > MAX_THUMBNAIL_DIMENSION || height > MAX_THUMBNAIL_DIMENSION) {
214 throw new IllegalArgumentException("Thumbnail dimensions width,height (" + width +
215 "," + height + ") too large, dimensions must be smaller than " +
220 nativeSetThumbnail(rgbBuffer, width, height);
325 int height = size.getHeight(); local
380 int height = size.getHeight(); local
532 int height = yuvImage.getHeight(); local
591 int height = argbBitmap.getHeight(); local
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ThinPatchesActivity.java 76 final int height = 60; local
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/base/tools/layoutlib/bridge/src/android/view/
ShadowPainter.java 81 int height = source.getHeight(); local
82 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE,
190 int height = source.getHeight(); local
192 image = new BufferedImage(width + SHADOW_SIZE, height + SHADOW_SIZE, type);
195 drawRectangleShadow(image, 0, 0, width, height);
217 int height = source.getHeight(); local
220 image = new BufferedImage(width + SMALL_SHADOW_SIZE, height + SMALL_SHADOW_SIZE, type);
224 drawSmallRectangleShadow(image, 0, 0, width, height);
239 * @param height the height of the rectangl
    [all...]
  /frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
FixedAspectSurfaceView.java 34 * requested aspect ratio. This can happen if both the width and the height are exactly
35 * determined by the layout. To avoid this, ensure that either the height or the width is
42 * Desired width/height ratio
63 * @param aspect the desired width/height ratio in the current UI orientation. Must be a
91 int height = MeasureSpec.getSize(heightMeasureSpec); local
105 // Width is fixed, heightMode either AT_MOST or UNSPECIFIED, so adjust height
108 // Height is fixed, widthMode either AT_MOST or UNSPECIFIED, so adjust width
111 // Need to fit into box <= [width, height] in size.
114 float boxAspectRatio = width / (float) height;
126 // Maximize height, widthSpec is UNSPECIFIE
    [all...]
  /hardware/qcom/camera/QCamera2/stack/mm-lib2d-interface/test/
mm_lib2d_test.c 104 * @height: height of the input yuv frame
112 int32_t height; member in struct:input_yuv_data_t
142 int height, int stride, char *fname)
156 fprintf(f, "%c%c%c%c", width & 0xff, width >> 8, height & 0xff, height >> 8);
159 for (i = 0; i < height; i++) {
252 * height - height of yuv image
266 int32_t height, int32_t crcb_offset, void *addr
330 int32_t height = 0; local
    [all...]
  /hardware/qcom/display/msm8994/libgralloc/
gr.h 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
53 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
57 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer
58 void getBufferAttributes(int width, int height, int format, int usage,
69 // Allocate buffer from width, height, format into a private_handle_t
116 * Function to compute aligned width and aligned height based on
117 * width, height, format and usage flags.
119 * @return aligned width, aligned height
121 void getAlignedWidthAndHeight(int width, int height, int format,
125 * Function to compute the adreno aligned width and aligned height
    [all...]
  /hardware/qcom/display/msm8996/libgralloc/
gr.h 51 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
53 unsigned int getBufferSizeAndDimensions(int width, int height, int format,
57 // Attributes include aligned width, aligned height, tileEnabled and size of the buffer
58 void getBufferAttributes(int width, int height, int format, int usage,
69 // Allocate buffer from width, height, format into a private_handle_t
117 * Function to compute aligned width and aligned height based on
118 * width, height, format and usage flags.
120 * @return aligned width, aligned height
122 void getAlignedWidthAndHeight(int width, int height, int format,
126 * Function to compute aligned width and aligned height based o
    [all...]
  /packages/apps/Camera2/src/com/android/camera/captureintent/
PreviewTransformCalculator.java 47 new RectF(0.0f, 0.0f, previewViewSize.width(), previewViewSize.height());
54 previewBufferSize = new Size(previewStreamSize.height(), previewStreamSize.width());
61 new RectF(0.0f, 0.0f, previewBufferSize.width(), previewBufferSize.height());
89 rotatedPreviewSize = new Size(previewStreamSize.height(), previewStreamSize.width());
93 (float) previewViewSize.height() / (float) rotatedPreviewSize.height());
97 0.0f, 0.0f, previewStreamSize.width() * scale, previewStreamSize.height() * scale);
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
SurfaceTextureScreenNail.java 57 private static void setDefaultBufferSize(SurfaceTexture st, int width, int height) {
59 st.setDefaultBufferSize(width, height);
85 public void setSize(int width, int height) {
87 mHeight = height;
108 public void draw(GLCanvas canvas, int x, int y, int width, int height) {
117 int cy = y + height / 2;
122 canvas.drawTexture(mExtTexture, mTransform, x, y, width, height);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
ZoomControlBar.java 128 int height = bottom - top; local
129 mBar.layout(mTotalIconWidth, 0, mWidth - mTotalIconWidth, height);
140 mZoomIn.layout(0, 0, mIconWidth, height);
141 mZoomOut.layout(mWidth - mIconWidth, 0, mWidth, height);
144 mZoomOut.layout(0, 0, mIconWidth, height);
145 mZoomIn.layout(mWidth - mIconWidth, 0, mWidth, height);
150 (pos + sliderWidth / 2), height);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
UpdateMessagePartSizeAction.java 37 public static void updateSize(final String partId, final int width, final int height) {
40 Assert.inRange(height, 0, Integer.MAX_VALUE);
43 partId, width, height);
49 private static final String KEY_HEIGHT = "height";
51 private UpdateMessagePartSizeAction(final String partId, final int width, final int height) {
54 actionParameters.putInt(KEY_HEIGHT, height);
61 final int height = actionParameters.getInt(KEY_HEIGHT); local
69 values.put(PartColumns.HEIGHT, height);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtils.java 137 int height = awtImage.getHeight(); local
142 new ImageData(width, height, 32, getAwtPaletteData(awtImage.getType()));
159 byte[] alphaData = new byte[height * width];
160 for (int y = 0; y < height; y++) {
195 new BufferedImage(swtData.width, swtData.height, BufferedImage.TYPE_INT_ARGB);
202 for (int y = 0; y < swtData.height; y++) {
214 for (int y = 0; y < swtData.height; y++) {
267 int destHeight = (int) (scale * boundingBox.height);
277 int dy2 = dy1 + bounds.height;
287 int sy2 = sy1 + bounds.height;
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
ShaderTests.java 44 public void draw(Canvas canvas, int width, int height) {
51 canvas.drawRect(0, 0, width, height, mPaint);
64 public void draw(Canvas canvas, int width, int height) {
82 canvas.drawRect(0, 0, width, height, mPaint);
106 public void draw(Canvas canvas, int width, int height) {
108 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ALPHA_8);
112 bitmapCanvas.drawCircle(width / 2, height / 2, radius, mPaint);
116 width, height, Bitmap.Config.ALPHA_8);
119 bitmapCanvas.drawCircle(width / 2, height, radius, mPaint);
125 width / 2, height / 2, radius
    [all...]
  /external/deqp/framework/delibs/deimage/
deTarga.c 41 int height; local
60 height = (int)(tgaHeader[14]) | ((int)(tgaHeader[15]) << 8);
74 image = deImage_create(width, height, format);
82 for (y = 0; y < height; y++)
85 int dstY = yFlipped ? (height-1 - y) : y;
123 int height = image->height; local
149 tgaHeader[14] = (char)(height & 0xFF);
150 tgaHeader[15] = (char)(height >> 8);
161 for (ndx = 0; ndx < width * height; ndx++
    [all...]
  /external/deqp/framework/opengl/
gluPixelTransfer.cpp 57 int height = dst.getHeight(); local
61 gl.readPixels(x, y, width, height, format.format, format.dataType, dst.getDataPtr());
76 int height = src.getHeight(); local
80 gl.texImage2D(target, level, internalFormat, width, height, 0, format.format, format.dataType, src.getDataPtr());
95 int height = src.getHeight(); local
100 gl.texImage3D(target, level, internalFormat, width, height, depth, 0, format.format, format.dataType, src.getDataPtr());
115 int height = src.getHeight(); local
119 gl.texSubImage2D(target, level, x, y, width, height, format.format, format.dataType, src.getDataPtr());
134 int height = src.getHeight(); local
139 gl.texSubImage3D(target, level, x, y, z, width, height, depth, format.format, format.dataType, src.getDataPtr())
    [all...]
  /external/mesa3d/src/mesa/main/
image.h 44 GLsizei width, GLsizei height,
52 GLsizei width, GLsizei height,
66 GLsizei width, GLsizei height,
73 GLsizei width, GLsizei height,
85 GLint width, GLint height,
90 _mesa_expand_bitmap(GLsizei width, GLsizei height,
106 GLsizei *width, GLsizei *height,
113 GLsizei *width, GLsizei *height,
120 GLsizei *width, GLsizei *height);
126 GLsizei *width, GLsizei *height );
    [all...]
viewport.c 46 _mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height)
50 _mesa_set_viewport(ctx, x, y, width, height);
61 * \param height height of the viewport rectangle.
65 GLsizei width, GLsizei height)
68 _mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height);
70 if (width < 0 || height < 0) {
72 "glViewport(%d, %d, %d, %d)", x, y, width, height);
76 /* clamp width and height to the implementation dependent range */
78 height = MIN2(height, (GLsizei) ctx->Const.MaxViewportHeight)
    [all...]
  /external/opencv/cvaux/src/
_cvvectrack.h 65 (r1.width == r2.width) && (r1.height == r2.height);
84 (p.y > r.y) && (p.y < (r.y + r.height)));
91 CvPoint prb = {r1.x + r1.width, r1.y + r1.height};
102 rect.height = r.height * decr;
135 r.height += 2*d;
143 p.y = r.y + r.height / 2;
155 if (pImage->width != sz.width || pImage->height != sz.height || pImage->nChannels != lChNum
    [all...]
  /external/opencv3/modules/video/test/
test_camshift.cpp 121 double height = box0.size.height*0.5; local
124 double inv_ww = 1./(width*width), inv_hh = 1./(height*height);
126 img = cvCreateMat( img_size.height, img_size.width, img_type );
130 for( y = 0; y < img_size.height; y++ )
162 box0.size.height = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2);
165 if( box0.size.width > box0.size.height )
168 CV_SWAP( box0.size.width, box0.size.height, t );
171 m = MAX( box0.size.width, box0.size.height );
    [all...]
  /external/skia/src/gpu/
GrLayerAtlas.cpp 25 void GrLayerAtlas::Plot::init(int id, int offX, int offY, int width, int height) {
27 fRects = GrRectanizer::Factory(width, height);
28 fOffset.set(offX * width, offY * height);
31 bool GrLayerAtlas::Plot::allocateRect(int width, int height, SkIPoint16* loc) {
32 if (!fRects->addRect(width, height, loc)) {
66 desc.fHeight = fBackingTextureSize.height();
84 int textureHeight = fBackingTextureSize.height();
131 int width, int height, SkIPoint16* loc) {
138 if (plot->allocateRect(width, height, loc)) {
158 if (plot->allocateRect(width, height, loc))
    [all...]
  /external/webp/src/dec/
alpha.c 47 size_t data_size, int width, int height, uint8_t* output) {
53 assert(width > 0 && height > 0);
57 dec->height_ = height;
93 const int height = alph_dec->height_; local
110 unfilter_func(width, height, width, row, num_rows, output);
125 const int height = dec->pic_hdr_.height_; local
127 if (row < 0 || num_rows <= 0 || row + num_rows > height) {
137 width, height, dec->alpha_plane_)) {
146 num_rows = height; // decode everything in one pass
155 ok = WebPDequantizeLevels(dec->alpha_plane_, width, height,
    [all...]
  /external/webrtc/webrtc/modules/desktop_capture/
differ.cc 20 Differ::Differ(int width, int height, int bpp, int stride) {
23 height_ = height;
99 // If the screen height is not a multiple of the block size, then this
125 int stride, int width, int height) {
127 for (int y = 0; y < height; y++) {
151 int height = 1; local
179 height++;
195 height *= kBlockSize;
196 if (top + height > height_) {
197 height = height_ - top
    [all...]
  /external/ImageMagick/MagickCore/
geometry.c 68 % height, x, and y values. It also returns flags that indicates which
69 % of the four values (width, height, x, y) were located in the string, and
86 % size_t *width,size_t *height)
94 % o width,height: The width and height as determined by the geometry
99 ssize_t *y,size_t *width,size_t *height)
209 Parse width, height, x, and y.
248 Parse height.
251 if (height != (size_t *) NULL)
252 *height=(size_t) floor(StringToDouble(p,&p)+0.5)
1187 height, local
    [all...]

Completed in 1636 milliseconds

<<21222324252627282930>>