Searched refs:width (Results 201 - 225 of 658) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java59 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int width, int height) { argument
60 this(context, xmlLayoutResId, 0, width, height);
69 int width, int height) {
70 super(context, xmlLayoutResId, mode, width, height);
260 if (code == KEYCODE_SHIFT) x += width / 6;
261 if (code == KEYCODE_DELETE) x -= width / 6;
68 PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp75 int width, height; local
85 if (!decoder->buildTileIndex(stream, &width, &height)) {
93 SkBitmapRegionDecoder *bm = new SkBitmapRegionDecoder(decoder, stream, width, height);
184 int start_x, int start_y, int width, int height, jobject options) {
222 region.fRight = start_x + width;
242 env->SetIntField(options, gOptions_widthFieldID, bitmap->width());
183 nativeDecodeRegion(JNIEnv* env, jobject, SkBitmapRegionDecoder *brd, int start_x, int start_y, int width, int height, jobject options) argument
/frameworks/base/libs/hwui/
H A DLayer.h55 texture.width = layerWidth;
77 const float texX = 1.0f / float(texture.width);
97 return texture.width;
104 void setSize(uint32_t width, uint32_t height) { argument
105 texture.width = width;
H A DFontRenderer.h65 CacheTexture(uint8_t* texture, uint16_t width, uint16_t height) : argument
66 mTexture(texture), mTextureId(0), mWidth(width), mHeight(height),
262 width(dropShadow.width), height(dropShadow.height),
267 uint32_t width; member in struct:android::uirenderer::FontRenderer::DropShadow
320 CacheTexture* createCacheTexture(int width, int height, bool allocate);
383 int32_t width, int32_t height);
385 int32_t width, int32_t height);
386 void blurImage(uint8_t* image, int32_t width, int32_t height, int32_t radius);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java184 public void setSourceRect(float x, float y, float width, float height) { argument
185 setSourceRegion(x, y, x + width, y, x, y + height, x + width, y + height);
188 public void setTargetRect(float x, float y, float width, float height) { argument
189 setTargetRegion(x, y, x + width, y, x, y + height, x + width, y + height);
/frameworks/base/telephony/java/com/android/internal/telephony/cat/
H A DIconLoader.java238 int width = data[valueIndex++] & 0xFF;
240 int numOfPixels = width*height;
259 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
289 int width = data[valueIndex++] & 0xFF;
298 int numOfPixels = width * height;
321 return Bitmap.createBitmap(pixels, width, height,
/frameworks/native/opengl/tests/gl_jni/jni/
H A Dgl_code.cpp83 void init_scene(int width, int height) argument
93 float ratio = width / height;
94 glViewport(0, 0, width, height);
138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height);
143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument
145 init_scene(width, height);
/frameworks/wilhelm/src/itf/
H A DI3DMacroscopic.c23 SLmillimeter width, SLmillimeter height, SLmillimeter depth)
27 if (!((0 <= width) && (width <= SL_MILLIMETER_MAX) &&
34 thiz->mSize.mWidth = width;
55 SLmillimeter width = thiz->mSize.mWidth; local
59 *pWidth = width;
22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_intra_prediction.c207 u32 width, u32 constrainedIntraPred)
235 (ptr - width),
236 (ptr - width-1),
238 (i32)width,
263 u8 *ptr, u32 width,
328 a = ptr - width + x;
333 l = ptr + y * width -1;
337 width = 16;
341 al = l-width;
349 (i32)width,
206 h264bsdIntra16x16Prediction(mbStorage_t *pMb, u8 *data, u8 *ptr, u32 width, u32 constrainedIntraPred) argument
261 h264bsdIntra4x4Prediction(mbStorage_t *pMb, u8 *data, macroblockLayer_t *mbLayer, u8 *ptr, u32 width, u32 constrainedIntraPred, u32 block) argument
381 u32 width; local
546 u32 width, picSize; local
929 u32 width; local
[all...]
H A Dh264bsd_deblocking.c594 ASSERT(image->width);
597 picWidthInMbs = image->width;
946 u32 width)
983 data += width;
1021 i32 width)
1040 p1 = data[-width*2]; p0 = data[-width];
1041 q0 = data[0]; q1 = data[width];
1050 data[-width] = p0;
1069 i32 width)
942 FilterVerChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, u32 width) argument
1017 FilterHorChromaEdge( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument
1065 FilterHorChroma( u8 *data, u32 bS, edgeThreshold_t *thresholds, i32 width) argument
1542 FilterLuma( u8 *data, bS_t *bS, edgeThreshold_t *thresholds, u32 width) argument
1624 FilterChroma( u8 *dataCb, u8 *dataCr, bS_t *bS, edgeThreshold_t *thresholds, u32 width) argument
[all...]
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java278 int width = mIconWidth;
286 painter.setIntrinsicWidth(width);
290 if (width > 0 && height > 0) {
291 if (width < iconWidth || height < iconHeight) {
295 height = (int) (width / ratio);
297 width = (int) (height * ratio);
311 final int x = (mIconWidth - width) / 2;
313 icon.setBounds(x, y, x + width, y + height);
318 } else if (iconWidth < width && iconHeight < height) {
324 final int x = (width
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp333 /* width */
406 video->displayWidth = video->width = (int) BitstreamReadBits16(stream, 13);
409 video->width = (video->width + 15) & -16;
686 video->nMBPerRow = video->width / MB_SIZE;
1086 video->displayWidth = video->width = 128;
1096 video->displayWidth = video->width = 176;
1106 video->displayWidth = video->width = 352;
1116 video->displayWidth = video->width = 704;
1126 video->displayWidth = video->width
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java218 * <p>Set the stroke width and color for the drawable. If width is zero,
224 * @param width The width in pixels of the stroke
230 public void setStroke(int width, int color) { argument
231 setStroke(width, color, 0, 0);
235 * <p>Set the stroke width and color for the drawable. If width is zero,
241 * @param width The width i
249 setStroke(int width, int color, float dashWidth, float dashGap) argument
280 setSize(int width, int height) argument
1164 setStroke(int width, int color) argument
1169 setStroke(int width, int color, float dashWidth, float dashGap) argument
1191 setSize(int width, int height) argument
[all...]
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec17 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
18 void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
19 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
20 void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
55 void glLineWidth ( GLfloat width )
56 void glLineWidthx ( GLfixed width )
82 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
89 void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
99 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
102 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsize
[all...]
H A DGLES20.spec22 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
23 void glCompressedTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data )
24 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
25 void glCopyTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height )
90 void glLineWidth ( GLfloat width )
94 void glReadPixels ( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels )
96 void glRenderbufferStorage ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
98 void glScissor ( GLint x, GLint y, GLsizei width, GLsizei height )
107 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
112 void glTexSubImage2D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsize
[all...]
/frameworks/native/opengl/libs/ETC1/
H A Detc1.cpp503 etc1_uint32 etc1_get_encoded_data_size(etc1_uint32 width, etc1_uint32 height) { argument
504 return (((width + 3) & ~3) * ((height + 3) & ~3)) >> 1;
512 int etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, argument
523 etc1_uint32 encodedWidth = (width + 3) & ~3;
533 etc1_uint32 xEnd = width - x;
569 etc1_uint32 width, etc1_uint32 height,
576 etc1_uint32 encodedWidth = (width + 3) & ~3;
585 etc1_uint32 xEnd = width - x;
633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { argument
635 etc1_uint32 encodedWidth = (width
568 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument
653 etc1_uint32 width = readBEUint16(pHeader + ETC1_PKM_WIDTH_OFFSET); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoFullScreen.java34 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
37 if ( mVideoWidth * height > width * mVideoHeight ) {
38 height = width * mVideoHeight / mVideoWidth;
39 } else if ( mVideoWidth * height < width * mVideoHeight ) {
40 width = height * mVideoWidth / mVideoHeight;
43 setMeasuredDimension(width, height);
120 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) {
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccUtils.java393 int width = data[valueIndex++] & 0xFF;
395 int numOfPixels = width*height;
414 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
436 int width = data[valueIndex++] & 0xFF;
451 (width * height), colorIndexArray, bits);
454 (width * height), colorIndexArray, bits);
457 return Bitmap.createBitmap(resultArray, width, height,
/frameworks/av/media/libstagefright/
H A Davc_utils.cpp44 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) {
93 *width = pic_width_in_mbs_minus1 * 16 + 16;
127 *width -=
256 int32_t width, height; local
257 FindAVCDimensions(seqParamSet, &width, &height);
301 meta->setInt32(kKeyWidth, width);
305 width, height, AVCProfileToString(profile), level / 10, level % 10);
402 const uint8_t *data, size_t size, int32_t *width, int32_t *height) {
475 *width = video_object_layer_width;
43 FindAVCDimensions( const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) argument
401 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument
/frameworks/native/opengl/include/GLES/
H A Dglext.h563 GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
564 GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height);
565 GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
569 GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
572 typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
573 typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height);
574 typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
578 typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
637 GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width);
677 typedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
[all...]
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h765 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);
766 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);
767 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
768 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);
769 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);
772 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);
773 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);
774 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
775 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
776 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsize
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h45 void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
46 void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
47 void GLTrace_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
48 void GLTrace_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
112 void GLTrace_glLineWidth(GLfloat width);
116 void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
118 void GLTrace_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
120 void GLTrace_glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
129 void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
134 void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsize
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp44 * sourceDim: [width, height]
171 static EGLint width, height; variable
400 rect.sourceCrop.right = rect.sourceDim.width();
488 if (((uint32_t) rect.sourceCrop.left >= rect.sourceDim.width())
489 || ((uint32_t) rect.sourceCrop.right > rect.sourceDim.width())
495 if ((rect.displayFrame.left >= width)
496 || (rect.displayFrame.right > width)
508 rect.texture = new GraphicBuffer(rect.sourceDim.width(),
520 testPrintI(" buf: %p handle: %p format: %s width: %u height: %u "
523 rect.sourceDim.width(), rec
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_hor_ver_quarter.s70 width RN 12 label
101 LDR width, [sp,#0x218] ;// width
104 CMP tmpa, width
105 BHI do_fill ;// (x0+partW)>width
124 LDR width, [sp,#0x218] ;// width
127 STR width, [sp,#0] ;// sp+0 = width
135 STR tmpa, [sp,#0x218] ;// width
[all...]
/frameworks/base/core/java/android/view/animation/
H A DScaleAnimation.java278 public void initialize(int width, int height, int parentWidth, int parentHeight) { argument
279 super.initialize(width, height, parentWidth, parentHeight);
281 mFromX = resolveScale(mFromX, mFromXType, mFromXData, width, parentWidth);
282 mToX = resolveScale(mToX, mToXType, mToXData, width, parentWidth);
286 mPivotX = resolveSize(mPivotXType, mPivotXValue, width, parentWidth);

Completed in 6225 milliseconds

1234567891011>>