示例#1
0
 private void logState(View v, String title) {
   Log.v(
       TAG,
       title
           + ": ROT ("
           + ViewHelper.getRotation(v)
           + ", "
           + ViewHelper.getRotationX(v)
           + ", "
           + ViewHelper.getRotationY(v)
           + "), TRANS ("
           + ViewHelper.getTranslationX(v)
           + ", "
           + ViewHelper.getTranslationY(v)
           + "), SCALE ("
           + ViewHelper.getScaleX(v)
           + ", "
           + ViewHelper.getScaleY(v)
           + "), ALPHA "
           + ViewHelper.getAlpha(v));
 }
示例#2
0
 @Override
 public Float get(View object) {
   return ViewHelper.getAlpha(object);
 }
示例#3
0
 /** Restore view alpha to 1 */
 void restoreAlpha() {
   if (enableHorizontalAlphaEffect && ViewHelper.getAlpha(dragView) < 1) {
     ViewHelper.setAlpha(dragView, 1);
   }
 }