polidea / android-coverflow Goto Github PK
View Code? Open in Web Editor NEWSimple implementation of android's cover flow widget.
License: Other
Simple implementation of android's cover flow widget.
License: Other
From [email protected] on January 29, 2013 09:12:13
Hi,
I implemented your coverflow lib in one of my projects. It works perfectly if the user scrolls fast through the images. If, however, I try to select the next image on the left or right of the currently selected image, the animation is very rugged and often the old image will become selected again. Kind of like a ruberband holding it in place.
This can easily be reproduced by pressing on the current image, moving it slowly to the left until the next one should be greater then the selected one. at that point the selected image jumps back to center. Any idea what might cause this?
Thanks,
Stephan
Original issue: http://code.google.com/p/android-coverflow/issues/detail?id=8
Suggest making the following modification to Coverflow.getChildStaticTransformation()
so that the center image is flattened out...
@Override
protected boolean getChildStaticTransformation(final View child, final Transformation t) {
final int childCenter = getCenterOfView(child);
final int childWidth = child.getWidth();
int rotationAngle = 0;
t.clear();
t.setTransformationType(Transformation.TYPE_MATRIX);
if (childCenter > mCoveflowCenter - (childWidth /2) && childCenter < mCoveflowCenter + (childWidth /2)) {
transformImageBitmap((ImageView) child, t, 0);
} else {
rotationAngle = (int) ((float) (mCoveflowCenter - childCenter) / childWidth * mMaxRotationAngle);
if (Math.abs(rotationAngle) > mMaxRotationAngle) {
rotationAngle = rotationAngle < 0 ? -mMaxRotationAngle : mMaxRotationAngle;
}
transformImageBitmap((ImageView) child, t, rotationAngle);
}
return true;
}
From [email protected] on December 10, 2013 15:33:45
What steps will reproduce the problem? 1.setting the project min sdk to IceCream/Sandwich(API level 14) What is the expected output? What do you see instead? The project won't run because of a deprecation belongs to the Gallery Android class that belongs to (API level 16) or what known as JellyBean. What version of the product are you using? On what operating system? i just downloaded it from here right now, i think it's the last version, and running on eclipse kepler on windows7
Original issue: http://code.google.com/p/android-coverflow/issues/detail?id=11
From [email protected] on September 27, 2013 07:18:50
What steps will reproduce the problem? 1.Go to the Settings>>
2.Developer Options
3.Turn On Forcefully GPU Render What is the expected output? What do you see instead? Need to work correctly as the images other than ceter as tilted.But its shows straight view What version of the product are you using? On what operating system? Android 4.2.2 Please provide any additional information below.
Original issue: http://code.google.com/p/android-coverflow/issues/detail?id=10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.