Home | History | Annotate | Download | only in webkit

Lines Matching refs:height

42         int height;
48 void setBounds(int x, int y, int width, int height) {
52 this.height = height;
55 void attachView(int x, int y, int width, int height) {
59 setBounds(x, y, width, height);
123 int height = mWebView.contentToViewDimension(v.height);
133 lp.height = height;
137 lp = new AbsoluteLayout.LayoutParams(width, height, x, y);
156 /* Compute proportional fixed width/height if necessary.
163 int fixedH = height;
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) {
289 && contentY >= v.y && contentY < (v.y + v.height)) {