equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of MPXVideoPlaybackControlsController |
14 * Description: Implementation of MPXVideoPlaybackControlsController |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 8 % |
18 |
|
19 // Version : %version: e003sa33#11 % |
19 |
20 |
20 |
21 |
21 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
22 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
22 #define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
23 #define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
23 |
24 |
133 |
134 |
134 void SetRealOneBitmapVisibility( TBool aVisible ); |
135 void SetRealOneBitmapVisibility( TBool aVisible ); |
135 |
136 |
136 TBool SetBackgroundBlack(); |
137 TBool SetBackgroundBlack(); |
137 |
138 |
|
139 inline TBool IsRealMediaFormat(); |
|
140 |
|
141 /** |
|
142 * Check if video clip's aspect ratio is equal to screen display aspect ratio |
|
143 */ |
|
144 TBool IsSameAspectRatio(); |
|
145 |
138 private: |
146 private: |
139 /** |
147 /** |
140 * Create controls |
148 * Create controls |
141 */ |
149 */ |
142 void CreateControlsL(); |
150 void CreateControlsL(); |
352 RFs iFs; |
360 RFs iFs; |
353 TFileName iBitmapFileName; |
361 TFileName iBitmapFileName; |
354 |
362 |
355 TBool iSurfaceCreated; |
363 TBool iSurfaceCreated; |
356 TBool iTvOutConnected; |
364 TBool iTvOutConnected; |
|
365 TBool iRNFormat; |
357 |
366 |
358 #ifdef RD_TACTILE_FEEDBACK |
367 #ifdef RD_TACTILE_FEEDBACK |
359 MTouchFeedback* iFeedback; |
368 MTouchFeedback* iFeedback; |
360 #endif //RD_TACTILE_FEEDBACK |
369 #endif //RD_TACTILE_FEEDBACK |
361 |
370 |
392 TBool playable = ( ! iFileDetails->iTvOutConnected || iFileDetails->iTvOutPlayAllowed ); |
401 TBool playable = ( ! iFileDetails->iTvOutConnected || iFileDetails->iTvOutPlayAllowed ); |
393 MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::IsTvOutPlaybackAllowed() [%d]"), playable); |
402 MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::IsTvOutPlaybackAllowed() [%d]"), playable); |
394 return playable; |
403 return playable; |
395 } |
404 } |
396 |
405 |
|
406 inline |
|
407 TBool CMPXVideoPlaybackControlsController::IsRealMediaFormat() |
|
408 { |
|
409 MPX_DEBUG(_L("CMPXVideoPlaybackControlsController::IsRealFormat() [%d]"), iRNFormat); |
|
410 return iRNFormat; |
|
411 } |
|
412 |
397 #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_*/ |
413 #endif /*MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_*/ |
398 |
414 |
399 // End of File |
415 // End of File |