equal
deleted
inserted
replaced
2451 { |
2451 { |
2452 //PRINTF((_L("CAknFepCtrlRepeatButton::HandleButtonDown()\n"))); |
2452 //PRINTF((_L("CAknFepCtrlRepeatButton::HandleButtonDown()\n"))); |
2453 |
2453 |
2454 //PRINTF((_L("Set long press Timer\n"))); |
2454 //PRINTF((_L("Set long press Timer\n"))); |
2455 iLongPressTimer->SetTimer(iLongPressInterval); |
2455 iLongPressTimer->SetTimer(iLongPressInterval); |
2456 |
2456 TInt unicode = Unicode(); |
|
2457 TPtrC ptr = (TUint16*)(&unicode); |
|
2458 ReportEvent(Event(), ptr); |
2457 return CAknFepCtrlCommonButton::HandlePointerDownEventL(aPt); |
2459 return CAknFepCtrlCommonButton::HandlePointerDownEventL(aPt); |
2458 } |
2460 } |
2459 |
2461 |
2460 // --------------------------------------------------------- |
2462 // --------------------------------------------------------- |
2461 // Handle button up cancel timers |
2463 // Handle button up cancel timers |
2465 { |
2467 { |
2466 //PRINTF((_L("CAknFepCtrlRepeatButton::HandleButtonUp()\n"))); |
2468 //PRINTF((_L("CAknFepCtrlRepeatButton::HandleButtonUp()\n"))); |
2467 |
2469 |
2468 CancelRepeat(); |
2470 CancelRepeat(); |
2469 |
2471 |
2470 return CAknFepCtrlEventButton::HandlePointerUpEventL(aPt); |
2472 return CAknFepCtrlCommonButton::HandlePointerUpEventL(aPt); |
2471 } |
2473 } |
2472 |
2474 |
2473 // --------------------------------------------------------- |
2475 // --------------------------------------------------------- |
2474 // Handle pointer levae event cancel timers |
2476 // Handle pointer levae event cancel timers |
2475 // --------------------------------------------------------- |
2477 // --------------------------------------------------------- |
3901 } |
3903 } |
3902 |
3904 |
3903 TRect src2Rect( TPoint( 0, 0 ), iForground2Bmp->SizeInPixels() ); |
3905 TRect src2Rect( TPoint( 0, 0 ), iForground2Bmp->SizeInPixels() ); |
3904 if( bmpMask2 ) |
3906 if( bmpMask2 ) |
3905 { |
3907 { |
3906 gc->BitBltMasked( rect.iTl, //fix EVWG-7PKC6J. layout of 2nd foreground is determined by image itself, but not hard code. |
3908 gc->BitBltMasked( rect.iTl, // layout of 2nd foreground is determined by image itself, but not hard code. |
3907 iForground2Bmp, |
3909 iForground2Bmp, |
3908 src2Rect, |
3910 src2Rect, |
3909 bmpMask2, |
3911 bmpMask2, |
3910 EFalse); |
3912 EFalse); |
3911 } |
3913 } |
3912 else |
3914 else |
3913 { |
3915 { |
3914 gc->BitBlt( rect.iTl, //fix EVWG-7PKC6J. |
3916 gc->BitBlt( rect.iTl, |
3915 iForground2Bmp, |
3917 iForground2Bmp, |
3916 src2Rect ); |
3918 src2Rect ); |
3917 } |
3919 } |
3918 } |
3920 } |
3919 |
3921 |