equal
deleted
inserted
replaced
235 BubbleUtils::PrepareBubbleImageL( |
235 BubbleUtils::PrepareBubbleImageL( |
236 iFrameId, |
236 iFrameId, |
237 outerRect, |
237 outerRect, |
238 innerRect, |
238 innerRect, |
239 iBubble ); |
239 iBubble ); |
240 |
240 |
241 if ( iHeader->CallObjectImage() && |
|
242 !iHeader->CallObjectText().Length() ) |
|
243 { |
|
244 // Add transparency |
|
245 BubbleUtils::AddTransparencyToBubbleImageL( |
|
246 KAknsIIDQsnFrCall2RectCoMask, // gradient tp mask |
|
247 outerRect, |
|
248 innerRect, |
|
249 iBubble ); |
|
250 } |
|
251 break; |
241 break; |
252 } |
242 } |
253 case CBubbleManager::EDisconnected: |
243 case CBubbleManager::EDisconnected: |
254 case CBubbleManager::EActive: |
244 case CBubbleManager::EActive: |
255 case CBubbleManager::EOnHold: |
245 case CBubbleManager::EOnHold: |
268 TRect outerRect; |
258 TRect outerRect; |
269 TRect innerRect; |
259 TRect innerRect; |
270 BubbleLayout2::BubbleFrameInnerOuterRects( frameRect, |
260 BubbleLayout2::BubbleFrameInnerOuterRects( frameRect, |
271 outerRect, |
261 outerRect, |
272 innerRect); |
262 innerRect); |
273 |
263 |
274 TAknsItemID coMaskFrameId; |
|
275 if ( callState == CBubbleManager::EOnHold ) |
264 if ( callState == CBubbleManager::EOnHold ) |
276 { |
265 { |
277 iFrameId = KAknsIIDQsnFrCall2Bubble; |
266 iFrameId = KAknsIIDQsnFrCall2Bubble; |
278 coMaskFrameId = KAknsIIDQsnFrCall2BubbleCoMask; |
|
279 } |
267 } |
280 else if ( callState == CBubbleManager::EDisconnected ) |
268 else if ( callState == CBubbleManager::EDisconnected ) |
281 { |
269 { |
282 iFrameId = KAknsIIDQsnFrCall2BubbleSecondDisconn; |
270 iFrameId = KAknsIIDQsnFrCall2BubbleSecondDisconn; |
283 coMaskFrameId = KAknsIIDQsnFrCall2BubbleSecondCoMask; |
|
284 } |
271 } |
285 else |
272 else |
286 { |
273 { |
287 iFrameId = KAknsIIDQsnFrCall2BubbleSecond; |
274 iFrameId = KAknsIIDQsnFrCall2BubbleSecond; |
288 coMaskFrameId = KAknsIIDQsnFrCall2BubbleSecondCoMask; |
|
289 } |
275 } |
290 |
276 |
291 iOuterRect = outerRect; |
277 iOuterRect = outerRect; |
292 iOuterRect.Move( Rect().iTl ); |
278 iOuterRect.Move( Rect().iTl ); |
293 iInnerRect = innerRect; |
279 iInnerRect = innerRect; |