diff options
author | nicolasroard <nicolasroard@google.com> | 2012-10-23 11:42:53 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-10-23 11:42:53 -0700 |
commit | 1371fc6c86fdc0faa44f276386565c3325e3c280 (patch) | |
tree | 85fccb11cace49873910f30a187bf31bbc35292b /src/com/android/gallery3d/filtershow/imageshow/ImageBorder.java | |
parent | f3b39dd8427e68b5321b1cb3409b0bb01d6c4af2 (diff) | |
parent | 983f612476c394dffcd2b73869ed3c92f531e5e1 (diff) | |
download | android_packages_apps_Snap-1371fc6c86fdc0faa44f276386565c3325e3c280.tar.gz android_packages_apps_Snap-1371fc6c86fdc0faa44f276386565c3325e3c280.tar.bz2 android_packages_apps_Snap-1371fc6c86fdc0faa44f276386565c3325e3c280.zip |
am a9f280f9: Add copyright notices
* commit 'a9f280f938b5fd5891c5cfe0999f8f1d4945d7a1':
Add copyright notices
Diffstat (limited to 'src/com/android/gallery3d/filtershow/imageshow/ImageBorder.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/imageshow/ImageBorder.java | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/src/com/android/gallery3d/filtershow/imageshow/ImageBorder.java b/src/com/android/gallery3d/filtershow/imageshow/ImageBorder.java index f8c0142ae..0977d7d90 100644 --- a/src/com/android/gallery3d/filtershow/imageshow/ImageBorder.java +++ b/src/com/android/gallery3d/filtershow/imageshow/ImageBorder.java @@ -1,16 +1,24 @@ +/* + * 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. + */ package com.android.gallery3d.filtershow.imageshow; -import com.android.gallery3d.filtershow.presets.ImagePreset; - import android.content.Context; -import android.content.res.Resources; -import android.graphics.Bitmap; -import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Paint; -import android.graphics.Rect; -import android.graphics.drawable.NinePatchDrawable; import android.util.AttributeSet; public class ImageBorder extends ImageSlave { @@ -24,10 +32,12 @@ public class ImageBorder extends ImageSlave { super(context, attrs); } + @Override public boolean showTitle() { return false; } + @Override public void onDraw(Canvas canvas) { super.onDraw(canvas); |