Searched refs:width (Results 126 - 150 of 355) sorted by relevance

1234567891011>>

/frameworks/base/tests/BrowserTestPlugin/jni/event/
H A DEventPlugin.cpp50 inst(), bitmap.width, bitmap.height);
54 const int W = obj->window->width;
58 const float zoomFactorW = static_cast<float>(bitmap.width) / W;
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java346 // See how tall everyone is. Also remember max width.
423 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) {
424 // The width of the linear layout will scale, and at least one
425 // child said it wanted to match our width. Set a flag
427 // we know our width.
436 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
514 lp.leftMargin + lp.rightMargin, lp.width);
542 lp.width == LayoutParams.MATCH_PARENT;
547 allFillParent = allFillParent && lp.width == LayoutParams.MATCH_PARENT;
568 // Check against our minimum width
1253 setChildFrame(View child, int left, int top, int width, int height) argument
1413 LayoutParams(int width, int height) argument
1428 LayoutParams(int width, int height, float weight) argument
[all...]
H A DTableRow.java276 * <p>Measures the preferred width of each child, including its margins.</p>
278 * @param widthMeasureSpec the width constraint imposed by our parent
280 * @return an array of integers corresponding to the width of each cell, or
298 switch (layoutParams.width) {
306 spec = MeasureSpec.makeMeasureSpec(layoutParams.width, MeasureSpec.EXACTLY);
310 final int width = child.getMeasuredWidth() + layoutParams.leftMargin +
312 columnWidths[i] = width;
325 * <p>Sets the width of all of the columns in this row. At layout time,
326 * this row sets a fixed width, as defined by <code>columnWidths</code>,
329 * @param columnWidths the fixed width o
[all...]
H A DFrameLayout.java171 * Returns a set of layout parameters with a width of
260 // Check against our minimum height and width
264 // Check against our foreground's minimum height and width
295 final int width = child.getMeasuredWidth();
312 childLeft = parentLeft + (parentRight - parentLeft - width) / 2 +
316 childLeft = parentRight - width - lp.rightMargin;
338 child.layout(childLeft, childTop, childLeft + width, childTop + height);
467 public LayoutParams(int width, int height) { argument
468 super(width, height);
472 * Creates a new set of layout parameters with the specified width, heigh
483 LayoutParams(int width, int height, int gravity) argument
[all...]
H A DRelativeLayout.java309 int width = 0;
327 width = myWidth;
387 width = Math.max(width, params.mRight);
429 width += mPaddingRight;
431 if (mLayoutParams.width >= 0) {
432 width = Math.max(width, mLayoutParams.width);
435 width
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp76 int width, height; local
89 if (!decoder->buildTileIndex(stream, &width, &height)) {
97 SkBitmapRegionDecoder *bm = new SkBitmapRegionDecoder(decoder, width, height);
189 int start_x, int start_y, int width, int height, jobject options) {
226 region.fRight = start_x + width;
235 env->SetIntField(options, gOptions_widthFieldID, bitmap->width());
188 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java60 assertEquals(b.width, l.getEllipsizedWidth());
238 int width = 100; field in class:StaticLayoutTest.LayoutBuilder
254 LayoutBuilder setWidth(int width) { argument
255 this.width = width;
280 return new StaticLayout(text, paint, width, align, spacingMult,
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java175 * @param width targeted width
179 Bitmap source, int width, int height) {
180 return extractThumbnail(source, width, height, OPTIONS_NONE);
187 * @param width targeted width
192 Bitmap source, int width, int height, int options) {
199 scale = width / (float) source.getWidth();
205 Bitmap thumbnail = transform(matrix, source, width, height,
213 * minSideLength is used to specify that minimal width o
178 extractThumbnail( Bitmap source, int width, int height) argument
191 extractThumbnail( Bitmap source, int width, int height, int options) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpp_semaphore_luma.cpp36 width = luminance VOP width in pixels (int)
122 int width, /* i */
139 if (xpred >= 0 && xpred <= ((width << 1) - (2*MB_SIZE)) && ypred >= 0 &&
112 pp_semaphore_luma( int xpred, int ypred, uint8 *pp_dec_y, uint8 *pstprcTypPrv, int *ll, int *mv_loc, int dx, int dy, int mvwidth, int width, int height ) argument
H A Dcombined_decode.cpp539 int width = video->width; local
555 int32 offset = (int32)(y_pos << 4) * width + (x_pos << 4);
677 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp],
707 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >> 1, ncoeffs[4],
731 BlockIDCT(video->currVop->vChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 264, mblock->block[5], width >> 1, ncoeffs[5],
759 BlockIDCT(c_comp + (comp&2)*(width << 2) + 8*(comp&1), mblock->pred_block + (comp&2)*64 + 8*(comp&1), mblock->block[comp], width, ncoeffs[comp],
785 BlockIDCT(video->currVop->uChan + (offset >> 2) + (x_pos << 2), mblock->pred_block + 256, mblock->block[4], width >>
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputManager.java60 private static native void nativeSetDisplaySize(int displayId, int width, int height); argument
129 public void setDisplaySize(int displayId, int width, int height) { argument
130 if (width <= 0 || height <= 0) {
135 Slog.d(TAG, "Setting display #" + displayId + " size to " + width + "x" + height);
137 nativeSetDisplaySize(displayId, width, height);
342 public int width; field in class:InputManager.VirtualKeyDefinition
446 key.width = Integer.parseInt(it[i+4]);
450 + key.centerY + " size=" + key.width + "x"
/frameworks/base/tools/aapt/
H A DImages.cpp52 png_uint_32 width; member in struct:image_info
74 png_get_IHDR(read_ptr, read_info, &outImageInfo->width,
123 (int)outImageInfo->width, (int)outImageInfo->height,
127 png_get_IHDR(read_ptr, read_info, &outImageInfo->width,
168 png_bytep row, int width, bool transparent, bool required,
177 for (i=1; i<width-1; i++) {
182 *outRight = width-2;
319 image->width, &left, &right);
334 int W = image->width;
446 image->width
167 get_horizontal_ticks( png_bytep row, int width, bool transparent, bool required, int32_t* outLeft, int32_t* outRight, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
843 png_uint_32 width, height; local
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp103 const int w = bitmap.width();
156 const int w = bitmap.width();
300 glScissor(updateRect.left, mHeight - updateRect.bottom, updateRect.width(),
368 int fps, width, height, count, pause; local
370 if (sscanf(l, "%d %d %d", &width, &height, &fps) == 3) {
371 //LOGD("> w=%d, h=%d, fps=%d", fps, width, height);
372 animation.width = width;
436 const int xc = (mWidth - animation.width) / 2;
442 clearReg.subtractSelf(Rect(xc, yc, xc+animation.width, y
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES10.java414 // C function void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
420 int width,
427 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
434 int width,
441 // C function void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
449 int width,
454 // C function void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
463 int width,
794 // C function void glLineWidth ( GLfloat width )
797 float width
416 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
429 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
443 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
456 glCopyTexSubImage2D( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height ) argument
1057 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1117 glScissor( int x, int y, int width, int height ) argument
1239 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1269 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1334 glViewport( int x, int y, int width, int height ) argument
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java351 int width,
363 int width,
376 int width,
388 int width,
619 float width
623 int width
795 int width,
841 int width,
914 int width,
939 int width,
347 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
358 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
370 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
381 glCopyTexSubImage2D( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height ) argument
792 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
838 glScissor( int x, int y, int width, int height ) argument
910 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
934 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
965 glViewport( int x, int y, int width, int height ) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DLargeBitmap.java70 /** Returns the original image's width */
123 int start_x, int start_y, int width, int height,
122 nativeDecodeRegion(int lbm, int start_x, int start_y, int width, int height, BitmapFactory.Options options) argument
/frameworks/base/include/media/
H A DIMediaRecorder.h43 virtual status_t setVideoSize(int width, int height) = 0;
H A DMediaRecorderBase.h37 virtual status_t setVideoSize(int width, int height) = 0;
/frameworks/base/include/surfaceflinger/
H A DISurfaceComposerClient.h53 uint32_t width; member in struct:android::ISurfaceComposerClient::surface_data_t
/frameworks/base/include/ui/
H A DPixelFormat.h103 size_t getScanlineSize(unsigned int width) const;
/frameworks/base/media/libstagefright/rtsp/
H A DASessionDescription.h49 int32_t *width, int32_t *height) const;
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.h54 void configBitmapSize(SkBitmap* bm, SkBitmap::Config pref, int width,
/frameworks/base/opengl/include/GLES2/
H A Dgl2ext.h487 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
488 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
489 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
490 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
491 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
494 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
495 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
496 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
497 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
498 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsize
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DGLImpl.java227 // C function void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
233 int width,
240 // C function void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
247 int width,
254 // C function void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
262 int width,
267 // C function void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
276 int width,
602 // C function void glLineWidth ( GLfloat width )
605 float width
229 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
242 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
256 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
269 glCopyTexSubImage2D( int target, int level, int xoffset, int yoffset, int x, int y, int width, int height ) argument
865 glReadPixels( int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
925 glScissor( int x, int y, int width, int height ) argument
1047 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
1077 glTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels ) argument
1142 glViewport( int x, int y, int width, int height ) argument
1729 glDrawTexfOES( float x, float y, float z, float width, float height ) argument
1752 glDrawTexiOES( int x, int y, int z, int width, int height ) argument
1775 glDrawTexsOES( short x, short y, short z, short width, short height ) argument
1798 glDrawTexxOES( int x, int y, int z, int width, int height ) argument
2130 glRenderbufferStorageOES( int target, int internalformat, int width, int height ) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DSurfaceView.java64 public void setFixedSize(int width, int height) {

Completed in 509 milliseconds

1234567891011>>