diff options
author | John Reck <jreck@google.com> | 2013-03-07 00:53:13 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-03-07 00:53:13 +0000 |
commit | 4154324ca8480c13d9c4e22d8303d425a4e5d7d3 (patch) | |
tree | 88370896cac6bb93c3d085e170e883f2a1354517 /src/com/android/photos/drawables | |
parent | 0625b81efa0b98f54f45827316d03b03dda0e2ed (diff) | |
parent | dc0bb6232a45a646799db8a79e9d678c494fc956 (diff) | |
download | android_packages_apps_Snap-4154324ca8480c13d9c4e22d8303d425a4e5d7d3.tar.gz android_packages_apps_Snap-4154324ca8480c13d9c4e22d8303d425a4e5d7d3.tar.bz2 android_packages_apps_Snap-4154324ca8480c13d9c4e22d8303d425a4e5d7d3.zip |
Merge "Data provider shim" into gb-ub-photos-bryce
Diffstat (limited to 'src/com/android/photos/drawables')
-rw-r--r-- | src/com/android/photos/drawables/DrawableFactory.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/android/photos/drawables/DrawableFactory.java b/src/com/android/photos/drawables/DrawableFactory.java new file mode 100644 index 000000000..ad046c820 --- /dev/null +++ b/src/com/android/photos/drawables/DrawableFactory.java @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2013 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. + */ + +package com.android.photos.drawables; + +import android.graphics.drawable.Drawable; + + +public interface DrawableFactory<T> { + Drawable drawableForItem(T item, Drawable recycle); +} |