/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
H A D | MagicSmoke.java | 22 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 D | AdaptableSlideViewInterface.java | 27 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/wallpapers/Basic/src/com/android/wallpaper/galaxy/ |
H A D | GalaxyWallpaper.java | 22 protected GalaxyRS createScene(int width, int height) { argument 23 return new GalaxyRS(width, height);
|
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
H A D | 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 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 D | MosaicTypes.h | 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);
|
H A D | 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) 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 D | ImageUtils.cpp | 28 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/jni/feature_mos/src/mosaic/ |
H A D | 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 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:__anon10 [all...] |
H A D | MosaicTypes.h | 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);
|
H A D | 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) 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 D | ImageUtils.cpp | 28 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 D | 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 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:__anon20 [all...] |
H A D | MosaicTypes.h | 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);
|
H A D | 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) 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 D | ImageUtils.cpp | 28 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/Gallery2/src/com/android/gallery3d/ui/ |
H A D | AbstractSlotRenderer.java | 47 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 D | RegionModel.java | 31 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/Basic/src/com/android/wallpaper/fall/ |
H A D | FallWallpaper.java | 23 protected RenderScriptScene createScene(int width, int height) { argument 24 return new FallRS(width, height);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
H A D | GrassWallpaper.java | 23 protected RenderScriptScene createScene(int width, int height) { argument 24 return new GrassRS(this, width, height);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/ |
H A D | NexusWallpaper.java | 23 protected RenderScriptScene createScene(int width, int height) { argument 24 return new NexusRS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis2/ |
H A D | Visualization2.java | 25 protected Visualization2RS createScene(int width, int height) { argument 26 return new Visualization2RS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/ |
H A D | Visualization3.java | 25 protected Visualization3RS createScene(int width, int height) { argument 26 return new Visualization3RS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
H A D | Visualization4.java | 25 protected Visualization4RS createScene(int width, int height) { argument 26 return new Visualization4RS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
H A D | Visualization5.java | 25 protected Visualization5RS createScene(int width, int height) { argument 26 return new Visualization5RS(width, height);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ImageCanvas.java | 27 * 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);
|