question: private void startHideAnimations ( ) { animationPlaying = true ; lightAnimationLayout ( ) ; if ( buttonType . equals ( ButtonType . CIRCLE ) ) { if ( hideOrderType . equals ( OrderType . DEFAULT ) ) { for ( int i = 0 ; i < buttonNum ; i ++ ) { setHideAnimation ( dots [ i ] , circleButtons [ i ] , endLocations [ i ] , startLocations [ i ] , i ) ; } } else if ( hideOrderType . equals ( OrderType . REVERSE ) ) { for ( int i = 0 ; i < buttonNum ; i ++ ) { setHideAnimation ( dots [ i ] , circleButtons [ i ] , endLocations [ i ] , startLocations [ i ] , buttonNum - i - 1 ) ; } } else if ( hideOrderType . equals ( OrderType . RANDOM ) ) { Random random = new Random ( ) ; boolean [ ] used = new boolean [ buttonNum ] ; for ( int i = 0 ; i < buttonNum ; i ++ ) used [ i ] = false ; int count = 0 ; while ( true ) { int i = random . nextInt ( buttonNum ) ; if ( ! used [ i ] ) { used [ i ] = true ; setHideAnimation ( dots [ count ] , circleButtons [ count ] , endLocations [ count ] , startLocations [ count ] , i ) ; count ++ ; if ( count == buttonNum ) break ; } } } } else if ( buttonType . equals ( ButtonType . HAM ) ) { if ( hideOrderType . equals ( OrderType . DEFAULT ) ) { for ( int i = 0 ; i < buttonNum ; i ++ ) { setHideAnimation ( bars [ i ] , hamButtons [ i ] , endLocations [ i ] , startLocations [ i ] , i ) ; } } else if ( hideOrderType . equals ( OrderType . REVERSE ) ) { for ( int i = 0 ; i < buttonNum ; i ++ ) { setHideAnimation ( bars [ i ] , hamButtons [ i ] , endLocations [ i ] , startLocations [ i ] , buttonNum - i - 1 ) ; } } else if ( hideOrderType . equals ( OrderType . RANDOM ) ) { Random random = new Random ( ) ; boolean [ ] used = new boolean [ buttonNum ] ; for ( int i = 0 ; i < buttonNum ; i ++ ) used [ i ] = false ; int count = 0 ; while ( true ) { int i = random . nextInt ( buttonNum ) ; if ( ! used [ i ] ) { used [ i ] = true ; setHideAnimation ( bars [ count ] , hamButtons [ count ] , endLocations [ count ] , startLocations [ count ] , i ) ; count ++ ; if ( count == buttonNum ) break ; } } } } }
target:  Start all animations about dismissing.