summaryrefslogtreecommitdiff
path: root/InCallUI/res/drawable-hdpi
AgeCommit message (Collapse)Author
2017-03-01Update dialer sources.Eric Erfanian
Test: Built package and system image. This change clobbers the old source, and is an export from an internal Google repository. The internal repository was forked form Android in March, and this change includes modifications since then, to near the v8 release. Since the fork, we've moved code from monolithic to independent modules. In addition, we've switched to Blaze/Bazel as the build sysetm. This export, however, still uses make. New dependencies have been added: - Dagger - Auto-Value - Glide - Libshortcutbadger Going forward, development will still be in Google3, and the Gerrit release will become an automated export, with the next drop happening in ~ two weeks. Android.mk includes local modifications from ToT. Abridged changelog: Bug fixes ● Not able to mute, add a call when using Phone app in multiwindow mode ● Double tap on keypad triggering multiple key and tones ● Reported spam numbers not showing as spam in the call log ● Crash when user tries to block number while Phone app is not set as default ● Crash when user picks a number from search auto-complete list Visual Voicemail (VVM) improvements ● Share Voicemail audio via standard exporting mechanisms that support file attachment (email, MMS, etc.) ● Make phone number, email and web sites in VVM transcript clickable ● Set PIN before declining VVM Terms of Service {Carrier} ● Set client type for outbound visual voicemail SMS {Carrier} New incoming call and incall UI on older devices (Android M) ● Updated Phone app icon ● New incall UI (large buttons, button labels) ● New and animated Answer/Reject gestures Accessibility ● Add custom answer/decline call buttons on answer screen for touch exploration accessibility services ● Increase size of touch target ● Add verbal feedback when a Voicemail fails to load ● Fix pressing of Phone buttons while in a phone call using Switch Access ● Fix selecting and opening contacts in talkback mode ● Split focus for ‘Learn More’ link in caller id & spam to help distinguish similar text Other ● Backup & Restore for App Preferences ● Prompt user to enable Wi-Fi calling if the call ends due to out of service and Wi-Fi is connected ● Rename “Dialpad” to “Keypad” ● Show "Private number" for restricted calls ● Delete unused items (vcard, add contact, call history) from Phone menu Change-Id: I2a7e53532a24c21bf308bf0a6d178d7ddbca4958
2016-04-11Add resources for after call spam notification.Sarmad Hashmi
+Block icon from https://icons.googleplex.com/#icon=ic_block +Person add icon from https://icons.googleplex.com/#icon=ic_person_add +X icon from https://icons.googleplex.com/#icon=ic_close +Report icon from https://icons.googleplex.com/#icon=ic_report +Question mark icon from @ycnzhao +Added spam_notification_icon for the large icon in notifications for first time spam calls +Added unknown_notification_icon for the large icon in notifications for first time calls (from any number) +Added strings for after call notifications +This is the same as ag/919969, we decided to move the after call spam notification stuff to the AOSP dialer BUG=27323295 Change-Id: I0aaabd8d2dbefeda5214481ce6315335e64c3c28
2015-10-22Merge "Remove unused InCallUI drawables" into ub-contactsdialer-a-devYorke Lee
2015-10-22Remove unused InCallUI drawablesYorke Lee
Change-Id: I702c3a57913bb9f03c167732334f103d58f01c95
2015-10-21Add hours of operation info to incall business context.Nancy Chen
Display hours of operation information if it is available. If hours of operation are available, also determine whether it is currently open or closed. Display in the InCallUI when making a business call. Also add tests to make sure that the business context object is constructed correctly. Bug: 23351559 Change-Id: Ic2846e54e15ade37ccf0b916651cc3388da3cc23
2015-10-12Add location information with business caller ID.Nancy Chen
Display business address and distance when available when calling businesses. This information is only displayed during outgoing calls and while in the call. Bug: 23351559 Change-Id: Ifb9197cc3abf6d865e13de10862c610e8aa15fba
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-05-07Adjust HD and WFC icons.Andrew Lee
Adjust sizes, assets, and positionings. Bug: 20338455 Change-Id: I3913eb60cf1c05f8a89208f9c0247ffcc3e1ec27
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-02-18Show icon and network label when using Wifi.Andrew Lee
+ Add Wifi icon and network label, to be shown when CAPABILITY_WIFI is present on the primary call. Assume we can infer the network label from the connection info returned by the WifiManager, supposing that the phone can only be connected to one wifi network. + Add helper to strip quotation marks from wifi network name. + Reposition HD audio icon beneath the name, and to the left of the number/location information. + Adjust assets and layout of call state and hd audio icons, to center them in a more visually pleasing way in the view. Bug: 19151850 Change-Id: Ic23d1e744960e80b65bc34a8e709266af508fe21
2014-12-02Show HD audio icon.Andrew Lee
Leveraging the same mechanism we use for indicating subscriptions. I don't think we have any cases where we need to show more than one icon for the moment; we can add functionality to show more if its necessary later. Bug: 18103173 Change-Id: I1134f6114e17d4492276dc4e19c4746fc38a3ab7
2014-09-22Update InCallUI for "generic" conference calls.Andrew Lee
+ Use the newer "phone" asset (same as emergency calls). + Add xxxhdpi phone asset. - Remove unused assets. + Tint the subscription icon properly in secondary call info. + Reorganize listeners in CallCardFragment to be less redundant, and so FAB is properly positioned above the secondary call info. Bug: 17581379 Change-Id: Id4f1c1659ab8c17313cdd0393be51954b5cd449a
2014-08-27Merge "InCallUi image resource updates (mostly deletions)." into lmp-devAndrew Lee
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-27Restyle conference call manager screen.Andrew Lee
+ Swap out/in new assets for end/split icons in the manager screen, and the splash screen in the InCall screen. - Removed unused conference call manager code, including things like chronometer and the "done" button. + Replaced custom action bar in conferece call manager with standard action bar. + Added contact image (does not open quick contact) in the list of calls in the conference call manager. This is done with a lookup using the contact photo manager, and required adding the lookup key to the ContactCacheEntry. + Handled a missing Call.State case in CallCardFragment for calls with state CONFERENCED which caused crashes. + Misc style changes on conference call manager: colors, sizes, paddings. + Adjusted elevations so dialpad covers manager/secondary buttons. + Added ripple to manager/secondary buttons. Bug: 15862303 Change-Id: Iab9b6421d5a1ea69cd951a459d46c065f9456a8f
2014-08-25Merge "Move "manage conference calls" button above photo." into lmp-devAndrew Lee
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-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-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-18Asset swap for InCallUIYorke Lee
Bug: 17112104 Change-Id: I85ec1fda31ce626368c722c4de95f558b0b523d7
2014-07-31Swap out FAB backgroundYorke Lee
Bug: 16353999 Change-Id: I1b9895ada47c307dafdbf7457e84f2e631e27607
2014-07-17Massive icon update/cleanup.Andrew Lee
- Added a number of new icons for toolbar, specifically for video. - Deleted a number of unused drawables. Bug: 16355221 Bug: 16014280 Change-Id: I9aa08cbb16fe3ee32eac6940801175732fdfc46e
2014-07-16Add video call handling for heads up notifications.Andrew Lee
- Add isVideo method to the InCallUI call. - Added cases and actions for isVideo to StatusBarNotifier. - Added cases for isVideo for processing incoming call in the full-screen experience in AnswerPresenter. - Did what I figured would be some cleanup, to consolidate some helper methods only ever called once, and reorder some methods to be more alphabetical. - Added new intent type for video calls (and revised old one for audio calls), which are dispatched by the StatusBarNotifier and received by the InCallApp. - Update icons used, and deleted unused icons. Bug: 16013878 Change-Id: If0a8d04e2ee6eaf8258ce6a677b22d55a584f9ab
2014-07-15Show different glowpad options for incoming video call.Andrew Lee
- Refactor code be more flexibile/specific in specifying the targets for the glow pad; went from "n-way" labeling of different target sets to more explicit labeling of scenarios, such as "audio without sms". - Add target sets and cases for showing targest in AnswerFragment. - Added new drawable for the target to answer a video call. - Add method to GlowPadView to allow changing the handle (now it may be either a videocamera or phone icon, depending on the scenario). - Add a new video handle for incoming video calls. - TODO: Hook this up to show these glowpads if there is an incoming video call. - Deleted some unused resource files. Bug: 16015750 Change-Id: I77ff08f45f57cd2817866b5d78648af8891bb675
2014-07-11Remove bluetooth icon from call state banner and change toolbar carrotNancy Chen
The call state banner icon will only be used for call provider/wifi icons so the incoming bluetooth icon needs to be removed. Also the 45 degree carrot is being replaced by the downward carrot. Bug: 15767934 Change-Id: I4ff01eba32fe65c05dcb099cb4fe8092ec2b64ef
2014-07-02Remove handoff UISailesh Nepal
This CL removes handoff related UI and implements phoneAccountClicked Change-Id: Iab1595faaadcdfe428d97891d314babea21e9633
2014-06-04Update InCallUI with new assetsNancy Chen
Icons are all renamed from ux-assets folder to original name in repository. Bug: 15411375 Change-Id: I34776e756fb0d02d6a1ae537816ce5a891d5f31a
2014-05-22Remove dual-state icons for call buttons.Andrew Lee
Per discussion with design, it'll be simpler to just have one icon which does not toggle/change on state (besides color accent). Bug: 15165717 Change-Id: I2856c403b549e734e8f6c55b5be65f9a337730d6
2014-05-20Replace merge/swap icons in InCallUI.Andrew Lee
Change-Id: I721dbfcac28add9f5cea4326a0cefb5384fa44a6
2014-05-16Fix InCallUI crashYorke Lee
Workaround for missing drawables for densities lower than xxhdpi. The drawables will appear to be scaled wrong but this fixes the crash in InCallActivity. Bug: 15005741 Change-Id: I0dfb6f0ea50caa393dd85a3ef7ec7dd959179af5
2014-05-14resolved conflicts for merge of 500e399c to masterEvan Charlton
Change-Id: I7cc16e713bb142450c7689942097110bde404b54
2014-05-14resolved conflicts for merge of 36b5e5f9 to masterEvan Charlton
Change-Id: I66befab929f19a53e3466f55f78c99f9afda047e
2014-05-09Change tints, backgrounds on incoming call icons.Andrew Lee
- Also tweaked icon tints for the InCall buttons, to make them less prominent in the disabled state. - Strengthened the logic around setting the audio button's enabled state in the call button fragment. Before, updateAudioButtons() was setting the audio button to be enabled after setEnabled(false) was called on the fragment, causing it to be set to disabled notably later than the other buttons. Bug: 14658215 Change-Id: I68145fcc7420713e492e96b6c6a636fad9047ed1
2014-05-09Update icons and dimensions for the InCallUI.Andrew Lee
- Swapped in new icons, and deleted old icons. - Made the diameter of the glowpad smaller, and deleted unused constants. Bug: 14658215 Change-Id: I9cf69043270214ac71810d8be393c16dfcd2787b
2014-05-09Change icon and background for end call button.Andrew Lee
Not removing end call icon yet; will after removing icon from the glowpad for the incoming call. Bug: 14108639 Change-Id: I0b7fd29dd3bb9b0d6204c85fec1379c3211ec483
2014-05-09Change toolbar icons in the InCallUI.Andrew Lee
Also, some slight fixes on the "add call" button so that it's ripple is properly constrained to the circle, and so that the mute button is not toggled when mute has automatically been invoked. Bug: 14108639 Change-Id: I1a23111a212a1f7f86ffde734b195f0bd9350741
2014-05-01Consolidate buttons to use more common drawables.Andrew Lee
- Work is to facilitate styling selected button states to QP spec. - Change buttons to use btn_compound_background instead of the _fake_ version. - Deleted now-unused assets. - Changed btn_compound_background to use common action tab drawables. - Switched the dialpad button from a ToggleButton into an ImageButton, so that all the call buttons can use the same background. Technically, ToggleButton is more precise, but ImageButton is sufficient for behavior, and allows me to switch the state casing in the drawable to use state_selected instead of state_checked. Bug: 14108639 Change-Id: If6ebf05e51648a09307bf37926efb3670f55ba55
2014-02-18Revert "Add handoff buttons"Sailesh Nepal
This reverts commit 36b5e5f96678bafc325491d5294b2d97e0a0e499.
2013-12-17Add handoff buttonsSailesh Nepal
This CL adds two buttons to the in call UI: - video handoff - switch to video mode - connection handoff - switch between wifi and cell Change-Id: I42a36d22dc0a37d1ed00f1a3ab1ebcb53c35864c
2013-10-17Merge "Removes private resources from InCallUi" into klp-devChristine Chen
2013-10-16Replaces Messaging app icon with default sms iconChristine Chen
Bug: 11255364 Change-Id: If5cc1284602f94e5b43af79607045b7a230e00e5
2013-10-16Removes private resources from InCallUiChristine Chen
Bug: 11244110 Change-Id: I88471a7d1e164ac7e464f199f1c0c36fa3c0876f
2013-10-01Default to business avatar for businesses without an image.Chiao Cheng
Bug: 10988291 Change-Id: If06f30fdc6d12d1abcb20cd7a10b8d80a02ab22b
2013-09-23Replace blue highlight feedback with gray.Rob Tsuk
Change-Id: I821300c76e0c97e9998796a87c88a9bc55e89e84
2013-09-17Outgoing/Conference UI changes for Cdma supportSantos Cordon
Changes: - rename Cdma* to Generic* in code - Stop showing "manage conference" for generic_conference cases - Show simple "merge" button for generic_conference cases - Add generic icon/name label for generic conference calls - Do not submit a contact info request for any conference call sincle they always display generic information (this also fixed some jank of the image flipping back and forth between generic and normal conference call).o bug:10769004 Change-Id: I379895612614483f7f3ea6fef493796ea855743b
2013-09-13Changes how end call button looksChristine Chen
Bug: 10491107 Change-Id: Ia8b93314d51ba1133447ba1a8ec00e36853ead02
2013-09-12Addes xxhdpi assets for InCallUiChristine Chen
- Changes how End Call button looks. Bug: 10491107 Change-Id: I02271ba346a8879b4642f4a642513211d2a328fc
2013-09-06Adds manage conference call UIChristine Chen
Bug: 10334739 Change-Id: I46a52ec967a1c496dd4b797f2064d9099670711f
2013-08-15Add logic support for manage conference screen. (Part 2 of 4)Santos Cordon
Changes: - Add conference call resource photo - Move logic to determine the name/numbers to show in the Call card from CallCardFragment to CallCardPresenter. - CallCardPresenter now tells CallCardFragment if the primary call is a conference call. - Updated the primary/secondary call order do that Active Calls are primary instead of Disconnected calls when both exist. - Cleaned up some excessive logging. - The CallCard code uses a whitelist to know which callcard to show. The change in services/Telephony to add CONFERENCED state is what causes the new child calls to now show since that is not added to the whitelist in this CL (by design). bug: 10334739 Change-Id: Iaeab3f8bc9bda7693fa4a27bb8d3fe5de4dc9dfc
2013-08-12Add basic call information to the notification.Santos Cordon
Change-Id: I33bc1445e9fc515b68205a12d7297a8f3013fecd
2013-08-09Adding hangup capability to in-call notification.Santos Cordon
Change-Id: I7ba4dd0824f41d9989e36bff10fbfca68596134e
2013-08-08Add support for more call state labels.Santos Cordon
Add remaining call-state UI for the callstate label. Include some bluetooth logic to show an icon for incoming calls. Change-Id: Iecd9b06fb58baf38f665e70e34014c8026d80f68 (cherry picked from commit 946291cb1bb0ec3b4b7f2939fd93dff15627403d)
2013-08-07remove video buttonSantos Cordon
Change-Id: I4d97ccfb567bf196376ed963b5890c73aa3742fe
2013-08-07Audio Routing support in UISantos Cordon
Changes: - AudioModeProvider - receives audio mode changes from CallHandlerService - CallButtonPresenter listens to AudioModeProvider so that it can use those changes in the UI. - CallButtonFragment uses the audio mode from Presenter() to display: - The correct layers for the supported modes - The popup menu when bluetooth is enabled Change-Id: I8ec4024f7bbb5e3b1cfdaae20a4dd2f85ae802cf
2013-08-06Dialpad Ui elements for InCallUiChristine Chen
Change-Id: I7b230cc46993493459923c436a643910026cf6a6
2013-08-05Notifications in Phone (part 1)Santos Cordon
- Added StatusBarNotification class to handle notifications - StatusBarNotification has tons of copied comments from NotificationMgr.java. Also has minimal code to make the notification pop up (without call-specific data). - Moved the UI start-up code from InCallPresenter to StatusBarNotification. Incoming phone calls need to display an alert above immersive (fullscreen) foreground activities and the way to do that is through notifications. The old phone app did the same thing...finally bringing over that functionality. Change-Id: I3324503e0d7bb1de00d8e7fab72d4b40519491dd
2013-07-22Adding call card and buttons to UI.Chiao Cheng
- Created a fragment for call card and a fragment for UI. - Adding corresponding button images. Change-Id: I5facacd3a4346ab9d9ec2a67a2742dc27dbf5583
2013-07-17Adding in call screen template.Chiao Cheng
Along with glow pad for incoming call interaction.. Change-Id: I8d518b5247bee4a10c8fd06763a7e3fe6cff5652