diff options
author | Yorke Lee <yorkelee@google.com> | 2014-11-18 19:39:51 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-11-18 19:39:51 -0800 |
commit | 6d68ba11cc687b2f8b20b37fd8185b9eca8a6814 (patch) | |
tree | 035dd27d3c9c9c2e0e891c4badafa24ada737fd6 /res/drawable | |
parent | 65c7d6f791b3e1489a0b1f34762595fe3d9571f7 (diff) | |
download | packages_apps_InCallUI-6d68ba11cc687b2f8b20b37fd8185b9eca8a6814.tar.gz packages_apps_InCallUI-6d68ba11cc687b2f8b20b37fd8185b9eca8a6814.tar.bz2 packages_apps_InCallUI-6d68ba11cc687b2f8b20b37fd8185b9eca8a6814.zip |
Improve setting of contact photos in InCallUI
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
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/img_conference_automirrored.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/res/drawable/img_conference_automirrored.xml b/res/drawable/img_conference_automirrored.xml new file mode 100644 index 00000000..fa1fd492 --- /dev/null +++ b/res/drawable/img_conference_automirrored.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + ~ Copyright (C) 2014 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/img_conference" + android:autoMirrored="true" />
\ No newline at end of file |