Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/applikeysolutions/orionpreview

πŸ…ΎοΈ OrionPreview is a simple animation with tanslation or scale views written in Java.
https://github.com/applikeysolutions/orionpreview

android animation blur java library opensource preview scale shop translation

Last synced: 2 days ago
JSON representation

πŸ…ΎοΈ OrionPreview is a simple animation with tanslation or scale views written in Java.

Awesome Lists containing this project

README

        

[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/AppliKeySolutions/Orion/blob/master/LICENSE)
[![Twitter](https://img.shields.io/badge/contact-@Applikey_-blue.svg?style=flat)](https://twitter.com/Applikey_)

Made by [Applikey Solutions](https://applikeysolutions.com)

# Table of Contents
1. [Purpose](#purpose)
2. [Installation](#installation)
3. [Usage](#usage)
4. [Demo](#demo)
5. [Release Notes](#release-notes)
6. [Contact Us](#contact-us)
7. [License](#license)

# Purpose

A simple animation with translation or scale views.

# Installation

```groovy
compile 'com.github.applikeysolutions:orionpreview:1.0.1'
```

# Usage
### Scale Animation
```java
ScaleAnimation scaleAnimation =
new ScaleAnimation.ScaleAnimationBuilder(view, scaleRate, scaleRate)
.build();
scaleAnimation.showAnimation();
```
### Translation Animation
```java
TranslationAnimation tanslationAnimation =
new TranslationAnimation.TranslationAnimationBuilder(view,
TranslationAnimation.TranslationMode.TranslationAll, startY, endY)
.arcMode(TranslationAnimation.ArcMode.ArcUpward)
.additionStartPoint(startX)
.additionEndPoint(endX)
.build();
tanslationAnimation.showAnimation();
```
### Blur Animation
```java
BlurAnimation blurAnimation =
new BlurAnimation.BlurAnimationBuilder(bitmapScale, blurRadius)
.build();
Bitmap originalBitmap = BitmapFactory.decodeResource(getResources(),
R.drawable.image);
blurredBitmap = blurAnimation.blur(MainActivity.this, originalBitmap)
```
See [sample](sample/src/main/java/com/applikeysolutions/sample/MainActivity.java).

# Demo

# Release Notes

Version 1.0.1

- Release version.

# Contact Us

You can always contact us via [email protected] We are open for any inquiries regarding our libraries and controls, new open-source projects and other ways of contributing to the community. If you have used our component in your project we would be extremely happy if you write us your feedback and let us know about it!

# License

MIT License

Copyright (c) 2017 Applikey Solutions

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.