3179 if ( upperItem > iLines->Count() ) |
3179 if ( upperItem > iLines->Count() ) |
3180 { |
3180 { |
3181 upperItem = iLines->Count(); |
3181 upperItem = iLines->Count(); |
3182 } |
3182 } |
3183 } |
3183 } |
3184 if ( iPhysics->OngoingPhysicsAction() != CAknPhysics::EAknPhysicsActionNone ) |
3184 if ( upperItem == -1 || bottomItem == iLines->Count() ) |
3185 { |
3185 { |
3186 if ( upperItem == -1 || bottomItem == iLines->Count() ) |
3186 if ( upperItem != iExtension->iTopItem || bottomItem != iExtension->iBottomItem ) |
3187 { |
3187 { |
3188 if ( upperItem != iExtension->iTopItem || bottomItem != iExtension->iBottomItem ) |
3188 if( iPhysics->OngoingPhysicsAction() == CAknPhysics::EAknPhysicsActionDragging ) |
|
3189 { |
|
3190 iExtension->Feedback( this, ETouchFeedbackSensitiveList ); |
|
3191 } |
|
3192 else if( iPhysics->OngoingPhysicsAction() == CAknPhysics::EAknPhysicsActionFlicking) |
3189 { |
3193 { |
3190 iExtension->SilentFeedback( this, ETouchFeedbackSensitiveList, TPointerEvent() ); |
3194 iExtension->SilentFeedback( this, ETouchFeedbackSensitiveList, TPointerEvent() ); |
3191 } |
3195 } |
3192 } |
3196 } |
3193 else if ( upperItem >= 0 || bottomItem < iLines->Count() ) |
3197 } |
3194 { |
3198 else if ( upperItem >= 0 || bottomItem < iLines->Count() ) |
3195 if ( upperItem < iExtension->iTopItem || bottomItem > iExtension->iBottomItem ) |
3199 { |
|
3200 if ( upperItem < iExtension->iTopItem || bottomItem > iExtension->iBottomItem ) |
|
3201 { |
|
3202 if( iPhysics->OngoingPhysicsAction() == CAknPhysics::EAknPhysicsActionDragging ) |
|
3203 { |
|
3204 iExtension->Feedback( this, ETouchFeedbackSensitiveList ); |
|
3205 } |
|
3206 else if( iPhysics->OngoingPhysicsAction() == CAknPhysics::EAknPhysicsActionFlicking) |
3196 { |
3207 { |
3197 iExtension->SilentFeedback( this, ETouchFeedbackSensitiveList, TPointerEvent() ); |
3208 iExtension->SilentFeedback( this, ETouchFeedbackSensitiveList, TPointerEvent() ); |
3198 } |
3209 } |
3199 } |
3210 } |
3200 } |
3211 } |