summaryrefslogtreecommitdiff
path: root/InCallUI/res
AgeCommit message (Collapse)Author
2015-08-05Last forwarded number and incoming call subject.Tyler Gunn
Last forwarded number: - Added assets for the "forward" icon for last forwarded number. - Modified InCall Call to store last forwarded number; also calls onLastForwardedNumberChange callback (the last forwarded number is received via a supp service update, so may change after call starts). Call subject (i.e. instant lettering): - Added placeholder subject_bubble asset to form the chat bubble for incoming calls with a subject. - Modified InCall Call to store the call subject (expected to be populated in extras at start of call. - Added code to hide the call status (e.g. "incoming call via XYZ") line and primary call label (e.g. a location "California", or the number type "Mobile" for the number). This was necessary to make room for the call subject bubble, and is in line with the UX mocks. - Change call subject text color to background color of call card (per UX mocks) - Modified call notification to show call subject if it is specified. - Moved code to show HD icon into common method. Bug: 22685114 Change-Id: I22d9dae16658490e3245cfdd9c936bb0584cd6db
2015-07-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I890ab842d953bec4e549069295f8809dc31a5246 Auto-generated-cl: translation import
2015-07-23Add support for showing child number in incall ui.Tyler Gunn
Bug: 22685113 Change-Id: I4cf8f92820fcc028d26b5edcbf9bbc02a4d7a6d5
2015-07-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6f02a06d81483392eae86f7a0ffc8725a23fe275 Auto-generated-cl: translation import
2015-06-25Make switch access work for incoming call screenYorke Lee
An accessibility click on the glowpad now exposes the touch targets as virtual views to accessibility services. Performing an accessibility click on each virtual view performs the same function as swiping towards that target. Mark contact photo as unimportant for accessibility, it doesn't provide any useful context or functionality. Bug: 19075527 Change-Id: I2e980394175bf77379f5cb99126dd5970e0f0555
2015-06-15Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ia9b37805222871787dda1ca8eb3aaa2575827ea0 Auto-generated-cl: translation import
2015-06-10Merge "Address long call state labels." into mnc-devAndrew Lee
2015-06-10Address long call state labels.Andrew Lee
+ Specify char limit for common labels. + Use ResizingTextView. Bug: 20749917 Change-Id: I1291d2d5d0ce9043a35f6553a5d7fc0b39c23354
2015-06-08Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I9efcc4214930017e0aaa2822726e0b5c16d41b12 Auto-generated-cl: translation import
2015-06-04Lower char limits even lower. =(Andrew Lee
Notification actions have very little space on small devices... Bug: 21553870 Change-Id: I1ffa4384996f4f69f65f5dfff650906db65a2234
2015-06-03Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ie9e733fa5ee3385e23303febc0a48e505c46b495 Auto-generated-cl: translation import
2015-06-01Lower char limit on notification actions.Andrew Lee
Bug: 20987110 Change-Id: Ife335130b298d8597a212c04d38d5a6cb48527cb
2015-06-01Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Id311f2ccdcc8ea2710169ef0fad9fee571d3b3bf Auto-generated-cl: translation import
2015-05-29Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I31d21a45a039e227bbcf1a7c5884db2403cada6f Auto-generated-cl: translation import
2015-05-20Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Id152ea4f711a008531b81fe33f8f5cdb7b0ed9f7 Auto-generated-cl: translation import
2015-05-18Tweak some layouts so that very long numbers are wrappedYorke Lee
Ugly, but should be very rare (large text mode + very long numbers) and allows the user to not lose valuable context. Bug: 18578280 Change-Id: I45a93614b84dde4f32c8f5adc3a5130b59d3c028
2015-05-13Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If45df5c0765047bd2bb3b275e0b113d16ebdfbb0 Auto-generated-cl: translation import
2015-05-13Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ib40a04c7353d2147f1ea7e2e9861fd9beb6b258d Auto-generated-cl: translation import
2015-05-11Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ieebf6710140ebe6ff0036d8922d0ea3c21e1a1d6 Auto-generated-cl: translation import
2015-05-07Merge "Adjust HD and WFC icons." into mnc-devAndrew Lee
2015-05-07Adjust HD and WFC icons.Andrew Lee
Adjust sizes, assets, and positionings. Bug: 20338455 Change-Id: I3913eb60cf1c05f8a89208f9c0247ffcc3e1ec27
2015-05-06Auto fullscreen mode when starting a video call.Tyler Gunn
- Added code to VideoCallPresenter to automatically enter fullscreen mode once a video call starts. Bug: 19850117 Change-Id: I801433243df556c3398ad82a60fc738bdfb35f79
2015-05-05DO NOT MERGE Fix merge issue.Tyler Gunn
When I cherry picked in cl/685115, it looks like my moving of the VideoCallFragment didn't merge properly. Removing extra instance. Bug: 20257400 Change-Id: I0194a96c1f65bda10368ebccd21165c8f2c3c217
2015-05-05DO NOT MERGE Video call upgrade/dowgrade request changes.Tyler Gunn
- fixed potential NPE in VideoCallFragment when setting preview size. - moved photo load into the postExecute for the async task -- it is already threaded and I was seeing intermittent concurrency issues. - Changed CallButtonFragment to retrieve max # of buttons from config.xml. - Added override for wider screens (e.g. N6 and wider) to show an extra button. - Reorganized call buttons so that the "Camera on/off" button is adjacent to the flip camera button. - Changed answer Glowpad to pass correct video state so that accepting a video request uses the correct state (important for accepting requests to turn camera back on). - added new Session modification state REQUEST_REJECTED for when the remote user explicitly declines the request. This is used to trigger a "video request rejected" message when the remote party rejects the request. Bug: 20257400 Change-Id: Ibe25eb045ee868748f91bf411f285629d36ebcd2
2015-05-05Merge changes from topic 'mwd-merge-050415' into mnc-devPrerepa Viswanadham
* changes: Merge commit 'b1c7028' into merge_try2 Merge commit '214726a' into merge_try2 Merge commit '5e2731c' into merge_try2
2015-05-04Merge commit '5e2731c' into merge_try2Prerepa Viswanadham
Change-Id: I880eb25812adaeb9355cc9c1dcf46afa0da5f333
2015-05-01Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I7f3f18f567dc1966c244300c915ce4f86dbe3480 Auto-generated-cl: translation import
2015-04-29Remove unused string.Nancy Chen
Remove string that is not being used since it is causing translation problems. Bug: 18494505 Change-Id: Ic4d89ef8b6223ba83bbb269aade85a6dcb5c0b35
2015-04-27DO NOT MERGE Fix missing "manage conference" option.Tyler Gunn
- Corrected alignment of manage conference button. Bug: 20476139 Change-Id: I31be2f460cc298f6b210931dd670ab7fbc19866e (cherry picked from commit 0e52751f3b1434786a5ff943d8e7907d01a1137c)
2015-04-26Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Icaa008a57127dbb13d4d57b2a21259f9bb0aa195 Auto-generated-cl: translation import
2015-04-25Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I9b2c618a8ce2e6c06d88095a67ffe7f0413217ca Auto-generated-cl: translation import
2015-04-24Upgrade / downgrade requestsTyler Gunn
- Remove unnecessary "change to voice" button. - Remove "modify call option" dialog that showed up in the past when pressing the "upgrade to video button". - Cleaned up some unnecessary Toasts for call session events, data usage, and video quality - Implemented the camera on/off functionality. - Change preview to show the user's profile photo when their camera is turned off, as well as a "camera off" icon. Bug: 20257400 Change-Id: I6b7bb3d2394467f1345a798557130b2a674337c4
2015-04-24Merge commit 'a099cac' into merge2Etan Cohen
2015-04-22Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I687451e9a7cd032c64409d79e2a7ea4cbbc7a901 Auto-generated-cl: translation import
2015-04-21Merge "Add EmergencyCallListener."Andrew Lee
2015-04-20Add EmergencyCallListener.Andrew Lee
+ Add EmergencyCallListener, which fires when the call card is updated to indicate whether the call is an emergency call or not. Bug: 20300758 Change-Id: Ie9ad6ddecb278b56226804f5009504b4cc8b4cd5
2015-04-20DO NOT MERGE Remove code disabling VT calls when TTY mode is onYorke Lee
To be moved into Telephony instead Bug: 20090652 Change-Id: I58aeb382d7e213b4eeae997d1f4bac3e25d34e67
2015-04-20Remove code disabling VT calls when TTY mode is onYorke Lee
To be moved into Telephony instead Bug: 20090652 Change-Id: I58aeb382d7e213b4eeae997d1f4bac3e25d34e67
2015-04-20Merge "Stop using internal plural resources"Yorke Lee
2015-04-20Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I449d6af0684da716d9876e8b0b4323c7ee325100 Auto-generated-cl: translation import
2015-04-18DO NOT MERGE Stop using internal plural resourcesYorke Lee
Change-Id: I6ddd0555c56cdd3c5269ba435b14d4c26e015e22
2015-04-18Stop using internal plural resourcesYorke Lee
Change-Id: I6ddd0555c56cdd3c5269ba435b14d4c26e015e22
2015-04-17Import translations. DO NOT MERGEGeoff Mendal
Change-Id: If76f89a1419b4ac092eb9c3ea9d8d6cacd8eeaee Auto-generated-cl: translation import
2015-04-16DO NOT MERGE Don't make all buttons invisible at startupYorke Lee
Bug: 20298277 Change-Id: Ia5db30f2e8c359f10d45f02e765e2529cb2d0d5d
2015-04-17Merge "Don't make all buttons invisible at startup"Yorke Lee
2015-04-16Don't make all buttons invisible at startupYorke Lee
Bug: 20298277 Change-Id: Ia5db30f2e8c359f10d45f02e765e2529cb2d0d5d
2015-04-16Remove connection substateJay Shrauner
Bug:20300433 Change-Id: Iec4a56229ee30f3183c9f4cf37bed3f028eed155
2015-04-16DO NOT MERGE Remove connection substateJay Shrauner
Bug:20300433 Change-Id: Iec4a56229ee30f3183c9f4cf37bed3f028eed155
2015-04-16Show IMS Conference StatusHints in InCall.Andrew Lee
automerge: 1838e77 * commit '1838e77845e2ba822bc7f510515b50cf00ddc2a4': Show IMS Conference StatusHints in InCall.
2015-04-16Merge changes from topic 'mwd-merge-041515'Vinit Deshpande
* changes: Fix build issues after the merge am b04d61a..697f674 from mirror-m-wireless-internal-release
2015-04-15Fix build issues after the mergeVinit Deshpande
Change-Id: Ia856311187a0b2168cb859bd8b2300ff59df6569
2015-04-15Show IMS Conference StatusHints in InCall.Andrew Lee
A lot of this logic for figuring out what label should be shown seems like it should be determined in the presenter, rather than passing through all this information to the fragment, but it can be cleaned up at another time. + minor layout tweak. Bug: 20181703 Change-Id: I392ce7cffc8c05eb94859892e899ce7c693895aa
2015-04-15Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I696585f3a2e66a02af854cea9e1498dbd0701c6f Auto-generated-cl: translation import
2015-04-15am b04d61a..697f674 from mirror-m-wireless-internal-releaseVinit Deshpande
697f674 Fix orientation of preview surface when device rotated. 17de502 Merge "Always allow landscape mode if video call is the primary call" into m-wireless-dev 3692e77 Always allow landscape mode if video call is the primary call a77ad8d Video calling landscape changes to match specs cb74fc0 Merge "Simplify and rewire in-call buttons" into m-wireless-dev ed0775d Simplify and rewire in-call buttons 80a1aad Hide incoming video until call is connected. 4f2a70b Merge "Cleanup AnswerFragment glowpad UI" into m-wireless-dev 6591f05 Merge "Initial refactoring for call buttons" into m-wireless-dev c70a63c Initial refactoring for call buttons 4a63afd Hide end call button when video upgrade glowpad is showing 7ba13e9 Cleanup AnswerFragment glowpad UI 6b2b8df Show progress spinner when upgrading to video c02794b Merge "Cleanup of Video Call pause functionality." into m-wireless-dev bec5807 Standardize fragment layout names bc65cbc Adding video call icon in secondary call info.
2015-04-14Merge "Rename dialpad fragment layout file"Yorke Lee
2015-04-13Remove extra VideoFragment in layouts.Andrew Lee
This is for both the portrait and landscape layouts. This presumably happened because of a bad merge. Change-Id: I5e642bf42601661150312b78b900983885f2312c
2015-04-13Video calling landscape changes to match specsYorke Lee
* Call card has 4dp corners, and is 90% visible * Margins for call card * Call buttons are center aligned with end call button * Remote surface is always center aligned, tapping call card slides it in and out * Status bar is black Bug: 19668216 Change-Id: Ifea27faa5f8ff32f6be13e777ca70aa4d0c7727e
2015-04-13Rename dialpad fragment layout fileYorke Lee
Avoid potential merge conflict from m-wireless-dev Change-Id: I512f0063bcee72070ae8977b90d2701ecc36deb0
2015-04-13Simplify and rewire in-call buttonsYorke Lee
* Fix bug where the switch camera option was never shown * Fix bug where dialpad button was shown for video calls * Move management of call button's actual visiblity into the CallCardFragment. The CallCardPresenter is in charge of deciding what functionality is available, but the CallCardFragment manages the actual UI that is displayed. * Simplify code that collapses call button functionality into the overflow button. Any buttons that would cause the total number of buttons to exceed the given threshold will be collapsed into an overflow menu. * Dynamically toggle the contentDescription of the hold button. This is used for both accessibility as well as generating the menu option if the button is collapsed into the overflow menu * Removed some now unused strings and code. Bug: 20127747 Bug: 20127925 Bug: 20090502 Change-Id: I33fda7ad74af926d8c3a507bff8f3c69c19ea57e
2015-04-13Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I59366611b039c9b4ebaeab657b1be28d4c973c3b Auto-generated-cl: translation import
2015-04-12Merge changes I9105cb40,Ia9666fd5,I4cfea114Prerepa Viswanadham
* changes: Merge commit 'fa87d77' into merge_work Merge commit '7ebd52c' into merge_work Merge commit '8bef461' into merge_work
2015-04-10Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I686cd410b0127b6e51e88fc6a7123ffcef13845e Auto-generated-cl: translation import
2015-04-10Merge "Cleanup AnswerFragment glowpad UI" into m-wireless-devYorke Lee
2015-04-10Merge commit '8bef461' into merge_workPrerepa Viswanadham
Change-Id: I4cfea114e24c0b0671e99118316ad839dafbe400
2015-04-10Cleanup AnswerFragment glowpad UIYorke Lee
* For incoming video requests, only show answer as video, answer as audio, or reject * For upgrade requests, only show upgrade to video, don't upgrade to video * Nuke unused tx/rx only assets Bug: 20090411 Change-Id: I51093bb702981256809020908442eb98b0d17606
2015-04-09Show progress spinner when upgrading to videoYorke Lee
Show spinner when waiting for remote consent. Also correctly propagate sessionModification state when downgrading to audio. Bug: 20090442 Change-Id: If733ce99683436c751a26a6511e6a41bac637c30
2015-04-08Standardize fragment layout namesYorke Lee
Change-Id: I76814eb5b90130227eea8e2f8576c472b80d1435
2015-04-08Adding video call icon in secondary call info.Tyler Gunn
- Icon indicates that a call is a video call. Per mocks. Bug: 20119995 Change-Id: Ibccfccaa3f2762659282bbde433796fe20da361c
2015-04-06Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I0a1620c6610d2cb170fffc4474015bb871da97ce Auto-generated-cl: translation import
2015-04-04Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I23a4f11e13a979024f7e4cf64305fbbd0beeb0f9 Auto-generated-cl: translation import
2015-03-27Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I377c6697025443451b1533274130e36758208f75 Auto-generated-cl: translation import
2015-03-26IMS-VT: Add support for video callsRekha Kumar
IMS-VT: Upgrade downgrade and hold resume video calls -Add support for upgrade downgrade video calls. -Add support for hold resume and call waiting IMS-VT: Fixed surface caching. Fixed surface caching. IMS-VT: Fixes InCallUI/Dialer crash when there is a VT call. -Fixes InCallUI/Dialer crash when UE is rotated. -Fixes InCallUI/Dialer crash when UE VoLTE call is upgraded to VT. Don't default to speaker phone for VT when speaker is disabled - The adb property persist.radio.ims.audio.output indicates whether speaker is disabled explicitly or not. - If the above property is set to 1, don't enable speaker phone by default in VT call. IMS-VT: Fix CVO, surface and resource related issues. - Send initial orientation to VT Service. - Detect if Activity is being destroyed due to confugration changes. - Close the camera when InCallUI is pushed to background. - Fix surface and VT service related issues when Fragment and Presenter gets destroyed. IMS-VT: Peer Resolution Feature Implementation Change display video size based on peer resolution values received from far end. IMS-VT: Answering calls and upgrade requests as VT_TX and VT_RX -Support for showing one way options for incoming upgrade request -Fix issue where incoming video popup stays on screen even after rejecting the request. -Fix issue where incoming video popup stays on even after it has been timed out by lower layers. - Answer with different calltypes support. Notify listeners of video quality changed event and display message on UI - Add methods to notify listeners of type VideoEventListener when video quality changes. - Display a notification on the UI when video quality changes. IMS-VT: Enable SIP based video multitasking. Enable SIP based video multitasking. IMS-VT: Call data usage feature - Add support for call data usage callback - Request for call data usage stats - Log call data usage stats when IMS layers send update Change-Id: I3f0dde0d82698085fa5d3f110720f10326eca768 IMS-VT: When TTY is ON, do not allow upgrade to VT call When TTY mode is ON, the user SHOULD NOT be allowed to upgrade a call from VOLTE to VT/VT-TX/VT-RX and an UI alert message will be displayed explaining upgrade to VT call cannot be initiated. IMS-VT: Add null check in call upgrade fail scenario Crash is observed if call is ended in the interval wherein handler is started to change state from REQUEST_FAILED to NO_REQUEST after an interval. Added null check to change state only when call exists Propagate call substate message and display a notification on the UI Ims: Reject upgrade request 1. If there is waiting call that is pending user action and 2. Before offering a waiting call IMS-VT: Provide Player State indication to user. Change to display "player started/stopped" toast message whenever video starts/stops flowing IMS-VT: Cleanup video views when not required - Hide video views when not required. Set display size as per current TextureView size - Using TextureView height and width to calculate the display size. - When ever there is change in display make sure that center the display. IMS-VT: Exit VT call full screen mode. If the call is no longer a VT call, then exit full screen mode Change-Id: Ibc4ad8f9a4c38e467820028cdc2c7e68d65fd93c CRs-Fixed: 760925 IMS-VT: Upgrade button fix -Show upgrade/downgrade button only when call is in ACTIVE or ONHOLD state IMS-VT: Show correct call types during video pause -In paused state, upgrade downgrade button does not list the calltypes dropdown box -Remove the paused bit to calculate call type during video paused state. IMS-VT: Move strings for video quality changed indication to resource files IMS-VT: Clean up the showCallSubstateChanged API - Make the code more readable. IMS-VT: Set audio route to Speaker if current route is not bluetooth or headset - We always set the audio route to speaker when we enter video mode. - That is not correct. We should check if headset or bluetooth is connected before defaulting to speaker. IMS-VT: Turn speaker on/off for video calls based on call state changes - Turn speaker on only when video call is active or dialing - Switch back to the previous audio mode when there are no more calls - Make the previous audio mode static so that information persists when the class is recreated (e.g. when UE is rotated or multitasking happens) IMS-VT: Use back camera instead of front camera for VT-TX Set back camera for below cases 1) VOLTE to VT-TX 2) VT to VT-TX 3) Waiting call over Vt-TX call. IMS-VT: Fix upgrade in call waiting scenarios -When one VoLTE call is active and another VoLTE call is on hold and upgrade button is hit, call ends. Fix this upgrade issue. IMS-VT: Enter video mode when the primary video call changes - We only enter video mode when we have any video state changes - Enter video mode should also be called when the video call changes. e.g. When we have a second call with the same video state, we don't enter video mode which is incorrect. This change fixes the issue Add null check for InCallActivity in setInCallAllowsOrientationChange - In some cases, this API is called when InCallActivity is null. This causes a null pointer exception. Fix is to add a null check. IMS-VT: Fix check for VOLTE call (AND to OR) when turning speaker on IMS-VT: Check if call is video before enabling speaker in updateAudioMode - Moved the video call check to the correct block where we are enabling speaker IMS-VT: Get call substate values correctly from the bit mask - We were getting the call substate incorrectly as an int. - Fixed that by getting it from the bit mask and using the possible multiple values to display the call substate message. IMS-VT: Keep the screen on during video calls. UI screens times out after some time. During video calls the screen must be kept on. Change-Id: Icaa8662210b2dd323b29f4a472869a9ed1e01d00 IMS-VT: Open front facing camera for VT calls. Open front facing camera for VT calls. IMS-VT: Show manage conference button for Video Call - We show the manage conference in a separate section for VOLTE Calls. - In the case of Video Call, the entire screen is occupied by the far end video. So we display manage conference in the overflow section of the call button fragment. IMS-VT: Fix camera preview freeze for CONF video calls. Fix camera preview freeze for CONF video calls. IMS-VT: Move persist.radio.ims.audio.output to frameworks Move persist.radio.ims.audio.output and related constants to TelephonyProperties and PhoneConstants so that these can be accessed from multiple git projects instead of redefining. IMS-VT: Multiple video call fixes/optimizations. -Current implementation clears primary call cache upon exiting video mode. This will remove video call provider interface as well, which will prevent further communication with the backend. Don't clear primary call cache upon exiting video mode. -Unregister call details listener when UI transitions into unready state -Send surface of incoming video to video call provider before opening camera. IMS: Cleanup all listener objects Clean all stale listener objects to avoid the memory leak. IMS: Fix speaker icon display issue in Call UI. In few devices, InCall UI can show upto five buttons in a row. Modify code to display at most five buttons in a row. Show overflow menu if number of buttons is more than five. IMS-VT: Show glowpad view with accept/reject for most video upgrade cases - Show the glowpad view with all options only when upgrading from Volte to VT - For all other cases, show the glowpad with accept/reject only Change-Id: I41ecbda40db7c3c69428fc4272f8bfbd258e2980
2015-03-26merge changes from m-wirelessYorke Lee
Change-Id: Id93b2d6e840baaa0b9b42b4595bca0dc41972994
2015-03-25Dynamically add/remove CallCardFragmentYorke Lee
Only show the CallCardFragment when it is needed: 1) Incoming calls 2) After completion of circular reveal Also make Calls class public so that it can be mocked with Mockito Change-Id: Ife7ed38bde25daf5a9fd0329ade5e794fa1bff65
2015-03-24Don't show SSID for Wi-Fi calls.Andrew Lee
- Delete wifi icon and method to get SSID. + Use labels provided by StatusHints instead. I'm not very happy with the additional "isWifi" cases I ended up adding in call card fragment. I felt this was necessary because of assumptions in some cases that if a label is provided, it should be formatted as a phone account source. While this was true before, it's becoming less so. I feel like the fragment shouldn't have to worry about formatting or choosing the label based on the call and conditions. It should just display the label if it thinks it is appropriate to show a label given the call state. To fix that, it seems like logic should be moved to the presenter instead, and possibly to Telephony. But, I'm hesitant to do that until these WFC changes back merge to master because of potential merge conflicts and its slightly more risky for this branch, because it starts dealing with logic/flows outside of WFC.. Bug: 19866988 Change-Id: Iacd5a09259c84ea7be28b0170ae603eb9561f7ca
2015-03-24Merge "Fix for misaligned video view surface"Yorke Lee
2015-03-23Fix for misaligned video view surfaceYorke Lee
* Stash the true height of mPrimaryCallCardContainer in a view tag so that its height is not misreported during the outgoing call animation * Move the onGlobalLayoutListener so that the callbacks occur after the surfaces have been inflated, to ensure the views are non-null. Bug: 19773495 Change-Id: Ib762285c595ec826c6da15296db66d830d9fe24e
2015-03-23Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I2b2b12738a83b658730532a76df43a2b692dbf4f Auto-generated-cl: translation import
2015-03-21Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I0b655391efae2a593ae2cd40f1ff6fe132de78ce Auto-generated-cl: translation import
2015-03-18Merge "Set correct style for AlertDialog"Yorke Lee
2015-03-18Merge "Add VideoCallFragment back into InCallUI"Yorke Lee
2015-03-18Set correct style for AlertDialogYorke Lee
Otherwise it inherits the incorrect text color <item name="android:textColorPrimary">@color/incall_call_banner_text_color</item> from Theme.InCallScreen. Bug: 19796458 Change-Id: I4e86f4a114b39d8c2060638eb05142791385c8e9
2015-03-18Delete unused images and strings.Andrew Lee
Bug: 19536005 Change-Id: I50604ef59625fcac43deb3e5606dbae8ebb25ad5
2015-03-18Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I8a19823dade76231361ae84ef5df6f2356cf04f3 Auto-generated-cl: translation import
2015-03-17Add VideoCallFragment back into InCallUIYorke Lee
Statically add VideoCallFragment into the view hierarchy so that video calls can be shown in the UI. Change-Id: I8afbaaa750371a4afe3946d268882f46f5ec7eb4
2015-03-16Size CallCard correctly in landscape modeYorke Lee
Bug: 19668216 Change-Id: Ifd131f3d200a66a1f08dff3db131c551d9890c09
2015-03-16Merge "Dynamically add AnswerFragment"Yorke Lee
2015-03-16Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I0ecf79a43fc0e9bccf40db00aebab84af400d7ae Auto-generated-cl: translation import
2015-03-16Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release'Vinit Deshpande
Change-Id: I9f37386b36eeee2afffb20464265f92d5c5942d3
2015-03-13Dynamically add AnswerFragmentYorke Lee
AnswerPresenter is a little tricky because it is in charge of responding to incoming calls, so we want it to be alive and getting onIncomingCall callbacks, but we don't want to create an instance of AnswerFragment, which it is dependent on. Move some dependencies around so that AnswerPresenter is created by InCallPresenter instead. It registers for callbacks via InCallPresenter instead of directly to CallList, and shows/hides the AnswerFragment via InCallActivity. Change-Id: I7026150988bf3cda762dda8a319f48e1af132361
2015-03-11Remove unused translations with no base string.Andrew Lee
These strings don't have default translations in the strings.xml file. Bug: 19536005 Change-Id: I050eded1214470546b946834264a6d04d1cf2fdc
2015-03-11Correct capitaliztion of "wi-fi" to "Wi-Fi".Andrew Lee
Change-Id: I4ce0898dbae20ac26d1e12db9e9aa094c537e230
2015-03-10Indicate wifi for incoming calls.Andrew Lee
This is done in the call card by showing the wifi icon. This is done in the notification, by change the subtext. For international calls in particular, this helps users understand how accepting a phone call will affect the cost of their call. Change-Id: Ifebd9f9cc8598b7fe5b693673b27a485f7ecdf0f
2015-03-09Merge "Improve InCallUI fragment management"Yorke Lee
2015-03-09Improve InCallUI fragment managementYorke Lee
* Load some fragments on demand * ConferenceManagerFragment * DialpadFragment * Remove ConferenceManagerFragment from incall_screen.xml so that it is no longer loaded statically * Add helper methods to InCallActivity to facilitate dynamically loading fragments * Fix some bugs with fragment visibility and activity recreation Change-Id: I475e2302fae415817f06da209dd6484c89467480
2015-03-09Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ie3c36dfc79d576e5db2ada547e1076709a3ba57a Auto-generated-cl: translation import
2015-03-04Remove CircularRevealActivityYorke Lee
Replace CircularRevealActivity with a fragment that is tied to the lifecycle of InCallActivity so that InCallActivity is the only activity that is involved in the outgoing call process. Simplify some of the intent creation logic that is used to launch InCallActivity since we no longer need some of the flags that were currently provided via various method overloads in InCallPresenter.getAnimationIntent and getInCallIntent. To further simplify this CL, a very rudimentary approach is taken to track the state where we are starting up the UI but haven't received a call from Telecom yet. This is done by a boolean flag set on the InCallPresenter: mBoundAndWaitingForOutgoingCall. Further changes will build upon and improve this. Also set most elements inside primary_call_info.xml to visibility: GONE by default to fix some animation jank where a empty but not GONE view would continue to take up space. Change-Id: Ic70857685680af6868d4b2153d942d73eef3ca56
2015-03-02Import translations. DO NOT MERGEGeoff Mendal
Change-Id: Ica394a87ebc7fcb9af21a449b2b91918599a23f0 Auto-generated-cl: translation import
2015-02-27Remove unnecessary commentYorke Lee
Change-Id: I9112172bf9a5c9a236557e1a75264046f322e451
2015-02-23Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I24b20c6d169fe642dcceb61d356d0455c3031980 Auto-generated-cl: translation import