summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Assign background ID to overflow button.staging/cm-12.1Danny Baumann2015-03-271-1/+2
| | | | | | Without it, the SIM color won't be applied to its background. Change-Id: Iac8bb5fcd19dc50dfe4ea946859a1140e4193562
* Merge branch 'lollipop-mr1-release' of ↵staging/cm-12.1-testSteve Kondik2015-03-25106-3490/+1790
|\ | | | | | | | | | | https://android.googlesource.com/platform/packages/apps/InCallUI into cm-12.1 Change-Id: I7d550c092380b050f7cbc714006bc4ed94b08a56
| * Import translations. DO NOT MERGEGeoff Mendal2015-01-281-1/+1
| | | | | | | | | | Change-Id: I90714357d8a8507d7505758afdae0883a5e85717 Auto-generated-cl: translation import
| * Merge "Remove padding from call buttons to fix undesired cropping." into ↵Nancy Chen2015-01-202-9/+0
| |\ | | | | | | | | | lmp-mr1-dev
| | * Remove padding from call buttons to fix undesired cropping.Nancy Chen2015-01-162-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Padding was added to the sides of the call button row in order to prevent false touches. However, this additional padding causes cropping of the background on the two buttons on the far left and far right when all 5 buttons are present on low resolution devices. Since on high resolution devices there is more than enough extra space on the left and right, this padding is being removed to eliminate cropping. Bug: 18122087 Change-Id: Ie948d9cbe4ef7025702ae1f4666354ab1be76bbc
| * | Import translations. DO NOT MERGEGeoff Mendal2015-01-1972-592/+16
| |/ | | | | | | | | Change-Id: I489439c981d6dca20352208406491bcfdfd89354 Auto-generated-cl: translation import
| * Improve call button accessibility.Andrew Lee2015-01-135-45/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Convert Audio Button into a ToggleButton, and update its content description depending on whether its acting as a toggle for speakerphone, or if it's acting as a menu button to select from more than two audio output modes. + Set custom style on ToggleButtons with null background, to override the default ToggleButton styling which was causing shadows. - Delete CallToggleButton, which did some hacky things with the content description and accessibility. - Delete helper method which abused TYPE_ANNOUNCEMENTS. Rely on default TalkBack behavior for ToggleButtons to read on click. - Delete unused accessibility strings. The states these were formerly read out for will now be handled by a combination of button labels and default TalkBack behavior. The UI (without TalkBack) behaves the same after these changes. The behavior with TalkBack after these changes is that the audio (when toggling for speakerphone), mute, and hold buttons will generally read "speaker/mute/hold button (not) checked" when explored by touch depending on their state. They will read "speaker/mute/hold" when clicked. If more than two audio modes are supported, the audio button will read "<mode> button checked", where <mode> can be speaker, bluetooth, handset, or earpiece. When clicked, it will open the audio pop up menu and read that there are # options displayed on the screen. This is combines the ToggleButton and PopupMenu Talkback behavior, since this is a custom widget. Bug: 18783204 Change-Id: I27363c697bb018b5f87ad2e27678f8db6d93b2e7
| * Merge "Tidy up text alignments for secondary call info." into lmp-mr1-devAndrew Lee2015-01-091-1/+2
| |\
| | * Tidy up text alignments for secondary call info.Andrew Lee2015-01-091-1/+2
| | | | | | | | | | | | | | | | | | | | | This fixes bad alignment in RTL languages. Bug: 18009146 Change-Id: I8691b5e017363158c6933f4b4e55c2c16ca3a2ac
| * | Read enabled/disabled state for InCall buttons.Andrew Lee2015-01-071-6/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Add CallToggleButton which ignores the content description so that we can substitue our own strings to be read by Talkback when the user clicks on buttons. + Convert ImageButtons with two states into ToggleButtons, so that when focused Talkback automatically reads out their states. For example, now it will read "Mute switch is (not) checked". This required updating some casts and references in the fragment. + Set baselineAligned property for call buttons to false. Because ToggleButtons could have text, it was attempting to align by text baselines which messed with the layout. - Remove a compound button listener which is not used. Bug: 18783204 Change-Id: I0b23f5f63a2bf7c34a34077a75a23ea92dc45bbc
| * Support RTL in InCall call card.Andrew Lee2014-12-121-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | + Specify "START" text alignment for call state label and the name. + Specify "END" text alignment for the elapsed time. + Make the elapsed time view expand to take the parent's width, instead of the number and location label's parent view. + Switch elapsed time text alignment to START if the number and label view is hidden. Bug: 18716511 Change-Id: I6d2ef5fe8a4364d42fb0438541e00ecce3daeaab
| * Removing "windowNoTitle" style attribute for InCallScreen.Tyler Gunn2014-12-091-1/+0
| | | | | | | | | | | | | | | | | | This was preventing the actionBar from being initialized and used by the Conference Manager. The actionbar would come back null in the InCallActivity. Bug: 18675877 Change-Id: I442fea79ee64fbadf26f957fd84c1492eefa8dbe
| * Merge "Improve outgoing call UI responsiveness" into lmp-mr1-devYorke Lee2014-12-052-1/+44
| |\
| | * Improve outgoing call UI responsivenessYorke Lee2014-12-042-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Start InCallUI immediately once Telecom binds * This CL is a bandaid for improving outgoing call responsiveness in the MR1 timeframe. Refactoring InCallActivity into dynamically added fragments and modifying its lifecycle with respect to the call list is too risky. * Add a lightweight activity (CircularRevealAnimationActivity) that is used to display the circular reveal animation while the significantly heavier InCallActivity is starting up * Inside InCallServiceImpl.bind, start the reveal animation once bind is called to avoid being blocked by any synchronous work in Telecom. * Refactor CallCardFragment.animateForNewOutgoingCall to conditionally display the reveal animation, depending on whether or not it was already displayed by the CircularRevealAnimationActivity. * Refactor the calculation of theme colors in InCallPresenter so that the CircularRevealAnimationActivity can use those colors as well. * Remove PENDING_OUTGOING from the list of call states that bring up InCallUI. Bug: 18373617 Bug: 18611753 Change-Id: I44c593373864ffc0ba9edebb88887177112d8b27
| * | Merge "Fixing manage conference accessibility issues." into lmp-mr1-devTyler Gunn2014-12-042-7/+11
| |\ \ | | |/ | |/|
| | * Fixing manage conference accessibility issues.Tyler Gunn2014-12-042-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. The "Manage Conference" button would be announced twice when it received focus. Moved content description to the parent FrameLayout that acts as the button and made it focusable to ensure that the description is read only a single time. 2. When tapping "Manage Conference" button there was no audible feedback that the manage conference screen was opened. Set focus to the list of conference participants so that this list is announced when the manage conference screen opens. 3. It was possible to change focus from the list of participants in the manage conference screen to the call card buttons and other elements behind the manage conference screen. Fixed by explicitly setting the call card fragment visibility to GONE when the conference manager is shown. Bug: 18440532 Change-Id: I0ce4f74ccb98c5cefd6c6e75eb8ef9310bd6d7fb
| * | Merge "Adding missing touch feedback ripples for swap and hold conference ↵Tyler Gunn2014-12-033-2/+32
| |\ \ | | | | | | | | | | | | buttons." into lmp-mr1-dev
| | * | Adding missing touch feedback ripples for swap and hold conference buttons.Tyler Gunn2014-12-023-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new ripple drawable for the two buttons. Bug: 18592386 Change-Id: I3c4145c1a400e3880bbe11dfe5eae94d2e17de9e
| * | | Show HD audio icon.Andrew Lee2014-12-025-0/+0
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Import translations. DO NOT MERGEGeoff Mendal2014-12-016-16/+16
| | | | | | | | | | | | | | | Change-Id: Ibf5f0ed2b04ebb8743fdfab923ca3de6a3133f1c Auto-generated-cl: translation import
| * | Import translations. DO NOT MERGEGeoff Mendal2014-11-2653-2120/+1060
| |/ | | | | | | | | Change-Id: Iab5ea1801e730ffac6ccd5787eedcf3af59b31cd Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEGeoff Mendal2014-11-2420-768/+388
| | | | | | | | | | Change-Id: I416bba96f3579d2cf0600988905c680f66e23776 Auto-generated-cl: translation import
| * Resize InCallUI for small devices.Nancy Chen2014-11-202-8/+58
| | | | | | | | | | | | | | | | | | | | | | | | In the InCallUI for devices smaller than nexus 4, the dialpad digits are squished because the text in the call card is too big. Shrink the text selectively for smaller devices (by moving the current default sizes to the >600dp height devices). See http://developer.android.com/guide/topics/resources/providing-resources.html#BestMatch for reference. Bug:18122087 Change-Id: I3eceae520d5039dd18c39434eb548288d8ce4e61
| * Import translations. DO NOT MERGEGeoff Mendal2014-11-191-1/+1
| | | | | | | | | | Change-Id: I8019412f81363a2e43ba1516e69cb3a37f1b01d4 Auto-generated-cl: translation import
| * Improve setting of contact photos in InCallUIYorke Lee2014-11-181-0/+21
| | | | | | | | | | | | | | | | | | | | | | Add drawable caching in CallCardFragment so that we don't set the same drawable multiple times. Save and reuse the default contact photo and default conference photo to avoid possibly decoding them multiple times. Bug: 18373617 Change-Id: I54b925e6fc6f136f3d3ef27609fcdaf4c39a73dd
| * Merge "Removed unused VideoCallFragment" into lmp-mr1-devYorke Lee2014-11-172-14/+0
| |\
| | * Removed unused VideoCallFragmentYorke Lee2014-11-142-14/+0
| | | | | | | | | | | | | | | Bug: 18373617 Change-Id: Iae8cdd1f73de5f9824aff9d57fcf33b924527607
| * | Import translations. DO NOT MERGEGeoff Mendal2014-11-1772-2614/+2945
| |/ | | | | | | | | Change-Id: I12ef7181f74056e42f6746d6db208ae1065b1345 Auto-generated-cl: translation import
| * Use the highlight color instead of the tint colorNancy Chen2014-11-121-6/+6
| | | | | | | | | | | | | | | | | | | | | | The tint color of a phone account only refers to the color of the icon, the highlight color is the general display color used for text, backgrounds etc. We should use highlight color in InCallUI Also minor color updates (lightening the "dark" version a little) Bug: 18192071 Change-Id: I4078897bcb871326a4806f64355a67c5b267e9e6
| * Merge "Don't let touches in ConferenceManagerFragment fall through" into ↵Yorke Lee2014-11-111-0/+1
| |\ | | | | | | | | | lmp-mr1-dev
| | * Don't let touches in ConferenceManagerFragment fall throughYorke Lee2014-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Prevent touches from triggering talkback on elements underneath the ConferenceManagerFragment Bug: 18269622 Change-Id: I98e28942bcb5c51fdc6a147a2d3b797ca1f100ae
| * | Merge "String resource edits for InCallUI" into lmp-mr1-devNancy Chen2014-11-111-24/+21
| |\ \ | | |/ | |/|
| | * String resource edits for InCallUINancy Chen2014-11-101-24/+21
| | | | | | | | | | | | | | | | | | | | | Adjust strings in InCallUI per ewong@'s edits. Bug: 17446974 Change-Id: Ic11f8de792e714c8d48b009ae75cb214fb2ba6ce
| * | Add support for >5 participants to InCall manage conference UI.Tyler Gunn2014-11-101-45/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | - Previous UI had space in the layout for 5 participants only. - Replaced the 5 static participant slots with a ListView. - Created a new Adapter to populate the list. - Added logic in the adapter to request contact info and photo from the contact info cache -- this is required for conference event package participants as they may not have had that information loaded yet. Bug: 18201339 Change-Id: Ieb8038922d2cb4cb1dfce392cf5889e966ff2895
| * Remove provider icon from InCallUI.Nancy Chen2014-11-031-8/+0
| | | | | | | | | | | | | | | | | | Because we are now using the SIM color to designate which SIM is being used in the InCallUI, we are removing the icon from the primary and secondary call info fields. Bug: 18204058 Change-Id: Ibc0b74ce2a104e7aa506a2d200c0e1b9997df7d5
| * In Multi-SIM cases use the color of the SIM icon for InCallUI.Nancy Chen2014-10-2914-14/+52
| | | | | | | | | | | | | | | | | | | | | | Set the color of the InCallUI to be the color of the SIM icon. In the single SIM case, the background should be the default background. * Added id to all call button backgrounds for color change * Initialize color onResume for InCallActivity * CallCardFragment/CallButtonFragment/DialpadFragment update their colors * Added InCallUIMaterialColorMapUtils to extract color Bug: 17971273 Change-Id: Ia247b153b57ffc8a5277d521c433ab0be6696cf6
| * Delete unused strings in InCallUI.Andrew Lee2014-10-271-110/+0
| | | | | | | | | | Bug: 18142679 Change-Id: I62646a2a31a4993272e021aba1385ec3c4f99ca9
| * Import translations. DO NOT MERGEGeoff Mendal2014-10-2039-85/+48
| | | | | | | | | | Change-Id: I2c46b7d4313d74dc52f6624d76a504f32a5674ef Auto-generated-cl: translation import
| * Import translations. DO NOT MERGEGeoff Mendal2014-10-1572-290/+898
| | | | | | | | | | Change-Id: Ibfaec05cc590c01ff7f844e2e0e9d5d7b6dc8be4 Auto-generated-cl: translation import
| * Merge "Create new string for notification_action_answer" into lmp-mr1-devYorke Lee2014-10-151-1/+4
| |\
| | * Create new string for notification_action_answerYorke Lee2014-10-141-1/+4
| | | | | | | | | | | | | | | Bug: 17894022 Change-Id: I021f362f261fd9053c8749361692e6f3fabb9fcf
| * | Import translations. DO NOT MERGEGeoff Mendal2014-10-1355-58/+3
| |/ | | | | | | | | Change-Id: Iebe89f6b4f54135bbfcb42769af8fdde189a2afd Auto-generated-cl: translation import
| * Merge "Generalize select account dialog for usage anywhere in dialer (1/2)" ↵Nancy Chen2014-10-082-41/+0
| |\ | | | | | | | | | into lmp-sprout-dev
| | * Generalize select account dialog for usage anywhere in dialer (1/2)Nancy Chen2014-10-082-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the select account dialog is specific to InCallUI, but there are other places in the dialer app that will need the user to select an account (e.g. MMI pin) so we want to reuse this dialog. + Move dialog to ContactsCommon + Add a listener to the SelectPhoneAccountDialogFragment class Bug: 17917937 Change-Id: I872dba36f0f53737398861ff5376cc07f0e11c7b
| * | am 60104e03: Use correctly sized answer icon and fix char limitsYorke Lee2014-10-071-6/+6
| |\ \ | | |/ | |/| | | | | | | * commit '60104e03162bb5ecc52d07a79382134c3cdb1243': Use correctly sized answer icon and fix char limits
| * | Import translations. DO NOT MERGEGeoff Mendal2014-10-061-3/+3
| | | | | | | | | | | | | | | Change-Id: I44ceda82d7614f9db66c84a11a5a673a6ed98c2a Auto-generated-cl: translation import
| * | Import translations. DO NOT MERGEBaligh Uddin2014-10-041-1/+1
| | | | | | | | | | | | | | | Change-Id: I63bbe10ff73e11df2e45863d895b58971e38b1bd Auto-generated-cl: translation import
| * | am 6d9c2a09: Merge "Remove automirroring on icons to fix RTL alignment." ↵Andrew Lee2014-10-032-4/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | into lmp-dev * commit '6d9c2a09922f96620b671dec832de8ba9b0eeedd': Remove automirroring on icons to fix RTL alignment.
| * | | Import translations. DO NOT MERGEBaligh Uddin2014-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I7ee0c16c779af8254dcbcb878264cade551c182f Auto-generated-cl: translation import
| * | | am 522077ba: Merge "Add background to photo in in-call UI for transparent ↵Nancy Chen2014-09-232-0/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | photos." into lmp-dev * commit '522077bac1eedc24fa8ff717545224b903bacdc5': Add background to photo in in-call UI for transparent photos.