summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/values/colors.xml2
-rw-r--r--src/com/android/gallery3d/ui/TimeLineSlotRenderer.java9
2 files changed, 1 insertions, 10 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 6c4a79178..7c2ffccd4 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -27,7 +27,7 @@
<!-- configuration for album page -->
<color name="album_background">#fafafa</color>
- <color name="album_placeholder">#75000000</color>
+ <color name="album_placeholder">#fafafa</color>
<!-- configuration for photo page -->
<color name="photo_background">#1A1A1A</color>
diff --git a/src/com/android/gallery3d/ui/TimeLineSlotRenderer.java b/src/com/android/gallery3d/ui/TimeLineSlotRenderer.java
index b0a8a0cba..a9ee9a8db 100644
--- a/src/com/android/gallery3d/ui/TimeLineSlotRenderer.java
+++ b/src/com/android/gallery3d/ui/TimeLineSlotRenderer.java
@@ -23,13 +23,10 @@ import com.android.gallery3d.data.MediaItem;
import com.android.gallery3d.data.MediaObject;
import com.android.gallery3d.data.Path;
import com.android.gallery3d.glrenderer.ColorTexture;
-import com.android.gallery3d.glrenderer.FadeInTexture;
import com.android.gallery3d.glrenderer.GLCanvas;
import com.android.gallery3d.glrenderer.Texture;
import com.android.gallery3d.glrenderer.TiledTexture;
-import java.util.ArrayList;
-
public class TimeLineSlotRenderer extends AbstractSlotRenderer {
@SuppressWarnings("unused")
@@ -197,14 +194,8 @@ public class TimeLineSlotRenderer extends AbstractSlotRenderer {
entry.isWaitDisplayed = true;
} else if (entry.isWaitDisplayed) {
entry.isWaitDisplayed = false;
- content = new FadeInTexture(mPlaceholderColor, entry.bitmapTexture);
- entry.content = content;
}
drawContent(canvas, content, width, height, entry.rotation);
- if ((content instanceof FadeInTexture) &&
- ((FadeInTexture) content).isAnimating()) {
- renderRequestFlags |= SlotView.RENDER_MORE_FRAME;
- }
if (entry.mediaType == MediaObject.MEDIA_TYPE_VIDEO) {
drawVideoOverlay(canvas, width, height, true, 0);