diff options
author | Chris Wren <cwren@android.com> | 2012-08-16 17:33:34 -0400 |
---|---|---|
committer | Chris Wren <cwren@android.com> | 2012-08-23 09:49:39 -0400 |
commit | c8ca07eb52a54efe327d024dc542e0a7f8849bfb (patch) | |
tree | 0b708e6bea60854beaf9f4184d857b8ca2bff7e4 /res/values/config.xml | |
parent | 7a809b2eda2d9cf8439202e03a092e850bfde1dc (diff) | |
download | android_packages_screensavers_PhotoTable-c8ca07eb52a54efe327d024dc542e0a7f8849bfb.tar.gz android_packages_screensavers_PhotoTable-c8ca07eb52a54efe327d024dc542e0a7f8849bfb.tar.bz2 android_packages_screensavers_PhotoTable-c8ca07eb52a54efe327d024dc542e0a7f8849bfb.zip |
Example Dream: photos
An example screensaver that shows local photos.
Change-Id: I2997c4f8ab35777d96df31a46f2f55044e3114c2
Diffstat (limited to 'res/values/config.xml')
-rw-r--r-- | res/values/config.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/res/values/config.xml b/res/values/config.xml new file mode 100644 index 0000000..f1c9fcc --- /dev/null +++ b/res/values/config.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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. +--> +<resources> + <!-- Milliseconds between drops, needs to be tuned to slide_duration + to control the number of photos on the table at any given time. --> + <integer name="drop_period">30000</integer> + + <!-- Number of photos to drop when the screensaver starts.--> + <integer name="initial_drop">10</integer> + + <!-- Maximum number of photos to leave on the table.--> + <integer name="table_capacity">10</integer> + + <!-- Parts per million ratio between image size and screen size. --> + <integer name="image_ratio">1000000</integer> + + <!-- Maximum number of image paths to load before shuffling. --> + <integer name="image_queue_size">1000</integer> +</resources> + |