public void thumbNailScaleAnimation(View view) {
   view.setDrawingCacheEnabled(true);
   view.setPressed(false);
   view.refreshDrawableState();
   Bitmap bitmap = view.getDrawingCache();
   ActivityOptions opts = ActivityOptions.makeThumbnailScaleUpAnimation(view, bitmap, 0, 0);
   // Request the activity be started, using the custom animation options.
   startActivity(new Intent(MainActivity.this, AnimationActivity.class), opts.toBundle());
   view.setDrawingCacheEnabled(false);
 }
 public static ActivityOptionsCompatJB makeThumbnailScaleUpAnimation(
     View paramView, Bitmap paramBitmap, int paramInt1, int paramInt2) {
   return new ActivityOptionsCompatJB(
       ActivityOptions.makeThumbnailScaleUpAnimation(
           paramView, paramBitmap, paramInt1, paramInt2));
 }