Searched refs:height (Results 201 - 225 of 685) sorted by relevance

1234567891011>>

/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardWidgetFrame.java115 // we need to specify a height.
332 * @param height The height of the widget, -1 for full height
334 private void setWidgetHeight(int height) { argument
339 if (lp.height != height) {
341 lp.height = height;
403 public void setFrameHeight(int height) { argument
[all...]
H A DCameraWidgetFrame.java196 final int height = getRootView().getHeight();
197 if (mRenderedSize.x == width && mRenderedSize.y == height) {
199 width, height));
202 if (width == 0 || height == 0) {
206 offscreen[0] = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
210 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
211 mWidgetView.layout(0, 0, width, height);
218 width, height,
221 mRenderedSize.set(width, height);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp335 /* height */
416 video->displayHeight = video->height = (int) BitstreamReadBits16(stream, 13);
419 video->height = (video->height + 15) & -16;
687 video->nMBPerCol = video->height / MB_SIZE;
1087 video->displayHeight = video->height = 96;
1097 video->displayHeight = video->height = 144;
1107 video->displayHeight = video->height = 288;
1117 video->displayHeight = video->height = 576;
1127 video->displayHeight = video->height
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DAllocation.java558 * Copy an allocation from a bitmap. The height, width, and
858 * Copy a bitmap into an allocation. The height and width of
859 * the update will use the height and width of the incoming
1238 int height = b.getHeight();
1242 throw new RSIllegalArgumentException("Cubemap height must be multiple of 6");
1244 if (width / 6 != height) {
1247 boolean isPow2 = (height & (height - 1)) == 0;
1254 tb.setX(height);
1255 tb.setY(height);
[all...]
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocation.java450 * Copy an allocation from a bitmap. The height, width, and
750 * Copy a bitmap into an allocation. The height and width of
751 * the update will use the height and width of the incoming
1073 int height = b.getHeight();
1077 throw new RSIllegalArgumentException("Cubemap height must be multiple of 6");
1079 if (width / 6 != height) {
1082 boolean isPow2 = (height & (height - 1)) == 0;
1089 tb.setX(height);
1090 tb.setY(height);
[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
524 etc1_uint32 encodedHeight = (height + 3) & ~3;
527 etc1_uint32 yEnd = height - y;
569 etc1_uint32 width, etc1_uint32 height,
577 etc1_uint32 encodedHeight = (height + 3) & ~3;
580 etc1_uint32 yEnd = height - y;
633 void etc1_pkm_format_header(etc1_byte* pHeader, etc1_uint32 width, etc1_uint32 height) { argument
636 etc1_uint32 encodedHeight = (height
568 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument
654 etc1_uint32 height = readBEUint16(pHeader + ETC1_PKM_HEIGHT_OFFSET); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DHTML5VideoFullScreen.java50 int height = getDefaultSize(mVideoHeight, heightMeasureSpec);
52 if ( mVideoWidth * height > width * mVideoHeight ) {
53 height = width * mVideoHeight / mVideoWidth;
54 } else if ( mVideoWidth * height < width * mVideoHeight ) {
55 width = height * mVideoWidth / mVideoHeight;
58 setMeasuredDimension(width, height);
137 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) {
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboardHelper.java107 createKeyboardsWithSpecificSize(lp.width, lp.height);
119 private void createKeyboardsWithSpecificSize(int width, int height) { argument
120 mNumericKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[NUMERIC], width, height);
122 width, height);
126 R.id.mode_normal, width, height);
130 mSymbolsKeyboard = new PasswordEntryKeyboard(mContext, mLayouts[SYMBOLS], width, height);
134 width, height);
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);
259 y -= height / 10;
68 PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode, int width, int height) argument
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp53 ANativeWindowBuffer::height = h; member in class:android::NativeBuffer::ANativeWindowBuffer
120 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB);
126 fbDev->width, fbDev->height, fbDev->format,
130 i, fbDev->width, fbDev->height, strerror(-err));
184 return fbDev->setUpdateRect(fbDev, r.left, r.top, r.width(), r.height());
304 *value = fb->height;
319 *value = fb->height;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccUtils.java394 int height = data[valueIndex++] & 0xFF;
395 int numOfPixels = width*height;
414 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
437 int height = data[valueIndex++] & 0xFF;
451 (width * height), colorIndexArray, bits);
454 (width * height), colorIndexArray, bits);
457 return Bitmap.createBitmap(resultArray, width, height,
/frameworks/base/tools/aapt/
H A DImages.cpp53 png_uint_32 height; member in struct:image_info
82 &outImageInfo->height, &bit_depth, &color_type,
112 outImageInfo->height * png_sizeof(png_bytep));
113 outImageInfo->allocHeight = outImageInfo->height;
118 for (i = 0; i < (int)outImageInfo->height; i++)
130 (int)outImageInfo->width, (int)outImageInfo->height,
135 &outImageInfo->height, &bit_depth, &color_type,
253 png_bytepp rows, int offset, int height, bool transparent, bool required,
262 for (i=1; i<height-1; i++) {
267 *outBottom = height
252 get_vertical_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError, uint8_t* outDivs, bool multipleAllowed) argument
339 get_vertical_layout_bounds_ticks( png_bytepp rows, int offset, int height, bool transparent, bool required, int32_t* outTop, int32_t* outBottom, const char** outError) argument
978 png_uint_32 width, height; local
[all...]
/frameworks/av/media/libstagefright/
H A Davc_utils.cpp44 const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height) {
95 *height = (2 - frame_mbs_only_flag)
129 *height -=
256 int32_t width, height; local
257 FindAVCDimensions(seqParamSet, &width, &height);
302 meta->setInt32(kKeyHeight, height);
305 width, height, AVCProfileToString(profile), level / 10, level % 10);
402 const uint8_t *data, size_t size, int32_t *width, int32_t *height) {
476 *height = video_object_layer_height;
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
H A DJPEGSource.cpp207 uint16_t width, height; local
208 if (!mSource->getUInt16(i + 1, &height)
214 mHeight = height;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s48 height RN 5 label
83 ;// u32 height, : 0xfc
105 LDR height, [sp, #0xfc] ;// height
107 CMP tmp6, height
112 LDR height, [sp, #0xfc] ;// height
115 STMIA sp,{width,height,tmp8,chrPH,tmp2}
122 STMIA sp,{width,height,tmp8,chrPH,tmp2}
124 MLA ref, height, widt
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s50 height RN 5 label
84 ;// u32 height, : 0xfc
108 LDR height, [sp, #0xfc] ;// height
111 CMP tmp1, height
116 LDR height, [sp, #0xfc] ;// height
120 STMIA sp,{width,height,tmp1,tmp2,tmp3}
127 STMIA sp,{width,height,tmp1,tmp2,tmp3}
129 MLA ref, height, widt
[all...]
H A Dh264bsd_interpolate_chroma_ver.s47 height RN 5 label
82 ;// u32 height, : 0xfc
103 LDR height, [sp, #0xfc] ;// height
106 CMP tmp1, height
111 LDR height, [sp, #0xfc] ;// height
114 STMIA sp,{width,height,chrPW,tmp1,tmp2}
121 STMIA sp,{width,height,chrPW,tmp1,tmp2}
123 MLA ref, height, widt
[all...]
/frameworks/base/libs/hwui/
H A DCaches.cpp398 bool Caches::setScissor(GLint x, GLint y, GLint width, GLint height) { argument
400 width != mScissorWidth || height != mScissorHeight)) {
407 height += y;
413 if (height < 0) {
414 height = 0;
416 glScissor(x, y, width, height);
421 mScissorHeight = height;
463 void Caches::startTiling(GLuint x, GLuint y, GLuint width, GLuint height, bool opaque) { argument
465 glStartTilingQCOM(x, y, width, height, (opaque ? GL_NONE : GL_COLOR_BUFFER_BIT0_QCOM));
H A DGradientCache.cpp100 const uint32_t size = texture->width * texture->height * GRADIENT_BYTES_PER_PIXEL;
158 texture->height = GRADIENT_TEXTURE_HEIGHT;
163 const uint32_t size = texture->width * texture->height * GRADIENT_BYTES_PER_PIXEL;
181 uint32_t pixels[width * texture->height];
237 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, texture->height, 0,
/frameworks/native/opengl/tests/hwc/
H A DhwcRects.cpp44 * sourceDim: [width, height]
171 static EGLint width, height; variable
403 rect.sourceCrop.bottom = rect.sourceDim.height();
492 || ((uint32_t) rect.sourceCrop.top >= rect.sourceDim.height())
493 || ((uint32_t) rect.sourceCrop.bottom > rect.sourceDim.height())) {
499 || (rect.displayFrame.top >= height)
500 || (rect.displayFrame.bottom > height)) {
511 rect.sourceDim.height(),
522 testPrintI(" buf: %p handle: %p format: %s width: %u height: %u "
525 rect.sourceDim.width(), rect.sourceDim.height(),
[all...]
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp164 buf->stride, buf->height,
172 size_t dst_y_size = buf->stride * buf->height;
174 size_t dst_c_size = dst_c_stride * buf->height / 2;
205 size_t dst_y_size = buf->stride * buf->height;
207 size_t dst_c_size = dst_c_stride * buf->height / 2;
/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);
283 mFromY = resolveScale(mFromY, mFromYType, mFromYData, height, parentHeight);
284 mToY = resolveScale(mToY, mToYType, mToYData, height, parentHeight);
287 mPivotY = resolveSize(mPivotYType, mPivotYValue, height, parentHeight);
/frameworks/native/opengl/tools/glgen/specs/gles11/
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 )
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, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels )
144 void glViewport ( GLint x, GLint y, GLsizei width, GLsizei height )
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp104 int height; local
106 meta->findInt32(kKeyHeight, &height);
107 configBitmapSize(bm, getPrefConfig(k32Bit_SrcDepth, false), width, height);
186 int width, int height) {
187 bm->setConfig(getColorSpaceConfig(pref), width, height); local
185 configBitmapSize(SkBitmap* bm, SkBitmap::Config pref, int width, int height) argument
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java673 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) {
682 if (lp.height == 0 && lp.weight > 0) {
686 // with a height of 0
688 lp.height = LayoutParams.WRAP_CONTENT;
700 lp.height = oldHeight;
797 // Check against our minimum height
834 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) {
934 // Temporarily force children to reuse their old measured height
936 int oldHeight = lp.height;
937 lp.height
1662 setChildFrame(View child, int left, int top, int width, int height) argument
1836 LayoutParams(int width, int height) argument
1851 LayoutParams(int width, int height, float weight) argument
[all...]

Completed in 429 milliseconds

1234567891011>>