equal
deleted
inserted
replaced
571 // in case there's flicking or panning ongoing and not doing |
571 // in case there's flicking or panning ongoing and not doing |
572 // bounce action |
572 // bounce action |
573 if ( iFlickActive || iPanningActive ) |
573 if ( iFlickActive || iPanningActive ) |
574 { |
574 { |
575 if ( ( aOffset>0 && iListTopIndex <= listBottomLimit && iListTopIndex >= -iViewHeight ) || |
575 if ( ( aOffset>0 && iListTopIndex <= listBottomLimit && iListTopIndex >= -iViewHeight ) || |
576 ( aOffset<0 && iListBottomIndex >= 0 && iListBottomIndex <= listBottomLimit+iViewHeight ) ) |
576 ( aOffset<0 && iListBottomIndex >= 0 && iListBottomIndex <= listBottomLimit+iViewHeight ) ) |
577 { |
577 { |
578 if ( iPhysics ) |
578 if ( iPhysics ) |
579 { |
579 { |
580 TTouchFeedbackType feedbackType = ETouchFeedbackVibra; |
580 switch(iPhysics->OngoingPhysicsAction()) |
581 switch( iPhysics->OngoingPhysicsAction() ) |
|
582 { |
581 { |
|
582 case CAknPhysics::EAknPhysicsActionBouncing: |
583 case CAknPhysics::EAknPhysicsActionDragging: |
583 case CAknPhysics::EAknPhysicsActionDragging: |
584 { |
|
585 feedbackType = static_cast<TTouchFeedbackType> ( ETouchFeedbackVibra | ETouchFeedbackAudio ); |
|
586 } |
|
587 case CAknPhysics::EAknPhysicsActionFlicking: |
584 case CAknPhysics::EAknPhysicsActionFlicking: |
588 case CAknPhysics::EAknPhysicsActionBouncing: |
|
589 { |
|
590 ImmediateFeedback( ETouchFeedbackSensitiveList, |
585 ImmediateFeedback( ETouchFeedbackSensitiveList, |
591 feedbackType ); |
586 ETouchFeedbackVibra ); |
592 break; |
587 break; |
593 } |
|
594 default: |
588 default: |
595 break; |
589 break; |
596 } |
590 } |
597 } |
591 } |
598 } |
592 } |