summaryrefslogtreecommitdiff
path: root/InCallUI
AgeCommit message (Collapse)Author
2014-08-27InCallUi image resource updates (mostly deletions).Andrew Lee
- Deleted a ton of assets which were no longer used. + Automirrored some assets so their rtl copies could be removed. Bug: 15862303 Change-Id: I8aa832eead1768c82741fbe97268ea44ba0fc9ff
2014-08-27Address API review comments:Makoto Onuki
- Rename isCorpContactId() to isEnterpriseContactId(). Bug 17253963 Change-Id: I053067387e65ea5f95fd59e4a372299d15638d4b
2014-08-27Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin
2014-08-26Merge "Setting SurfaceTexture buffer size for display and preview surfaces." ↵Tyler Gunn
into lmp-dev
2014-08-26Merge "Null protect maybeShowConferenceCallButton." into lmp-devAndrew Lee
2014-08-26Null protect maybeShowConferenceCallButton.Andrew Lee
Bug: 17274805 Change-Id: Id25b325e9d59b63632eb55c514af409555707b9d
2014-08-26Import translations. DO NOT MERGEBaligh Uddin
Change-Id: Ib79cc3d4208e00b55fac263085f1fd7c5c4dd3cf Auto-generated-cl: translation import
2014-08-25Merge "Add xxxhdpi icons for InCallUI." into lmp-devNancy Chen
2014-08-25Add xxxhdpi icons for InCallUI.Nancy Chen
Support xxxhdpi devices. Bug: 17212103 Change-Id: Id88c84e4abb5bd83daa19f8bc56bd2808cc183aa
2014-08-25Merge "Move "manage conference calls" button above photo." into lmp-devAndrew Lee
2014-08-25Merge "Swap in new icon for "held" call in InCallUi." into lmp-devAndrew Lee
2014-08-25Setting SurfaceTexture buffer size for display and preview surfaces.Tyler Gunn
When setting a surface for the Camera, it is important to ensure the buffer size is set before the surface is created. To fix this: The Surface passed to the Video Telephony layer is not created until the buffer size is set. The display surface buffer size is set when created. Setting the preview buffer size is deferred until the camera dimensions are received from the video provider. Bug: 16012946 Change-Id: I2130c029133ae6e5d670188e8d269ee6ac8bd675
2014-08-25Swap in new icon for "held" call in InCallUi.Andrew Lee
Not directly related to bug, but cleanup I noticed along the way. Bug: 15862303 Change-Id: I332597af836c073c4e6ae5f037cc033adf22e518
2014-08-24Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I24f44c37fd92b9a413ad7c01b38184855655fd16 Auto-generated-cl: translation import
2014-08-22Move "manage conference calls" button above photo.Andrew Lee
- Remove it from the CallButtonFragment. This meant that related logic was removed from CallButtonFragment/Presenter, and similar logic was added to the CallCardFragment/Presenter. - Delete old groups icons. (new ones added in ContactsCommon) - Delete the extra_button_row logic. + Replace extra_button_row with a dedicated "manage conference calls" button, and added to call card content layouts. + Style the new button to be similar to the secondary call info. Bug: 15862303 Change-Id: I2b4e1a3a30422c7d5e9c01479f13291a785d85f3
2014-08-22Merge "Minor string update to manage conference description." into lmp-devAndrew Lee
2014-08-22Minor string update to manage conference description.Andrew Lee
Bug: 15862303 Change-Id: I24e289281c2a45e8432ee3371fe32e15483bd554
2014-08-22Merge "Remove generic call merge button." into lmp-devAndrew Lee
2014-08-22Remove generic call merge button.Andrew Lee
We now use the same button component for merge. Formerly, it seems that it was included in the "extra button row" to accomodate the add and merge options both showing at the same time. Now, we handle this as an additional scenario for the overflow menu button. This is prework in order to be able to delete the extra button row, and add a different "row" for the conferece call manager. Bug: 15862303 Change-Id: I278ea17291d8daf3c5201116a10e3641b5deb4e1
2014-08-22Merge "Ensuring Video APIs are only called when video is available." into ↵Tyler Gunn
lmp-dev
2014-08-22Ensuring Video APIs are only called when video is available.Tyler Gunn
Bug: 17179079 Change-Id: I3b327250c181f821ec37d574ae804f8003d04603
2014-08-22Merge "Remove unneeded dialpad strings from InCallUI" into lmp-devYorke Lee
2014-08-22Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin
2014-08-21Remove unneeded dialpad strings from InCallUIYorke Lee
They have been moved to PhoneCommon. The current ones in InCallUI were clobbering any changes made in PhoneCommon. Bug: 17069720 Change-Id: I38afcdcd29d26f67f4e07247024e3bb44bdafc8a
2014-08-21Merge "Fix parentID for conference call support." into lmp-devSantos Cordon
2014-08-21Fix parentID for conference call support.Santos Cordon
Fix and add some logging. Bug: 17136172 Change-Id: I5ce30d09bbc82f00ac225406fa0998ce6ecd776f
2014-08-21Merge "Add accessibility announcements for call state changes" into lmp-devYorke Lee
2014-08-20Add accessibility announcements for call state changesYorke Lee
* Add new accessibility-related strings * Create and send accessibility events as necessary when a button's state changes Bug: 17147682 Bug: 17144849 Bug: 17161247 Change-Id: Ib1637993c644c4f159e850bdb9d54e0f00d3a68e
2014-08-19Move hold "bar" to the bottom of the screen.Andrew Lee
+ Adjust FAB positioning scenarios; scale in and out instead of translating when showing/hiding. + Translate FAB depending on whether secondary call info is shown. Bug: 16399233 Bug: 15862303 Change-Id: Ibbf89f717a38f2ed6d4d995544e290da4d4d7462
2014-08-19Merge "Adjust SIM icon tint and fix InCallUI glitches for call state icon." ↵Nancy Chen
into lmp-dev
2014-08-20Adjust SIM icon tint and fix InCallUI glitches for call state icon.Nancy Chen
Default SIM icon tint should be the same as the color of the call state label. Fixed animation for call state icon. Bug: 16685783 Change-Id: Ie170027e0a14096442fb78c8e6d8b469aa03b51d
2014-08-20Merge "Circle reveal for account selection dialog and check for valid ↵Nancy Chen
account." into lmp-dev
2014-08-20Circle reveal for account selection dialog and check for valid account.Nancy Chen
Touch animation reveal should happen from where the user touches the screen. This change deals only with the account selection dialog case (and should be the last one). Also if phoneAccountSelected in TelecommAdapter is called with an empty accountHandle, log an error. Bug: 17124195 Change-Id: I381ec7e377ee3be981c4e8b63b5253d75561b6bf
2014-08-19Merge "Ensure the InCallUI does not reanimate when it already is shown." ↵Nancy Chen
into lmp-dev
2014-08-19Ensure the InCallUI does not reanimate when it already is shown.Nancy Chen
Closely restrict the cases where the InCallUI is initialized. Bug: 16898291 Change-Id: I78be81f140b8de24fdd4a27cdf0aa01c6a230e3a
2014-08-18Merge "Add theme color for notifications (4/4)" into lmp-devYorke Lee
2014-08-19Add theme color for notifications (4/4)Yorke Lee
Bug: 17129072 Change-Id: I4cf78580a0cbab93a2362d564a3454c81d596d95
2014-08-18Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I2ecea7523a1085055ecdbc0358248e53266c7e95 Auto-generated-cl: translation import
2014-08-16Merge "Fix for overlapping call state label" into lmp-devYorke Lee
2014-08-18Fix for overlapping call state labelYorke Lee
Canceling the animation is not enough to force a redraw of the call state label. Set the text to null instead. Bug: 17073203 Change-Id: Ib731e18a0d2311c0cf9f41953fadfa4ec019310c
2014-08-16Merge "Asset swap for InCallUI" into lmp-devYorke Lee
2014-08-18Asset swap for InCallUIYorke Lee
Bug: 17112104 Change-Id: I85ec1fda31ce626368c722c4de95f558b0b523d7
2014-08-16Merge "Position/size adjustments to the floating action button." into lmp-devAndrew Lee
2014-08-18Fix parentID for conference call support.Santos Cordon
Bug:16844332 Bug:16449372 Change-Id: I815df3aa8c2cf9db5dd20d670a64e3fd59493f56
2014-08-15Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I3e7adbb6b509004b55fe510be8ddbb8f5b63c50b Auto-generated-cl: translation import
2014-08-15Position/size adjustments to the floating action button.Andrew Lee
+ Use new theme color for dialpad tints. + Translate FAB higher and make it 128% scaled in InCallUI. + Add methods so that dialpad is shown/hidden, FAB transitions to/from its normal position and normal scale. + Translate button in/out when enabled/disabled. Bug: 16399233 Change-Id: Ia8f56f494a89927c25657a75cfcca147c34c6c98
2014-08-15Merge "Do not show error for a canceled call." into lmp-devSantos Cordon
2014-08-15Do not show error for a canceled call.Santos Cordon
Bug: 17067923 Change-Id: I89bcd3fd743da544957bc2af59126edf5a44548b
2014-08-15Prevent ConcurrentModificationExceptionsJay Shrauner
Use sets backed by ConcurrentHashMaps instead of HashSets, and CopyOnWriteArrayLists instead of ArrayLists, to prevent concurrent exceptions if listeners try to remove themselves in callbacks while iterating over the listeners. Bug:16325026 Change-Id: Ia86f5cafa1d844aa7927df8ff9b02b5574bdde2b
2014-08-15Fix NPE in InCallUIYorke Lee
If there is no call for some reason, just ignore the touch point. Bug: 17065151 Change-Id: Ib208e08465cf8247d3fded6df323c66ccf7778d8
2014-08-14Merge "Prevent ConcurrentModificationExceptions" into lmp-devJay Shrauner
2014-08-14Prevent ConcurrentModificationExceptionsJay Shrauner
Switch from HashSets to Sets backed by ConcurrentHashMaps, and from ArrayLists to CopyOnWriteArrayLists, to prevent exceptions when listeners remove themselves in their callback while iterating through the set or list. Bug:17030803 Change-Id: I99511e56d77526796679e2840437d0ea47062830
2014-08-13Reveal InCallUI starting from the user's touch pointNancy Chen
InCallUI expanding circle should start where the UI made the call. Bug: 16396523 Change-Id: I1c7775fcbe684a51376f5a1b744bdd06f26e7bbf
2014-08-13Final structural tweaks to Telecomm API (3/8)Ihab Awad
Bug: 16416927 Bug: 16494880 Change-Id: If756941a5bdd25ff8ac633a56fe90c894d4a46a4
2014-08-12Merge "Correcting dialpad animations in landscape (2/3)." into lmp-devTyler Gunn
2014-08-12Correcting dialpad animations in landscape (2/3).Tyler Gunn
1. Fixed slide in/out animations for RTL locales. Bug: 16463723 Change-Id: I526efec7795c891cbb4fa27776bb8be7d26ac114
2014-08-11Merge "Improvements to InCall UI view inflation performance." into lmp-devTyler Gunn
2014-08-12Improvements to InCall UI view inflation performance.Tyler Gunn
1. Flattened the view hierarchy to remove a few layers of nested frames. Removed call_card.xml since it was essentially just nested frames. 2. Deferring inflation of the dialpad until it is actually needed. Bug: 16594582 Change-Id: I34a03dc3d95431bd0ba1d784a64ae3929f240d46
2014-08-12Fix build.Andrew Lee
Change-Id: Ic0d22fe4aeebc676b77ed5d184b6b906d9798e63
2014-08-11Merge "Hookup StatusHints to call state label" into lmp-devSailesh Nepal
2014-08-12Add UI/functions to handle a video upgrade request.Andrew Lee
+ Move session modification listener into the video call presenter. + Add new video accept/reject notification and full-screen UI. + Added "handling" which sends session modification response. Bug: 16657915 Change-Id: I35ff04e383d4938cbfb4e76677730f82557fd918
2014-08-12Hookup StatusHints to call state labelSailesh Nepal
This CL hooks up StatusHints to the call state label. This is used by Hangouts to show WiFi calling and handoff status. This CL also fixes a bug where the callback number was not displayed for non-emergency numbers. Bug: 13333680 Change-Id: I012967a0ccbffe87f1a365e2e3537b2f1d832501
2014-08-12Merge "Import translations. DO NOT MERGE" into lmp-devBaligh Uddin
2014-08-11Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I48af5e60291942c911e9e25d5870eacb19e01e2f Auto-generated-cl: translation import
2014-08-11Merge "Reduce latency for InCallUI by adding an intermediate state" into lmp-devNancy Chen
2014-08-11Reduce latency for InCallUI by adding an intermediate stateNancy Chen
Add PENDING_OUTGOING as a state where the Telecomm information has not yet returned but the UI has started. This allows the UI to immediately begin initiating while Telecomm is waiting for the return of its broadcast intent. Bug: 16396523 Change-Id: Ia4b39689b89f9dea3aafae9e63ca0bfebb730501
2014-08-11Merge "Talkback should read call state when receiving incoming call" into ↵Yorke Lee
lmp-dev
2014-08-10Talkback should read call state when receiving incoming callYorke Lee
Bug: 16355803 Change-Id: I31b1065a2d7fb13a9e34244143fbe89d921937bd
2014-08-09Merge "VT preview camera setup. (2/2)" into lmp-devTyler Gunn
2014-08-08VT preview camera setup. (2/2)Tyler Gunn
Changing the means by which the preview camera is set for video calls. Previously, an assumption was made that as soon as the camera is set on the provider, the camera capabilities would be returned. Changed so that instead the InCall-UI will explicitly request the camera capabilities after the camera is set to match the original intended camera setup flow. Change-Id: I6992e68e1efc0d8abf017fdc62f932bd0b9fce03
2014-08-08Rename Internet call to SIP callJay Shrauner
Bug:16792822 Change-Id: I17a2d8e7b7de60e0cda2beee80ebc8f2bb74b7d9
2014-08-06Merge "Correctly transmit dialpad visibility to updateExtraButtonRow" into ↵Yorke Lee
lmp-dev
2014-08-06Correctly transmit dialpad visibility to updateExtraButtonRowYorke Lee
State of the dialpad's visibility is not correct until the fragment transaction is complete. Use the checked state of the dialpad button instead as a future indicator. Bug: 14493250 Change-Id: I05d68096e2e7897c78467ad107e815f7005b81a8
2014-08-06Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I4e3b39c80f3724edce0692226f799ca3587d6993 Auto-generated-cl: translation import
2014-08-06Add setConferenceable() API from ConnectionService to incall. (3/4)Santos Cordon
Change-Id: I64fdca08d35f893d755e3b154543a261b1418343
2014-08-05Finalize implementation of Remote Connection Service (3/4)Ihab Awad
Change-Id: I24afd20c371df7ada752f33584fd7cfb7630a351
2014-08-04Merge "Make name label not scale with text size" into lmp-devYorke Lee
2014-08-06Make name label not scale with text sizeYorke Lee
The name is already displayed in a large enough text size that it doesn't need to scale up in large text font. This gives the dialpad more space so that text is not clipped. Bug: 15859030 Change-Id: I06ffe4463ce98c97fd829d5db7a59d0c631e6c2a
2014-08-05Merge "Set correct interpolator for dialpad animation" into lmp-devYorke Lee
2014-08-06Merge "Remove hardcoded audio route in video provider." into lmp-devSantos Cordon
2014-08-05Remove hardcoded audio route in video provider.Santos Cordon
The video provider always calls exitVideo() and as a result always sets the audio mode to EARPIECE when any call starts, negating any automatic setting done by telecomm (like bluetooth). This change has three items: 1. Only set the audio mode if we are exiting a previously entered video call. 2. When setting audio on exit, set it to the mode that was previously saved when the video call was entered. 3. Convert usages of the private AudioMode to the public CallStateAudio. Change-Id: I484ea8fadc9b7cf43692b517c97f906918fc49f8
2014-08-05Set correct interpolator for dialpad animationYorke Lee
Bug: 16659277 Change-Id: Ia8c61220b9278105a59894d326f55fcd309eb5db
2014-08-05Merge "Send a stopDtmf() on click for talkback." into lmp-devSantos Cordon
2014-08-06Send a stopDtmf() on click for talkback.Santos Cordon
Bug: 15921080 Change-Id: I89f5c9da7dec1fe9af4cd85cb541020741eb1354
2014-08-06Merge "Remove ldaps from AOSP code." into lmp-devSantos Cordon
2014-08-06Remove ldaps from AOSP code.Santos Cordon
Bug: 16327484 Change-Id: If4678281e2da1f1c7f0bcb91d496f1fd371be536
2014-08-01Merge "Swap out FAB background" into lmp-devYorke Lee
2014-08-04Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I83b0b7d5cdc7e1f3ed5cbe9a5711a9d9b0caa2b1 Auto-generated-cl: translation import
2014-07-31Swap out FAB backgroundYorke Lee
Bug: 16353999 Change-Id: I1b9895ada47c307dafdbf7457e84f2e631e27607
2014-07-31Change audio to speakerphone for video call.Andrew Lee
+ some minor cleanups with naming and listeners. Bug: 16679238 Change-Id: Ic89b862b035ce6c99d8d7ec0fe5842b6a4b20ac4
2014-07-31Status labels for video calls.Andrew Lee
- Display the appropriate status labels for video calls, mostly depending on whether one is in a video call, and whether one has requested video and is waiting for a response, or a video request has failed. - Add a handler to the CallCardPresenter, so we can show an error message in the fail case, but only show the message for a time. - Add video icon in layout. - Renamed CallVideoClientNotifier to reflect newer nomenclature. - Add session modification state information on InCallUI call. This helps us track state to know what strings to display on the card. Bug: 16013340 Change-Id: Ib2bf84d93a05664adbf7fe838848b7d7b54a8254
2014-07-29Merge "Fix activity leaks in InCallUI" into lmp-devYorke Lee
2014-07-30Fix activity leaks in InCallUIYorke Lee
We were holding a reference to anonymous inner classes in CallCardPresenter in an static instance of ContactInfoCache, which was causing activity leaks. Refactor ContactInfoCacheCallback into a static inner class so that this fixes the problem. Bug: 16657866 Change-Id: I4da5cecd556f80fafd27f919b0aaa7f00b2a96f5
2014-07-30Import translations. DO NOT MERGEGeoff Mendal
Change-Id: I6b5236e62d875f9fa4f37cc3f974c823ff68b388 Auto-generated-cl: translation import
2014-07-29Merge "Update InCallUI colors for top toolbar and dialpad digits" into lmp-devNancy Chen
2014-07-30Update InCallUI colors for top toolbar and dialpad digitsNancy Chen
Switching from teal to light blue. Bug: 16356911 Change-Id: Ia1c84aadcc5f32645d144a5dc3bc41d5a19e012a
2014-07-27Merge "Various changes." into lmp-devTyler Gunn
2014-07-29Various changes.Tyler Gunn
1. Add InCallCameraManager to track active camera and manage camera capabilities. 2. Use new camera manager in CallButtonPresenter instead of directly accessing camera. 3. Implemented new camera setup flow between incall and telephony. 4. Landscape video call support (actively rotating while video is running crashes InCall at the moment, but you can start it in portrait or landscape fine). Includes ensuring layout works properly with RTL locales. 5. Added progress spinner to CallCardFragment, useful to show when an upgrade to video is pending. Bug: 16012946 Change-Id: Iff33422eec3a92d8cbeb217f5be2f1c9c5f3e98d
2014-07-28Import translations. DO NOT MERGEBaligh Uddin
Change-Id: I0e0501dd79dca14ad479416b1c865e27a8c20ede Auto-generated-cl: translation import
2014-07-24Merge "Update VideoCallProfile.VideoState references." into lmp-devAndrew Lee