Sets the status of a given SlidingDrawer. Examples are Solo.CLOSED and Solo.OPENED.

@param slidingDrawer the {@link SlidingDrawer}
@param status the status that the {@link SlidingDrawer} should be set to
519633
public void setSlidingDrawer(final SlidingDrawer slidingDrawer, final int status){
		if(slidingDrawer != null){
			Activity activity = activityUtils.getCurrentActivity(false);
			if(activity != null){
				activity.runOnUiThread(new Runnable()
				{
					public void run()
					{
						try{
							switch (status) {
							case CLOSED:
								slidingDrawer.close();
								break;
							case OPENED:
								slidingDrawer.open();
								break;
							}
						}catch (Exception ignored){}
					}
				});
			}
		}
	}
574154
public void setStatus(int status) {
        // 311717
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
            logger.entering(CLASS_NAME,"setStatus", " status --> " + String.valueOf(status)+ " ["+this+"]");
        }
        WebAppDispatcherContext dispatchContext = (WebAppDispatcherContext) getRequest().getWebAppDispatcherContext();
        if (dispatchContext.isInclude() == true) {
            if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
                logger.logp(Level.FINE, CLASS_NAME,"setStatus", nls.getString("Illegal.from.included.servlet", "Illegal from included servlet"), "setStatus status --> " + String.valueOf(status));  //311717
            }
        }
        else {
            if (!_ignoreStateErrors && isCommitted()) {
                logger.logp(Level.WARNING, CLASS_NAME,"setStatus", "Cannot.set.status.Response.already.committed");
            }
            else {
                if (WCCustomProperties.RESET_BUFFER_ON_SET_STATUS)
                    resetBuffer();
                _response.setStatusCode(status);
                _statusCode = status;
            }
        }
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled()&&logger.isLoggable (Level.FINE)) {  //306998.15
            logger.exiting(CLASS_NAME,"setStatus");
        }
    }
1267568
public SseKmsEncryptedObjects withStatus(SseKmsEncryptedObjectsStatus status) {
        setStatus(status == null ? null : status.toString());
        return this;
    }
623077
public void setNotificationStatusListener(MFPPushNotificationStatusListener statusListener) {
    this.statusListener = statusListener;
    synchronized (pendingStatus) {
      if(!pendingStatus.isEmpty()) {
        for(Map.Entry<String, MFPPushNotificationStatus> entry : pendingStatus.entrySet()) {
          changeStatus(entry.getKey(), entry.getValue());
        }
        pendingStatus.clear();
      }
    }
  }
1359885
public boolean setDrawableByLayerId(int id, Drawable drawable) {
        final int index = findIndexByLayerId(id);
        if (index < 0) {
            return false;
        }

        setDrawable(index, drawable);
        return true;
    }
376693
public void setStatusOrder(Status... statusOrder) {
		String[] order = new String[statusOrder.length];
		for (int i = 0; i < statusOrder.length; i++) {
			order[i] = statusOrder[i].getCode();
		}
		setStatusOrder(Arrays.asList(order));
	}
379597
public void setInstanceStatuses(java.util.Collection<InstanceStatus> instanceStatuses) {
        if (instanceStatuses == null) {
            this.instanceStatuses = null;
            return;
        }

        this.instanceStatuses = new com.amazonaws.internal.SdkInternalList<InstanceStatus>(instanceStatuses);
    }
766108
protected void setLoadingDrawable(LoadingDrawable drawable) {
        if (drawable == null) {
            throw new NullPointerException("LoadingDrawable is null, You can only set the STYLE_CIRCLE and STYLE_LINE parameters.");
        } else {
            drawable.setCallback(this);
            mLoadingDrawable = drawable;

            invalidate();
            requestLayout();
        }
    }
930977
public synchronized void setActivityInstanceStatus(ActivityInstance actInst,
            Integer status, String statusMessage)
            throws SQLException {
        if (cache_activity_transition==CACHE_ONLY) {
            actInst.setStatusCode(status);
            actInst.setMessage(statusMessage);
        } else {
            edadb.setActivityInstanceStatus(actInst, status, statusMessage);
        }
    }
555994
public void setStatusBarColor(View statusBar,int color){
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            Window w = getWindow();
            w.setFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS,WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
            //status bar height
            int actionBarHeight = getActionBarHeight();
            int statusBarHeight = getStatusBarHeight();
//            System.out.println("actionBarHeight:" + actionBarHeight);
//            System.out.println("statusBarHeight:" + statusBarHeight);
            //action bar height
            statusBar.getLayoutParams().height = statusBarHeight;
            statusBar.setBackgroundColor(color);
        }
    }
1067896
public void setStatusInfos(java.util.Collection<DBInstanceStatusInfo> statusInfos) {
        if (statusInfos == null) {
            this.statusInfos = null;
            return;
        }

        this.statusInfos = new java.util.ArrayList<DBInstanceStatusInfo>(statusInfos);
    }
128917
@Override
    protected boolean onStateChange(int[] stateSet) {
        final boolean changed = super.onStateChange(stateSet);
        int idx = mAnimationScaleListState.getCurrentDrawableIndexBasedOnScale();
        return selectDrawable(idx) || changed;
    }
1360841
PollingState<T> withStatus(String status, int statusCode) throws IllegalArgumentException {
        if (status == null) {
            throw new IllegalArgumentException("Status is null.");
        }
        this.status = status;
        this.statusCode = statusCode;
        return this;
    }
720837
public void setDividerDrawable(Drawable divider) {
        if (divider == mDivider) {
            return;
        }

        //Fix for issue #379
        if (divider instanceof ColorDrawable && Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
            divider = new IcsColorDrawable((ColorDrawable) divider);
        }

        mDivider = divider;
        if (divider != null) {
            mDividerWidth = divider.getIntrinsicWidth();
            mDividerHeight = divider.getIntrinsicHeight();
        } else {
            mDividerWidth = 0;
            mDividerHeight = 0;
        }
        setWillNotDraw(divider == null);
        requestLayout();
    }
53868
private function setStatusInternal($status)
	{
		if ( $status !== null && ! $status instanceof StatusInterface) {
			throw new WorkflowException('Status instance expected');
		}

		$this->_status = $status;

		$statusId = ($status === null ? null : $status->getId());
		if ($this->getStatusConverter() != null ) {
			$statusId = $this->_statusConverter->toModelAttribute($statusId);
		}

		$this->owner->{$this->statusAttribute} = $statusId;
	}
26263
public void setDeliveryChannelsStatus(java.util.Collection<DeliveryChannelStatus> deliveryChannelsStatus) {
        if (deliveryChannelsStatus == null) {
            this.deliveryChannelsStatus = null;
            return;
        }

        this.deliveryChannelsStatus = new com.amazonaws.internal.SdkInternalList<DeliveryChannelStatus>(deliveryChannelsStatus);
    }
714203
public void setSelectionDrawable(@NonNull Drawable drawable) {
    if (drawable == null) {
      throw new IllegalArgumentException("Cannot be null");
    }
    selectionDrawable = drawable;
    isDecorated = true;
  }