Searched refs:height (Results 276 - 300 of 845) sorted by relevance

<<11121314151617181920>>

/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/base/packages/WallpaperCropper/src/com/android/photos/views/
H A DTiledImageView.java254 final int height = swap ? mRenderer.source.getImageWidth()
256 mTempRectF.set(0, 0, width, height);
260 int cy = height / 2;
263 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale);
293 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
294 mCanvas.setSize(width, height);
295 mRenderer.image.setViewSize(width, height);
/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.java392 int height = data[valueIndex++] & 0xFF;
393 int numOfPixels = width*height;
412 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
435 int height = data[valueIndex++] & 0xFF;
449 (width * height), colorIndexArray, bits);
452 (width * height), colorIndexArray, bits);
455 return Bitmap.createBitmap(resultArray, width, height,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccUtils.java392 int height = data[valueIndex++] & 0xFF;
393 int numOfPixels = width*height;
412 return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);
435 int height = data[valueIndex++] & 0xFF;
449 (width * height), colorIndexArray, bits);
452 (width * height), colorIndexArray, bits);
455 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/base/packages/Keyguard/src/com/android/keyguard/
H A DCameraWidgetFrame.java126 int height; field in class:CameraWidgetFrame.FixedSizeFrameLayout
136 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY));
137 setMeasuredDimension(width, height);
219 final int height = root.getHeight() - mInsets.bottom; // for bars
220 if (mRenderedSize.x == width && mRenderedSize.y == height) {
222 width, height, (int)(100*mPreview.getScaleX())));
225 if (width == 0 || height == 0) {
230 mPreview.height = height;
237 final float pvScaleY = (float) thisHeight / height;
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DActionMenuView.java441 int height = v.getMeasuredHeight();
444 int t = midVertical - (height / 2);
445 int b = t + height;
465 final int height = v.getMeasuredHeight();
468 final int t = midVertical - height / 2;
469 v.layout(l, t, l + width, t + height);
486 int height = v.getMeasuredHeight();
487 int t = midVertical - height / 2;
488 v.layout(startLeft, t, startLeft + width, t + height);
607 public LayoutParams(int width, int height) { argument
612 LayoutParams(int width, int height, boolean isOverflowButton) argument
[all...]
H A DActionMenuItemView.java190 final int height = getHeight();
191 final int midy = screenPos[1] + height / 2;
195 if (midy < displayFrame.height()) {
198 screenWidth - screenPos[0] - width / 2, height);
201 cheatSheet.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, 0, 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/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/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/tests/TransitionTests/src/com/android/transitiontests/
H A DSurfaceAndTextureViews.java138 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
139 System.out.println("surfaceChanged: w h = " + width + ", " + height);
173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
179 System.out.println("SurfaceTexture size changed to " + width + ", " + height);
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp47 uint32_t height; member in struct:android::CpuConsumerTestParams
53 return os << "[ (" << p.width << ", " << p.height << "), B:"
67 params.width, params.height,
283 // Blocks need to be even-width/height, aim for 8-wide otherwise
309 uint32_t h = buf.height;
348 uint32_t h = buf.height;
391 uint32_t h = buf.height;
461 params.width, params.height, params.format);
506 fillYV12Buffer(img, params.width, params.height, *stride);
509 fillBayerRawBuffer(img, params.width, params.height, bu
[all...]
/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/uiautomator/core/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java51 * @param height The pixel height of current display
54 int width, int height) {
67 dumpNodeRec(root, serializer, 0, width, height);
80 int width, int height) throws IOException {
101 node, width, height).toShortString());
107 dumpNodeRec(child, serializer, i, width, height);
53 dumpWindowToFile(AccessibilityNodeInfo root, File dumpFile, int rotation, int width, int height) argument
79 dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, int width, int height) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp115 int x, int y, int width, int height,
131 for (int y = 0; y < height; y++) {
292 int offset, int stride, int width, int height,
296 if (n < SkAbs32(stride) * (size_t)height) {
308 bitmap.setConfig(config, width, height);
317 0, 0, width, height, bitmap, true);
357 int width, int height, SkBitmap::Config config, int allocSize) {
358 if (width * height * SkBitmap::ComputeBytesPerPixel(config) > allocSize) {
366 bitmap->setConfig(config, width, height);
370 // hasn't been touched. This signals the renderer that the bitmap (including width, height,
114 SetPixels(JNIEnv* env, jintArray srcColors, int srcOffset, int srcStride, int x, int y, int width, int height, const SkBitmap& dstBitmap, bool isPremultiplied) argument
291 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, int offset, int stride, int width, int height, SkBitmap::Config config, jboolean isMutable) argument
356 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jint bitmapInt, int width, int height, SkBitmap::Config config, int allocSize) argument
472 const int height = p->readInt32(); local
627 Bitmap_getPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height, bool isPremultiplied) argument
670 Bitmap_setPixels(JNIEnv* env, jobject, const SkBitmap* bitmap, jintArray pixelArray, int offset, int stride, int x, int y, int width, int height, bool isPremultiplied) argument
[all...]
/frameworks/av/media/libstagefright/
H A DJPEGSource.cpp207 uint16_t width, height; local
208 if (!mSource->getUInt16(i + 1, &height)
214 mHeight = height;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h131 int16 height; /* Height */ member in struct:tagVideoRefCopyInfoData
133 int16 realHeight; /* Non-padded height, not a multiple of 16. */
150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode);
151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dconceal.cpp123 CopyVopMB(video->currVop, video->concealFrame, i, video->width, video->height);
138 void CopyVopMB(Vop *curr, uint8 *prevFrame, int mbnum, int width_Y, int height) argument
152 size = (int32)height * width_Y;

Completed in 579 milliseconds

<<11121314151617181920>>