public void resetConstraintHandles(){
  mConstraintHandles.clear();
  for (  ConstraintAnchor anchor : mWidget.getAnchors()) {
switch (anchor.getType()) {
case LEFT:
{
        mConstraintHandles.add(mLeftAnchor);
      }
    break;
case TOP:
{
    mConstraintHandles.add(mTopAnchor);
  }
break;
case RIGHT:
{
mConstraintHandles.add(mRightAnchor);
}
break;
case BOTTOM:
{
mConstraintHandles.add(mBottomAnchor);
}
break;
case BASELINE:
{
mConstraintHandles.add(mBaselineAnchor);
}
break;
case CENTER_X:
{
mConstraintHandles.add(mCenterXAnchor);
}
break;
case CENTER_Y:
{
mConstraintHandles.add(mCenterYAnchor);
}
break;
case CENTER:
{
mConstraintHandles.add(mCenterAnchor);
}
break;
}
}
for (ConstraintHandle handle : mConstraintHandles) {
handle.updateAnchor();
}
}

public void resetConstraintHandles ( ) { mConstraintHandles . clear ( ) ; for ( ConstraintAnchor anchor : mWidget . getAnchors ( ) ) { switch ( anchor . getType ( ) ) { case LEFT : { mConstraintHandles . add ( mLeftAnchor ) ; } break ; case TOP : { mConstraintHandles . add ( mTopAnchor ) ; } break ; case RIGHT : { mConstraintHandles . add ( mRightAnchor ) ; } break ; case BOTTOM : { mConstraintHandles . add ( mBottomAnchor ) ; } break ; case BASELINE : { mConstraintHandles . add ( mBaselineAnchor ) ; } break ; case CENTER_X : { mConstraintHandles . add ( mCenterXAnchor ) ; } break ; case CENTER_Y : { mConstraintHandles . add ( mCenterYAnchor ) ; } break ; case CENTER : { mConstraintHandles . add ( mCenterAnchor ) ; } break ; } } for ( ConstraintHandle handle : mConstraintHandles ) { handle . updateAnchor ( ) ; } }
add all constraint handles into a single array
