Home | History | Annotate | Download | only in phone

Lines Matching refs:width

70         // The bitmap we pass to gaussianBlur() needs to have a width
90 * @param source input bitmap, whose width must be a power of 2
93 int width = source.getWidth();
95 if (DBG) log("gaussianBlur(): input: " + width + " x " + height);
98 int numPixels = width * height;
103 source.getPixels(in, 0, width, 0, 0, width, height);
112 gaussianBlurFilter(in, tmp, width, height);
113 gaussianBlurFilter(tmp, in, width, height);
116 Bitmap filtered = Bitmap.createBitmap(in, width, height, Bitmap.Config.ARGB_8888);
121 private static void gaussianBlurFilter(int[] in, int[] out, int width, int height) {
127 int widthMask = width - 1; // width must be a power of two.
133 for (int x = 0; x < width; ++x) {
150 inPos += width;