Set the screen width. Used to know how much clouds are needed in order to fill the screen.

@param screenWidth The screen width.
176687
public final void setScreenWidth(int screenWidth)
    {
        final int wi = (int) Math.ceil(screenWidth / (double) sprite.getWidth()) + 1;
        w = wi;
    }
604353
def setDayWidth(self, width):
        
        self._dayWidth = width
        
        start = self.ganttWidget().dateStart()
        end = self.ganttWidget().dateEnd()
        
        self._dirty = True
245086
public void setColumnWidth(int width)
    {
        content = new Dimension(0, 0);
        content.width = width;
        bounds.width = content.width;
    }
525886
public void setWidth(float v) {
    if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_width == null)
      jcasType.jcas.throwFeatMissing("width", "ch.epfl.bbp.uima.types.DocumentElement");
    jcasType.ll_cas.ll_setFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_width, v);}
351299
private int setWidth(int width) {

        m_width = width;
        int width_label = (m_width / m_part);
        if (m_complementPartWidth) {
            int complementaryWidth = m_width - width_label;
            width_label = complementaryWidth < 30 ? 30 : complementaryWidth;
        }
        int width_table = (m_width - 30) - width_label;
        m_table.getElement().getStyle().setWidth(width_table, Unit.PX);
        return width_table;
    }
1076762
def set_width(self, width):
        

        if width > 0 and width <= self.server.server_info.get("screen_width"):
            self.width = width
            self.server.request("screen_set %s wid %i" % (self.ref, self.width))
132447
public void setButtonWidth(int width) {
		btnNo.setWidth(width + "px");
		btnYes.setWidth(width + "px");
		btnCancel.setWidth(width + "px");
	}
6647
public void setWidth(int width)
	{
		if (1 > width)
		{
			String _message = "The specified width ({0}) is incorrect, it must be greater or equal than 1.";
			Object[] _parameters =
			{
				new Integer(width)
			};
			throw new IllegalArgumentException(MessageFormat.format(_message, _parameters));
		}
		myWidth = width;
	}
301887
public void onWidthChange(String width) {

        int value = CmsClientStringUtil.parseInt(width);
        if ((m_croppingParam.getTargetWidth() == value) || (value == 0)) {
            // the value has not changed, ignore'0'
            return;
        }
        m_croppingParam.setTargetWidth(value);
        if (m_ratioLocked) {
            m_croppingParam.setTargetHeight((value * m_originalHeight) / m_originalWidth);
            m_formatForm.setHeightInput(m_croppingParam.getTargetHeight());
        }
        // in case the width and height parameter don't match the current format any longer, switch to user defined format
        if ((!m_currentFormat.isWidthEditable() || (m_ratioLocked && !m_currentFormat.isHeightEditable()))
            && hasUserFormatRestriction()) {
            m_formatForm.setFormatSelectValue(m_userFormatKey);
        } else {
            fireValueChangedEvent();
        }
    }
28626
public void setMinStrokeWidth(float width) {
        minStrokeWidth = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, width, getResources().getDisplayMetrics());
    }
1205286
public void setDimension(int width, int height) {
        setWidth(String.valueOf(width));
        setHeight(String.valueOf(height));
        reload();
    }
1165510
def _screen_size_cb(self, w, tf):
        
        self._screen_size = tf
        self.w.width.set_enabled(not tf)
        self.w.height.set_enabled(not tf)
        self.w.lock_aspect.set_enabled(not tf)
        if self._screen_size:
            wd, ht = self.fitsimage.get_window_size()
            self._configure_cb(self.fitsimage, wd, ht)
49519
def setWidth(self, vehID, width):
        
        self._connection._sendDoubleCmd(
            tc.CMD_SET_VEHICLE_VARIABLE, tc.VAR_WIDTH, vehID, width)
873718
@Override
    public void setWidth(final String cssWidth) {
        if (cssWidth != null)
            attrMixin.setAttribute(WIDTH, cssWidth);
        else
            attrMixin.removeAttribute(WIDTH);
    }
1195951
def toggleWidth(self, width):
        ''
        if self.width != width:
            self.width = width
        else:
            self.width = int(options.default_width)
1035009
public final void setSize(int pixelWidth, int pixelHeight) {
    viewWidth = scale.invScaledFloor(pixelWidth);
    viewHeight = scale.invScaledFloor(pixelHeight);
    curFbufWidth = defaultFbufWidth = pixelWidth;
    curFbufHeight = defaultFbufHeight = pixelHeight;
    viewConfigChanged();
  }
954290
public void setWidth(int width) {

        if (m_isFrame) {
            setParentWidth(width);
        } else {
            m_popup.setWidth(width);
            if (m_popup.isShowing()) {
                m_popup.center();
            }
        }
    }