Lines Matching refs:heightHint
87 private Dimension calcIconSize(int widthHint, int heightHint) {
107 heightHint >= sizeList[i].get_min_height() &&
108 heightHint <= sizeList[i].get_max_height()) {
112 (((heightHint-sizeList[i].get_min_height())
116 saveHeight = heightHint;
127 diff = heightHint - sizeList[i].get_min_height();
129 closestHeight = heightHint;
132 closestHeight = heightHint - diff;
148 log.finest("widthHint=" + widthHint + ", heightHint=" + heightHint
157 heightHint > sizeList[0].get_max_height())
162 int hdiff = heightHint - sizeList[0].get_max_height();
169 (int)(((double)sizeList[0].get_max_width()/widthHint) * heightHint);
172 (int)(((double)sizeList[0].get_max_height()/heightHint) * widthHint);
176 heightHint < sizeList[0].get_min_height())
204 Dimension getIconSize(int widthHint, int heightHint) {
206 size = calcIconSize(widthHint, heightHint);