equal
deleted
inserted
replaced
576 // if battery pane's rect contains pointer down position |
576 // if battery pane's rect contains pointer down position |
577 if ( rect.Contains( aPointerEvent.iPosition ) ) |
577 if ( rect.Contains( aPointerEvent.iPosition ) ) |
578 { |
578 { |
579 // set flag that pointerdown was inside battery pane |
579 // set flag that pointerdown was inside battery pane |
580 iPrivateFlags |= EAknBatteryPaneButton1DownInBatteryRect; |
580 iPrivateFlags |= EAknBatteryPaneButton1DownInBatteryRect; |
581 MTouchFeedback* feedback = MTouchFeedback::Instance(); |
581 if ( !AknStatuspaneUtils::ExtendedFlatLayoutActive() ) |
582 if ( feedback ) |
|
583 { |
582 { |
584 feedback->InstantFeedback( ETouchFeedbackSensitiveButton ); |
583 MTouchFeedback* feedback = MTouchFeedback::Instance(); |
|
584 if ( feedback ) |
|
585 { |
|
586 feedback->InstantFeedback( ETouchFeedbackSensitiveButton ); |
|
587 } |
585 } |
588 } |
586 } |
589 } |
587 } |
590 } |
588 break; |
591 break; |
589 |
592 |
645 } |
648 } |
646 |
649 |
647 CAknSmallIndicator* indicatorNotifier = |
650 CAknSmallIndicator* indicatorNotifier = |
648 CAknSmallIndicator::NewLC( TUid::Uid( 0 ) ); |
651 CAknSmallIndicator::NewLC( TUid::Uid( 0 ) ); |
649 indicatorNotifier->HandleIndicatorTapL(); |
652 indicatorNotifier->HandleIndicatorTapL(); |
|
653 //for indicator popup event |
|
654 if ( feedback ) |
|
655 { |
|
656 feedback->InstantFeedback( |
|
657 this, |
|
658 ETouchFeedbackPopUp, |
|
659 ETouchFeedbackVibra, |
|
660 aPointerEvent ); |
|
661 } |
650 CleanupStack::PopAndDestroy( indicatorNotifier ); |
662 CleanupStack::PopAndDestroy( indicatorNotifier ); |
651 } |
663 } |
652 } |
664 } |
653 |
665 |
654 // Up happened, reset button down flag |
666 // Up happened, reset button down flag |