/frameworks/base/core/tests/coretests/src/android/util/ |
ScrollViewScenario.java | 37 * specified amount of the screen height. 54 * to the screen height for its desired height. 63 * Partially implement ViewFactory given a height ratio. 64 * A negative height ratio means that WRAP_CONTENT will be used as height 97 * @param heightRatio The view's height will be this * the screen height. 114 * @param heightRatio The view's height will be this * the screen height 253 int height = ViewGroup.LayoutParams.WRAP_CONTENT; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
RectF.java | 29 * These fields can be accessed directly. Use width() and height() to retrieve 30 * the rectangle's width and height. Note: most methods do not check to see that 158 * @return the rectangle's height. This does not check for a valid rectangle 161 public final float height() { method in class:RectF 247 * keeping its width and height the same.
|
/frameworks/base/libs/hwui/ |
FontRenderer.h | 68 width(dropShadow.width), height(dropShadow.height), 74 uint32_t height; member in struct:android::uirenderer::FontRenderer::DropShadow 113 CacheTexture* createCacheTexture(int width, int height, bool allocate); 180 int32_t width, int32_t height); 182 int32_t width, int32_t height); 183 static void blurImage(uint8_t* image, int32_t width, int32_t height, int32_t radius);
|
/frameworks/base/media/tests/omxjpegdecoder/ |
omx_jpeg_decoder.cpp | 104 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
|
/frameworks/base/services/java/com/android/server/display/ |
DisplayDeviceInfo.java | 91 * The height of the display in its natural orientation, in pixels. 94 public int height; field in class:DisplayDeviceInfo 153 public void setAssumedDensityForExternalDisplay(int width, int height) { 154 densityDpi = Math.min(width, height) * DisplayMetrics.DENSITY_XHIGH / 1080; 170 && height == other.height 190 height = other.height; 205 return "DisplayDeviceInfo{\"" + name + "\": " + width + " x " + height + ", "
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
PathsActivity.java | 99 final int height = (int) (mPathBounds.height() + mOffset * 3.0f + 0.5f); local 100 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ALPHA_8);
|
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/native/libs/ui/ |
FramebufferNativeWindow.cpp | 53 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;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Android.cpp | 66 OMX_IN OMX_U32 height, 76 Rect bounds(width, height); 162 OMX_IN OMX_U32 height, 172 ret = Exynos_OSAL_LockANBHandle((OMX_U32)pANB->handle, width, height, format, planes); 207 OMX_U32 width, height; local 247 height = pExynosPort->portDefinition.format.video.nFrameHeight; 248 Exynos_OSAL_LockANB(temp_bufferHeader->pBuffer, width, height, 479 nSizeBytes = ALIGN(pANB->width, 16) * ALIGN(pANB->height, 16); 480 nSizeBytes += ALIGN(pANB->width / 2, 16) * ALIGN(pANB->height / 2, 16) * 2;
|
/hardware/samsung_slsi/exynos5/include/ |
v4l2-subdev.h | 77 __u32 height; member in struct:v4l2_subdev_frame_interval_enum
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
v4l2-subdev.h | 113 * @height: frame height in pixels 121 __u32 height; member in struct:v4l2_subdev_frame_interval_enum
|
/packages/apps/Calendar/src/com/android/calendar/ |
MultiStateButton.java | 165 final int height = mButtonDrawable.getIntrinsicHeight(); local 173 y = getHeight() - height; 176 y = (getHeight() - height) / 2; 188 mButtonDrawable.setBounds(x, y, x + width, y + height);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Blend.h | 94 // Height and width of individual frames 95 int width, height; member in class:Blend 97 // Height and width of mosaic 103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect); 107 int DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation);
|
ImageUtils.h | 60 * height: Height of input image 62 static void rgb2yvu(ImageType out, ImageType in, int width, int height); 64 static void rgba2yvu(ImageType out, ImageType in, int width, int height); 74 * height: Height of input image 76 static void yvu2rgb(ImageType out, ImageType in, int width, int height); 77 static void yvu2bgr(ImageType out, ImageType in, int width, int height); 85 * height: Height of input imag 144 unsigned short height; member in struct:__anon21400 [all...] |
MosaicTypes.h | 45 inline int Height() 72 int width, height; member in class:MosaicFrame 81 height = _height; 84 image = ImageUtils::allocateImage(width, height, ImageUtils::IMAGE_TYPE_NUM_CHANNELS); 100 return (image + (width*height)); 108 return (image + (width*height*2)); 116 ImageType U = image + (width*height); 125 ImageType U = image + (width*height*2);
|
Pyramid.cpp | 28 real width, real height, real border) 31 int lines, size = calcStorage(width, height, border2, levels, &lines); 43 curr->height = height; 49 for (int j = height + border2; j--; y++, position += curr->pitch) { 54 height >>= 1; 62 PyramidShort *PyramidShort::allocateImage(real width, real height, real border) 66 calloc(sizeof(PyramidShort) + sizeof(short *) * (height + border2) + 67 sizeof(short) * (width + border2) * (height + border2), 1); 71 short *position = (short *) &y[height + border2] 115 int off, off2, height, h, w; local [all...] |
/packages/apps/Camera/perftests/panorama/ |
benchmark.cpp | 33 int loadImages(const char* basename, int &width, int &height) 42 ImageType rgbFrame = ImageUtils::readBinaryPPM(filename, width, height); 43 yvuFrames[i] = ImageUtils::allocateImage(width, height, 45 ImageUtils::rgb2yvu(yvuFrames[i], rgbFrame, width, height); 55 int width, height; local 70 int totalFrames = loadImages(basename, width, height); 85 mosaic.initialize(blendingType, stripType, width, height, -1, false, 0);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
RotateLayout.java | 65 int height = bottom - top; local 69 mChild.layout(0, 0, width, height); 73 mChild.layout(0, 0, height, width);
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
PinnedHeaderListAdapter.java | 148 int height = listView.getPinnedHeaderHeight(i); local 149 bottomHeaderHeight += height;
|
ProportionalLayout.java | 28 * Layout that calculates its height based on its width, or vice versa (depending on the set 30 * <p>For {@link Direction#heightToWidth}: width := height * factor</p> 31 * <p>For {@link Direction#widthToHeight}: height := width * factor</p> 36 /** Specifies whether the width should be calculated based on the height or vice-versa */ 103 final int height; local 106 height = childHeight; 109 height = Math.round(childWidth * mRatio); 115 MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY)); 118 resolveSize(width, widthMeasureSpec), resolveSize(height, heightMeasureSpec));
|
/packages/apps/Gallery/src/com/android/camera/ |
EvenlySpacedLayout.java | 52 int height = 0; local 59 height = Math.max(height, child.getMeasuredHeight()); 61 height += child.getMeasuredHeight(); 66 resolveSize(height, heightMeasureSpec));
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
Wallpaper.java | 97 int height = getWallpaperDesiredMinimumHeight(); local 100 float spotlightY = (float) size.y / height; 105 .putExtra(CropImage.KEY_OUTPUT_Y, height) 107 .putExtra(CropImage.KEY_ASPECT_Y, height)
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocalMediaItem.java | 48 public int height; field in class:LocalMediaItem 91 details.addDetail(MediaDetails.INDEX_HEIGHT, height);
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Blend.h | 94 // Height and width of individual frames 95 int width, height; member in class:Blend 97 // Height and width of mosaic 103 void FrameToMosaicRect(int width, int height, double trs[3][3], BlendRect &brect); 107 int DoMergeAndBlend(MosaicFrame **frames, int nsite, int width, int height, YUVinfo &imgMos, MosaicRect &rect, MosaicRect &cropping_rect, float &progress, bool &cancelComputation);
|
ImageUtils.h | 60 * height: Height of input image 62 static void rgb2yvu(ImageType out, ImageType in, int width, int height); 64 static void rgba2yvu(ImageType out, ImageType in, int width, int height); 74 * height: Height of input image 76 static void yvu2rgb(ImageType out, ImageType in, int width, int height); 77 static void yvu2bgr(ImageType out, ImageType in, int width, int height); 85 * height: Height of input imag 144 unsigned short height; member in struct:__anon21407 [all...] |