Lines Matching refs:width
42 int width, int height, boolean reverseHorizontal) {
43 super(width, height);
45 if (left + width > dataWidth || top + height > dataHeight) {
55 reverseHorizontal(width, height);
64 int width = getWidth();
65 if (row == null || row.length < width) {
66 row = new byte[width];
69 System.arraycopy(yuvData, offset, row, 0, width);
75 int width = getWidth();
80 if (width == dataWidth && height == dataHeight) {
84 int area = width * height;
88 // If the width matches the full width of the underlying data, perform a single copy.
89 if (width == dataWidth) {
97 int outputOffset = y * width;
98 System.arraycopy(yuv, inputOffset, matrix, outputOffset, width);
110 int width = getWidth();
112 int[] pixels = new int[width * height];
117 int outputOffset = y * width;
118 for (int x = 0; x < width; x++) {
125 Bitmap bitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
126 bitmap.setPixels(pixels, 0, width, 0, 0, width, height);
130 private void reverseHorizontal(int width, int height) {
133 int middle = rowStart + width / 2;
134 for (int x1 = rowStart, x2 = rowStart + width - 1; x1 < middle; x1++, x2--) {