Lines Matching refs:width
41 int width;
48 void setBounds(int x, int y, int width, int height) {
51 this.width = width;
55 void attachView(int x, int y, int width, int height) {
59 setBounds(x, y, width, height);
122 int width = mWebView.contentToViewDimension(v.width);
132 lp.width = width;
137 lp = new AbsoluteLayout.LayoutParams(width, height, x, y);
156 /* Compute proportional fixed width/height if necessary.
162 int fixedW = width;
165 if (v.width > v.height) {
167 fixedH = v.height * MAX_SURFACE_DIMENSION / v.width;
170 fixedW = v.width * MAX_SURFACE_DIMENSION / v.height;
175 if (v.width > v.height) {
176 fixedW = (int)Math.sqrt(area * v.width / v.height);
177 fixedH = v.height * fixedW / v.width;
179 fixedH = (int)Math.sqrt(area * v.height / v.width);
180 fixedW = v.width * fixedH / v.height;
184 if (fixedW != width || fixedH != height) {
288 if (contentX >= v.x && contentX < (v.x + v.width)