Searched refs:height (Results 1 - 25 of 557) sorted by relevance

1234567891011>>

/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DMagicSmoke.java22 protected MagicSmokeRS createScene(int width, int height) { argument
23 return new MagicSmokeRS(this, width, height);
/packages/apps/Camera/jni/feature_mos/src/mosaic/
H A DImageUtils.h60 * 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 image
91 static ImageType rgb2gray(ImageType in, int width, int height);
92 static ImageType rgb2gray(ImageType out, ImageType in, int width, int height);
97 static ImageType readBinaryPPM(const char *filename, int &width, int &height);
144 unsigned short height; member in struct:__anon3
[all...]
H A DMosaicTypes.h72 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);
H A DPyramid.cpp28 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) argument
66 calloc(sizeof(PyramidShort) + sizeof(short *) * (height + border2) +
67 sizeof(short) * (width + border2) * (height + border2), 1);
71 short *position = (short *) &y[height
27 allocatePyramidPacked(real levels, real width, real height, real border) argument
96 calcStorage(real width, real height, real border2, int levels, int *lines) argument
115 int off, off2, height, h, w; local
[all...]
H A DImageUtils.cpp28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) argument
32 ImageType vimg = yimg + width*height;
33 ImageType uimg = vimg + width*height;
36 for (int ii = 0; ii < height; ii++) {
73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) argument
77 ImageType vimg = yimg + width*height;
78 ImageType uimg = vimg + width*height;
81 for (int ii = 0; ii < height; ii++) {
116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) argument
121 ImageType out = ImageUtils::allocateImage(width, height,
146 rgb2gray(ImageType out, ImageType in, int width, int height) argument
176 imageTypeToRowPointers(ImageType in, int width, int height) argument
190 yvu2rgb(ImageType out, ImageType in, int width, int height) argument
235 yvu2bgr(ImageType out, ImageType in, int width, int height) argument
281 readBinaryPPM(const char *filename, int &width, int &height) argument
311 writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) argument
333 allocateImage(int width, int height, int numChannels, short int border) argument
355 allocateImage(unsigned short width, unsigned short height) argument
[all...]
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
H A DImageUtils.h60 * 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 image
91 static ImageType rgb2gray(ImageType in, int width, int height);
92 static ImageType rgb2gray(ImageType out, ImageType in, int width, int height);
97 static ImageType readBinaryPPM(const char *filename, int &width, int &height);
144 unsigned short height; member in struct:__anon34
[all...]
H A DMosaicTypes.h72 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);
H A DPyramid.cpp28 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) argument
66 calloc(sizeof(PyramidShort) + sizeof(short *) * (height + border2) +
67 sizeof(short) * (width + border2) * (height + border2), 1);
71 short *position = (short *) &y[height
27 allocatePyramidPacked(real levels, real width, real height, real border) argument
96 calcStorage(real width, real height, real border2, int levels, int *lines) argument
115 int off, off2, height, h, w; local
[all...]
H A DImageUtils.cpp28 void ImageUtils::rgba2yvu(ImageType out, ImageType in, int width, int height) argument
32 ImageType vimg = yimg + width*height;
33 ImageType uimg = vimg + width*height;
36 for (int ii = 0; ii < height; ii++) {
73 void ImageUtils::rgb2yvu(ImageType out, ImageType in, int width, int height) argument
77 ImageType vimg = yimg + width*height;
78 ImageType uimg = vimg + width*height;
81 for (int ii = 0; ii < height; ii++) {
116 ImageType ImageUtils::rgb2gray(ImageType in, int width, int height) argument
121 ImageType out = ImageUtils::allocateImage(width, height,
146 rgb2gray(ImageType out, ImageType in, int width, int height) argument
176 imageTypeToRowPointers(ImageType in, int width, int height) argument
190 yvu2rgb(ImageType out, ImageType in, int width, int height) argument
235 yvu2bgr(ImageType out, ImageType in, int width, int height) argument
281 readBinaryPPM(const char *filename, int &width, int &height) argument
311 writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels) argument
333 allocateImage(int width, int height, int numChannels, short int border) argument
355 allocateImage(unsigned short width, unsigned short height) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/util/
H A DSize.java38 private final int height; field in class:Size
42 this.height = point.y;
48 this.height = size.getHeight();
51 public Size(int width, int height) { argument
53 this.height = height;
57 return new Size(rectangle.width(), rectangle.height());
67 this.height = other.height;
72 this.height
87 public int height() { method in class:Size
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAbstractSlotRenderer.java47 Texture content, int width, int height, int rotation) {
52 width = height = Math.min(width, height);
54 canvas.translate(width / 2, height / 2);
56 canvas.translate(-width / 2, -height / 2);
62 (float) height / content.getHeight());
69 protected void drawVideoOverlay(GLCanvas canvas, int width, int height) { argument
70 // Scale the video overlay to the height of the thumbnail and put it
73 float scale = (float) height / v.getHeight();
78 int s = Math.min(width, height) /
46 drawContent(GLCanvas canvas, Texture content, int width, int height, int rotation) argument
82 drawPanoramaIcon(GLCanvas canvas, int width, int height) argument
99 drawPressedUpFrame(GLCanvas canvas, int width, int height) argument
106 drawPressedFrame(GLCanvas canvas, int width, int height) argument
110 drawSelectedFrame(GLCanvas canvas, int width, int height) argument
114 drawFrame(GLCanvas canvas, Rect padding, Texture frame, int x, int y, int width, int height) argument
[all...]
H A DTiledScreenNail.java62 public TiledScreenNail(int width, int height) { argument
63 setSize(width, height);
75 private void setSize(int width, int height) { argument
76 if (width == 0 || height == 0) {
78 height = sMaxSide * 3 / 4;
80 float scale = Math.min(1, (float) sMaxSide / Math.max(width, height));
82 mHeight = Math.round(scale * height);
98 // height, and Bitmap, then recycle the other.
114 public void updatePlaceholderSize(int width, int height) { argument
116 if (width == 0 || height
155 draw(GLCanvas canvas, int x, int y, int width, int height) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DMediaPickerMessagePartData.java26 final Uri contentUri, final int width, final int height) {
27 this(startRect, null /* messageText */, contentType, contentUri, width, height);
31 final String contentType, final Uri contentUri, final int width, final int height) {
32 this(startRect, messageText, contentType, contentUri, width, height,
37 final Uri contentUri, final int width, final int height,
39 this(startRect, null /* messageText */, contentType, contentUri, width, height,
44 final String contentType, final Uri contentUri, final int width, final int height,
46 super(messageText, contentType, contentUri, width, height, onlySingleAttachment);
25 MediaPickerMessagePartData(final Rect startRect, final String contentType, final Uri contentUri, final int width, final int height) argument
30 MediaPickerMessagePartData(final Rect startRect, final String messageText, final String contentType, final Uri contentUri, final int width, final int height) argument
36 MediaPickerMessagePartData(final Rect startRect, final String contentType, final Uri contentUri, final int width, final int height, final boolean onlySingleAttachment) argument
43 MediaPickerMessagePartData(final Rect startRect, final String messageText, final String contentType, final Uri contentUri, final int width, final int height, final boolean onlySingleAttachment) argument
/packages/apps/Camera2/src/com/android/camera/burst/
H A DBurstController.java56 private final int height; field in class:BurstController.ImageStreamProperties
60 public ImageStreamProperties(int width, int height, argument
64 this.height = height;
74 return height;
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DImageCanvas.java27 * Dimensions holds the desired width, height, and scale for a bitmap being
32 public int height; field in class:ImageCanvas.Dimensions
47 public Dimensions(int width, int height, float scale, float fontSize) { argument
49 this.height = height;
56 return String.format("Dimens [%d x %d]", width, height);
H A DAutoResizeListView.java26 * A list view that auto resizes depending on the height of the viewing frame. This means this
46 // The desired height is the available height we have for VIEWING.
51 // Measure height and obey the measure mode.
52 final int height;
54 height = heightSize;
57 height = Math.min(desiredHeight, heightSize);
61 heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, heightMode);
H A DLeaveBehindData.java27 final int height; field in class:LeaveBehindData
29 public LeaveBehindData(Conversation conv, ToastBarOperation undoOp, int height) { argument
32 this.height = height;
44 arg.writeInt(height);
50 height = arg.readInt();
/packages/apps/Camera/src/com/android/camera/
H A DMosaicRenderer.java41 * Pass the drawing surface's width and height to initialize the
45 * @param height height of the drawing surface in pixels.
48 public static native void reset(int width, int height, boolean isLandscapeOrientation); argument
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
H A DTinyPlanetNative.java34 * @param height the height of the input image.
36 * @param outputSize the width and height of the square output image.
40 public static native void process(Bitmap in, int width, int height, Bitmap out, int outputSize, argument
/packages/apps/Gallery2/src/com/android/photos/views/
H A DSquareImageView.java44 int height = width;
46 height = Math.min(height, MeasureSpec.getSize(heightMeasureSpec));
48 setMeasuredDimension(width, height);
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
H A DMosaicRenderer.java41 * Pass the drawing surface's width and height to initialize the
45 * @param height height of the drawing surface in pixels.
48 public static native void reset(int width, int height, boolean isLandscapeOrientation); argument
/packages/apps/Gallery2/src/com/android/photos/data/
H A DGalleryBitmapPool.java71 private SparseArrayBitmapPool getPoolForDimensions(int width, int height) { argument
72 int index = getPoolIndexForDimensions(width, height);
80 private int getPoolIndexForDimensions(int width, int height) { argument
81 if (width <= 0 || height <= 0) {
84 if (width == height) {
88 if (width > height) {
89 min = height;
93 max = height;
125 * @return Bitmap from the pool with the desired height/width or null if none available.
127 public Bitmap get(int width, int height) { argument
[all...]
/packages/apps/Gallery2/jni/filters/
H A Dnegative.c19 void JNIFUNCF(ImageFilterNegative, nativeApplyFilter, jobject bitmap, jint width, jint height) argument
24 int tot_len = height * width * 4;
H A Dredeye.c20 void JNIFUNCF(ImageFilterRedEye, nativeApplyFilter, jobject bitmap, jint width, jint height, jshortArray vrect) argument
27 filterRedEye(rgb,rgb,width,height,rect);
/packages/apps/Camera2/src/com/android/camera/
H A DCaptureLayoutHelper.java224 public void onNonDecorWindowSizeChanged(int width, int height, int rotation) { argument
226 mWindowHeight = height;
233 * activity layout width, height and aspect ratio.
237 * @param height height of the main activity layout, excluding system decor
244 private PositionConfiguration getPositionConfiguration(int width, int height, argument
246 boolean landscape = width > height;
252 config.mPreviewRect.set(0, 0, width, height);
255 config.mBottomBarRect.set(width - mBottomBarOptimalHeight, 0, width, height);
257 config.mBottomBarRect.set(0, height
[all...]

Completed in 4752 milliseconds

1234567891011>>