Searched refs:height (Results 1 - 25 of 512) 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/Mms/src/com/android/mms/ui/
H A DAdaptableSlideViewInterface.java27 void setTextRegion(int left, int top, int width, int height); argument
31 void setImageRegion(int left, int top, int width, int height); argument
35 void setVideoRegion(int left, int top, int width, int height); argument
43 void onSizeChanged(int width, int height); argument
/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:__anon13
[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.java29 private final int height; field in class:Size
42 converted.add(new Size(size.width(), size.height()));
49 this.height = point.y;
54 this.height = size.getHeight();
57 public Size(int width, int height) { argument
59 this.height = height;
67 return height;
72 return width + " x " + height;
82 return otherSize.width == this.width && otherSize.height
[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...]
/packages/apps/Mms/src/com/android/mms/model/
H A DRegionModel.java31 int width, int height) {
32 this(regionId, DEFAULT_FIT, left, top, width, height);
36 int width, int height) {
37 this(regionId, fit, left, top, width, height, null);
41 int width, int height, String bgColor) {
47 mHeight = height;
126 * @param height the mHeight to set
128 public void setHeight(int height) { argument
129 mHeight = height;
30 RegionModel(String regionId, int left, int top, int width, int height) argument
35 RegionModel(String regionId, String fit, int left, int top, int width, int height) argument
40 RegionModel(String regionId, String fit, int left, int top, int width, int height, String bgColor) argument
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis2/
H A DVisualization2.java25 protected Visualization2RS createScene(int width, int height) { argument
26 return new Visualization2RS(width, height);
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/
H A DVisualization3.java25 protected Visualization3RS createScene(int width, int height) { argument
26 return new Visualization3RS(width, height);
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/
H A DVisualization4.java25 protected Visualization4RS createScene(int width, int height) { argument
26 return new Visualization4RS(width, height);
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
H A DVisualization5.java25 protected Visualization5RS createScene(int width, int height) { argument
26 return new Visualization5RS(width, height);
/packages/apps/Camera2/jni/
H A Djpegutilnative.cpp37 JNIEnv* env, jclass clazz, jint width, jint height, jobject yBuf,
46 jpegutil::Plane yP(width, height, width, height, (unsigned char*)y, yPStride,
48 jpegutil::Plane cbP(width, height, width / 2, height / 2, (unsigned char*)cb,
50 jpegutil::Plane crP(width, height, width / 2, height / 2, (unsigned char*)cr,
36 Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative( JNIEnv* env, jclass clazz, jint width, jint height, jobject yBuf, jint yPStride, jint yRStride, jobject cbBuf, jint cbPStride, jint cbRStride, jobject crBuf, jint crPStride, jint crRStride, jobject outBuf, jint outBufCapacity, jint quality) argument
/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
44 height = h;
50 return String.format("Dimens [%d x %d]", width, height);
/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;

Completed in 593 milliseconds

1234567891011>>