GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - binaryroot/CarouselView

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
app
app
 
 
build_configurations
build_configurations
 
 
carousel
carousel
 
 
gradle/wrapper
gradle/wrapper
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

CarouselView

This library is updated version of Android 3D Carousel.

Alt text

List of changes:

  • Fixed touch gesture
  • Improved performance
  • Closed issue with battery life
  • Added opportunity to add layout content
  • New parameters for carousel view.

Optional for widget view:

/**
 * Default min quantity of views.
 */
static final int MIN_QUANTITY = 3;

/**
 * Default max quantity of views.
 */
static final int MAX_QUANTITY = 12;

/**
 * Set diameter distortion, 1.0 = perfect circle
 */
static final float DIAMETER_SCALE = 0.4f;

/**
 * Rate to shrink objects as they appear further back in the depth field. Typical values 1.0,
 * linear, 2.0 twice as fast.
 */
static  final float DEPTH_SCALE = 0.8f;

/**
 * Tilt angle, negative lifts up back, positive lowers back.
 */
static float TILT = -0.3f;  

/**
 * Limit depth scale used to shrink far objects to not fall below this minimum scale.
 */
static final float MIN_SCALE = 0.4f;        

/**
 * Max velocity for scrolling.
 */
static final int MAX_SCROLLING_VELOCITY = 16000;

/**
 * Max scrolling distance.
 */
static final int MAX_SCROLLING_DISTANCE = 13;

/**
 * Duration in milliseconds from the start of a scroll during which we're
 * unsure whether the user is scrolling or flinging.
 */
static final int SCROLL_TO_FLING_UNCERTAINTY_TIMEOUT = 100;

/**
 * Duration in milliseconds from the start of animation to end.
 */
static final int ANIMATION_DURATION = 200;

/**
 * Default value for rotation scroll threshold.
 */
static final int SCROLLING_THRESHOLD = 150;

/**
 * Default min alpha value.
 */
static final int MIN_ALPHA = 30;  

/**
 * Defines default selected item.
 */
static final int DEFAULT_SELECTED_ITEM = 0;

/**
 * Configures size of items which are not in front.
 */
static final int CAROUSEL_ITEM_Z_POSITION = 1;

/**
 * Configures vertical shift of non-front items.
 */
static final float CAROUSEL_ITEM_Y_POSITION= 1.0f;

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

381 stars

Watchers

16 watching

Forks

72 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.