summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorDave Santoro <dsantoro@google.com>2011-06-27 10:55:35 -0700
committerDave Santoro <dsantoro@google.com>2011-07-13 17:11:44 -0700
commitf547fd54d7933e1c03af4a8dc10560c71c38f6b8 (patch)
tree23ac7e5124987f0476338eec88b44666d0fecb4e /res/values
parent1cdfc9dacc136e99d3c0bc5b4212bc3c973be337 (diff)
downloadpackages_providers_ContactsProvider-f547fd54d7933e1c03af4a8dc10560c71c38f6b8.zip
packages_providers_ContactsProvider-f547fd54d7933e1c03af4a8dc10560c71c38f6b8.tar.gz
packages_providers_ContactsProvider-f547fd54d7933e1c03af4a8dc10560c71c38f6b8.tar.bz2
Large photo storage.
This change adds support for storing large photos for contacts in the file system. Large photos passed to the provider will be downscaled and re-encoded as JPEGs before being stored in the usual data BLOB field (for the thumbnail) and in the photo store (for the display photo). See go/large-photo-design for details. Change-Id: I26a69ac2ccba631962a3ac5c83edb3f45d7cfc7f
Diffstat (limited to 'res/values')
-rw-r--r--res/values/config.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index 096edf6..fc63a50 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -19,4 +19,10 @@
<!-- Maximum size of photos inserted in social stream items -->
<integer name="config_stream_item_photo_max_bytes">71680</integer>
+ <!-- Maximum dimension (height or width) of contact display photos -->
+ <integer name="config_max_display_photo_dim">256</integer>
+
+ <!-- Maximum dimension (height or width) of contact photo thumbnails -->
+ <integer name="config_max_thumbnail_photo_dim">96</integer>
+
</resources>