equal
deleted
inserted
replaced
14 * Description: Implementation of MPXVideoPlaybackControlsController |
14 * Description: Implementation of MPXVideoPlaybackControlsController |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // Version : %version: 18 % |
19 // Version : %version: 20 % |
20 |
20 |
21 |
21 |
22 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
22 #ifndef MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
23 #define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
23 #define MPXVIDEOPLAYBACKCONTROLSCONTROLLER_H_ |
24 |
24 |
135 |
135 |
136 void SetRealOneBitmapVisibility( TBool aVisible ); |
136 void SetRealOneBitmapVisibility( TBool aVisible ); |
137 |
137 |
138 inline TBool IsRealMediaFormat(); |
138 inline TBool IsRealMediaFormat(); |
139 |
139 |
140 /** |
|
141 * Check aspect ratio icon |
|
142 * In case that Clip's AR is equals to Screen Display AR, also hide AR icon. |
|
143 * |
|
144 * @return ETrue in case that clip's AspectRatioIcon can be shown |
|
145 */ |
|
146 TBool ShowAspectRatioIcon(); |
|
147 |
|
148 private: |
140 private: |
149 /** |
141 /** |
150 * Create controls |
142 * Create controls |
151 */ |
143 */ |
152 void CreateControlsL(); |
144 void CreateControlsL(); |
173 const TAknWindowLineLayout& aLayout ); |
165 const TAknWindowLineLayout& aLayout ); |
174 |
166 |
175 /** |
167 /** |
176 * Create/delete controls based on updated control list |
168 * Create/delete controls based on updated control list |
177 */ |
169 */ |
178 void ControlsListUpdatedL(); |
170 void ControlsListUpdatedL( TBool aUpdateVisibility = ETrue ); |
179 |
171 |
180 /** |
172 /** |
181 * Create fake softkeyL |
173 * Create fake softkeyL |
182 */ |
174 */ |
183 void CreateFakeSoftKeyL( TInt aResource, |
175 void CreateFakeSoftKeyL( TInt aResource, |
234 * Return ETrue if any control is visible |
226 * Return ETrue if any control is visible |
235 */ |
227 */ |
236 TBool IsVisible(); |
228 TBool IsVisible(); |
237 |
229 |
238 /** |
230 /** |
|
231 * Return ETrue if real one bitmap is visible |
|
232 */ |
|
233 TBool IsRealOneBitmapVisible(); |
|
234 |
|
235 /** |
239 * Append a control based on control index |
236 * Append a control based on control index |
240 */ |
237 */ |
241 void AppendControlL( TMPXVideoPlaybackControls aControlIndex ); |
238 void AppendControlL( TMPXVideoPlaybackControls aControlIndex ); |
242 |
239 |
243 /** |
240 /** |
310 TBool IsSoftKeyVisible( TInt aValue ); |
307 TBool IsSoftKeyVisible( TInt aValue ); |
311 |
308 |
312 /** |
309 /** |
313 * Handle tvout connected/disconnected event |
310 * Handle tvout connected/disconnected event |
314 */ |
311 */ |
315 void HandleTvOutEventL( TBool aConnected, TMPXVideoPlaybackControlCommandIds aEvent ); |
312 void HandleTvOutEventL( TBool aConnected, |
|
313 TMPXVideoPlaybackControlCommandIds aEvent, |
|
314 TBool aShowArIcon ); |
316 /** |
315 /** |
317 * Handle softkey pressed event |
316 * Handle softkey pressed event |
318 */ |
317 */ |
319 void HandleSoftKeyPressedL( TInt aValue ); |
318 void HandleSoftKeyPressedL( TInt aValue ); |
320 |
319 |