├── app ├── .gitignore ├── src │ └── main │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ ├── values │ │ │ ├── variables.xml │ │ │ ├── colors.xml │ │ │ ├── styles.xml │ │ │ └── strings.xml │ │ ├── interpolator │ │ │ ├── blink.xml │ │ │ └── slow_blink.xml │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ └── item_emoji.xml │ │ ├── animator │ │ │ ├── u1f635_mouth.xml │ │ │ ├── u1f635_left_eye.xml │ │ │ ├── u1f635_right_eye.xml │ │ │ ├── u263a_left_eye_blink.xml │ │ │ ├── u263a_right_eye_blink.xml │ │ │ ├── u1f603_laugh.xml │ │ │ ├── u1f603_left_eye_laughing.xml │ │ │ ├── u1f603_right_eye_laughing.xml │ │ │ ├── u1f60e_left_shade_animator.xml │ │ │ ├── u1f60e_right_shade_animator.xml │ │ │ ├── u1f613_sweat_drip_alpha.xml │ │ │ └── u1f613_sweat_drip.xml │ │ └── drawable │ │ │ ├── animated_emoji_u1f613.xml │ │ │ ├── animated_emoji_u1f60e.xml │ │ │ ├── animated_emoji_u1f635.xml │ │ │ ├── animated_emoji_u263a.xml │ │ │ ├── animated_emoji_u1f603.xml │ │ │ ├── emoji_u1f603.xml │ │ │ ├── emoji_u263a.xml │ │ │ ├── emoji_u1f60e.xml │ │ │ ├── emoji_u1f613.xml │ │ │ └── emoji_u1f635.xml │ │ ├── java │ │ └── com │ │ │ └── romainpiel │ │ │ └── liveemoji │ │ │ ├── EmojiViewModel.java │ │ │ ├── EmojiViewHolder.java │ │ │ ├── EmojiAdapter.java │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── image.gif ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── README.md ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /image.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainpiel/live-emoji/HEAD/image.gif -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainpiel/live-emoji/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainpiel/live-emoji/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainpiel/live-emoji/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainpiel/live-emoji/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainpiel/live-emoji/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/romainpiel/live-emoji/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .idea 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/variables.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 3000 4 | -------------------------------------------------------------------------------- /app/src/main/res/interpolator/blink.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/src/main/res/interpolator/slow_blink.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Sep 22 11:49:31 BST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f635_mouth.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f635_left_eye.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/java/com/romainpiel/liveemoji/EmojiViewModel.java: -------------------------------------------------------------------------------- 1 | package com.romainpiel.liveemoji; 2 | 3 | import android.support.annotation.DrawableRes; 4 | 5 | class EmojiViewModel { 6 | @DrawableRes 7 | private final int drawableRes; 8 | 9 | EmojiViewModel(@DrawableRes int drawableRes) { 10 | this.drawableRes = drawableRes; 11 | } 12 | 13 | @DrawableRes 14 | int getDrawableRes() { 15 | return drawableRes; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/animated_emoji_u1f613.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f635_right_eye.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/animated_emoji_u1f60e.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u263a_left_eye_blink.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u263a_right_eye_blink.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f603_laugh.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f603_left_eye_laughing.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f603_right_eye_laughing.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f60e_left_shade_animator.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f60e_right_shade_animator.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_emoji.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/animated_emoji_u1f635.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 10 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/animated_emoji_u263a.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 10 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/animated_emoji_u1f603.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 10 | 13 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/romainpiel/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 24 5 | buildToolsVersion "24.0.2" 6 | 7 | defaultConfig { 8 | applicationId "com.romainpiel.liveemoji" 9 | minSdkVersion 23 10 | targetSdkVersion 24 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | testCompile 'junit:junit:4.12' 25 | compile 'com.android.support:appcompat-v7:24.2.1' 26 | compile 'com.android.support:recyclerview-v7:24.2.1' 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f613_sweat_drip_alpha.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 8 | 11 | 14 | 17 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /app/src/main/java/com/romainpiel/liveemoji/EmojiViewHolder.java: -------------------------------------------------------------------------------- 1 | package com.romainpiel.liveemoji; 2 | 3 | import android.graphics.drawable.AnimatedVectorDrawable; 4 | import android.support.v7.widget.RecyclerView; 5 | import android.view.View; 6 | import android.widget.ImageView; 7 | 8 | class EmojiViewHolder extends RecyclerView.ViewHolder { 9 | 10 | private final ImageView imageView; 11 | 12 | EmojiViewHolder(View itemView) { 13 | super(itemView); 14 | imageView = (ImageView) itemView.findViewById(R.id.emoji); 15 | } 16 | 17 | void bind(EmojiViewModel viewModel) { 18 | imageView.setImageResource(viewModel.getDrawableRes()); 19 | } 20 | 21 | void setAnimated(boolean animated) { 22 | AnimatedVectorDrawable drawable = (AnimatedVectorDrawable) imageView.getDrawable(); 23 | if (drawable == null) { 24 | return; 25 | } 26 | if (animated) { 27 | drawable.start(); 28 | } else { 29 | drawable.stop(); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/emoji_u1f603.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 14 | 18 | 20 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Live emojis 2 | 3 | ![](image.gif) 4 | 5 | Animating Google emojis with Android animated vector drawables. 6 | 7 | All credits to [noto-emoji](https://github.com/googlei18n/noto-emoji) for the original emoji. 8 | 9 | ## Can't see your favourite emoji? 10 | 11 | - Find the svg [there](https://github.com/googlei18n/noto-emoji) and play with it. Then submit a PR, I'll be happy to review it! 12 | - Or just post an issue with your idea. The more the merrier! 13 | 14 | ## Contributors 15 | 16 | - [romainpiel](https://github.com/RomainPiel) 17 | - [chiuki](https://github.com/chiuki) 18 | - [sjthn](https://github.com/sjthn) 19 | 20 | ## License 21 | ``` 22 | Copyright 2016 Romain Piel 23 | 24 | Licensed under the Apache License, Version 2.0 (the "License"); 25 | you may not use this file except in compliance with the License. 26 | You may obtain a copy of the License at 27 | 28 | http://www.apache.org/licenses/LICENSE-2.0 29 | 30 | Unless required by applicable law or agreed to in writing, software 31 | distributed under the License is distributed on an "AS IS" BASIS, 32 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 33 | See the License for the specific language governing permissions and 34 | limitations under the License. 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/romainpiel/liveemoji/EmojiAdapter.java: -------------------------------------------------------------------------------- 1 | package com.romainpiel.liveemoji; 2 | 3 | import android.support.v7.widget.RecyclerView; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import java.util.List; 9 | 10 | class EmojiAdapter extends RecyclerView.Adapter { 11 | 12 | private final List items; 13 | private boolean animated; 14 | 15 | EmojiAdapter(List items) { 16 | this.items = items; 17 | this.animated = false; 18 | } 19 | 20 | void setAnimated(boolean animated) { 21 | this.animated = animated; 22 | } 23 | 24 | @Override 25 | public EmojiViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 26 | View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_emoji, parent, false); 27 | return new EmojiViewHolder(view); 28 | } 29 | 30 | @Override 31 | public void onBindViewHolder(EmojiViewHolder holder, int position) { 32 | holder.bind(items.get(position)); 33 | holder.setAnimated(animated); 34 | } 35 | 36 | @Override 37 | public int getItemCount() { 38 | return items.size(); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/emoji_u263a.xml: -------------------------------------------------------------------------------- 1 | 6 | 10 | 14 | 18 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/emoji_u1f60e.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 16 | 20 | 24 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/animator/u1f613_sweat_drip.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 9 | 13 | 16 | 19 | 20 | 22 | 26 | 29 | 32 | 33 | 34 | 40 | -------------------------------------------------------------------------------- /app/src/main/java/com/romainpiel/liveemoji/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.romainpiel.liveemoji; 2 | 3 | import android.os.Bundle; 4 | import android.support.annotation.Nullable; 5 | import android.support.v7.app.AppCompatActivity; 6 | import android.support.v7.widget.GridLayoutManager; 7 | import android.support.v7.widget.RecyclerView; 8 | 9 | import java.util.ArrayList; 10 | 11 | public class MainActivity extends AppCompatActivity { 12 | 13 | private EmojiAdapter adapter; 14 | 15 | @Override 16 | protected void onCreate(@Nullable Bundle savedInstanceState) { 17 | super.onCreate(savedInstanceState); 18 | setContentView(R.layout.activity_main); 19 | 20 | ArrayList items = new ArrayList<>(); 21 | items.add(new EmojiViewModel(R.drawable.animated_emoji_u1f603)); 22 | items.add(new EmojiViewModel(R.drawable.animated_emoji_u263a)); 23 | items.add(new EmojiViewModel(R.drawable.animated_emoji_u1f635)); 24 | items.add(new EmojiViewModel(R.drawable.animated_emoji_u1f613)); 25 | items.add(new EmojiViewModel(R.drawable.animated_emoji_u1f60e)); 26 | 27 | RecyclerView recyclerView = (RecyclerView) findViewById(R.id.recyclerview); 28 | recyclerView.setLayoutManager(new GridLayoutManager(this, 4)); 29 | 30 | adapter = new EmojiAdapter(items); 31 | recyclerView.setAdapter(adapter); 32 | } 33 | 34 | @Override 35 | protected void onStart() { 36 | super.onStart(); 37 | adapter.setAnimated(true); 38 | adapter.notifyDataSetChanged(); 39 | } 40 | 41 | @Override 42 | protected void onStop() { 43 | adapter.setAnimated(false); 44 | adapter.notifyDataSetChanged(); 45 | super.onStop(); 46 | } 47 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/emoji_u1f613.xml: -------------------------------------------------------------------------------- 1 | 6 | 12 | 13 | 19 | 20 | 25 | 31 | 36 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/emoji_u1f635.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 13 | 16 | 19 | 20 | 24 | 27 | 30 | 31 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Live emoji 3 | M48.546,58.424 C48.546,63.809 44.94,68.175 40.478,68.175 C36.016,68.175 32.392,63.808 32.392,58.424 C32.392,53.03 36.017,48.663 40.478,48.663 C44.939,48.663 48.546,53.03 48.546,58.424 4 | M48.546,51.519 C48.546,53.094 44.94,54.371 40.478,54.371 C36.016,54.371 32.392,53.094 32.392,51.519 C32.392,49.941 36.017,48.663 40.478,48.663 C44.939,48.663 48.546,49.941 48.546,51.519 5 | M48.546,48.691 C48.546,48.706 44.94,48.719 40.478,48.719 C36.016,48.719 32.392,48.706 32.392,48.691 C32.392,48.676 36.017,48.663 40.478,48.663 C44.939,48.663 48.546,48.676 48.546,48.691 6 | M80.065,58.424 C80.065,63.809 83.67,68.175 88.142,68.175 C92.603,68.175 96.228,63.808 96.228,58.424 C96.228,53.03 92.603,48.663 88.142,48.663 C83.67,48.663 80.065,53.03 80.065,58.424 7 | M80.065,51.519 C80.065,53.094 83.67,54.371 88.142,54.371 C92.603,54.371 96.228,53.094 96.228,51.519 C96.228,49.941 92.603,48.663 88.142,48.663 C83.67,48.663 80.065,49.941 80.065,51.519 8 | M80.065,48.691 C80.065,48.706 83.67,48.719 88.142,48.719 C92.603,48.719 96.228,48.706 96.228,48.691 C96.228,48.676 92.603,48.663 88.142,48.663 C83.67,48.663 80.065,48.676 80.065,48.691 9 | M44.469,82.373 C43.776,83.08 43.642,84.322 43.856,85.23 C45.492,92.214 54.273,96.664 65.027,96.664 C76.661,96.664 83.291,91.673 84.42,85.228 C84.563,84.408 84.383,83.45 83.482,82.708 C80.996,80.663 75.871,83.14 65.408,83.14 C54.542,83.141 47.27,79.518 44.469,82.373 z 10 | M36.357,76.472 C35.378,77.471 35.189,79.226 35.491,80.508 C37.803,90.376 50.209,96.664 65.404,96.664 C81.843,96.664 91.21,89.612 92.805,80.505 C93.007,79.347 92.753,77.993 91.48,76.945 C87.967,74.055 80.727,77.556 65.943,77.556 C50.589,77.557 40.314,72.438 36.357,76.472 z 11 | M46.385,71.71 C50.555,71.71 53.955,67.66 53.955,62.66 C53.955,57.65 50.555,53.59 46.385,53.59 C42.215,53.59 38.815,57.64 38.815,62.66 C38.825,67.66 42.215,71.71 46.385,71.71 z 12 | M46.385,53.811 C50.555,53.811 53.955,53.761 53.955,53.7 C53.955,53.639 50.555,53.59 46.385,53.59 C42.215,53.59 38.815,53.639 38.815,53.7 C38.825,53.761 42.215,53.811 46.385,53.811 z 13 | M81.595,71.71 C85.775,71.71 89.155,67.66 89.155,62.66 C89.155,57.65 85.775,53.59 81.595,53.59 C77.425,53.59 74.025,57.64 74.025,62.66 C74.025,67.66 77.425,71.71 81.595,71.71 z 14 | M81.595,53.811 C85.775,53.811 89.155,53.761 89.155,53.7 C89.155,53.639 85.775,53.59 81.595,53.59 C77.425,53.59 74.025,53.639 74.025,53.7 C74.025,53.761 77.425,53.811 81.595,53.811 z 15 | M28.605,97.369 C21.888,98.24 16.262,95.048 15.158,87.832 C14.647,84.531 15.863,81.171 17.327,78.295 C21.908,69.308 32.162,60.753 42.608,60.538 C50.622,60.374 58.873,64.868 63.67,71.193 C68.356,77.372 72.223,88.444 70.468,96.659 C69.16,102.778 64.368,107.509 57.751,107.395 C50.449,107.269 47.11,104.118 41.456,100.042 C37.265,97.008 33.434,96.72 28.741,97.349 C28.687,97.353 28.65,97.359 28.605,97.369 z 16 | M28.605,100.371 C21.888,101.313 16.262,97.861 15.158,90.057 C14.647,86.487 15.863,82.853 17.327,79.743 C21.908,70.023 32.162,60.771 42.608,60.539 C50.622,60.361 58.873,65.222 63.67,72.062 C68.356,78.745 72.223,90.719 70.468,99.603 C69.16,106.221 64.368,111.337 57.751,111.214 C50.449,111.078 47.11,107.67 41.456,103.262 C37.265,99.98 33.434,99.669 28.741,100.349 C28.687,100.354 28.65,100.36 28.605,100.371 z 17 | M12.45,53.96 C12.05,53.88,11.63,54.01,11.34,54.3 C11.05,54.59,10.92,55,11,55.41 C14.02,70.43,23.36,74.45,23.76,74.61 C23.91,74.67,24.07,74.7,24.23,74.7 C24.66,74.7,25.08,74.47,25.31,74.07 L33.27,59.71 C33.46,59.37,33.47,58.95,33.31,58.6 C33.14,58.25,32.82,57.99,32.43,57.91 L12.45,53.96 Z 18 | M35.45,58.56 C34.05,59.88,28.34,76.01,28.24,76.8 C28.04,76.8,27.91,76.9,28.5,77.9C35.02,79,43.36,77,44.36,76.1 C44.61,76,44.9,75.74,45.9,75C48.2,72.17,48.81,71.61,49.8,69.17 L50.5,67.87C50.7,67.17,50.9,67,51.5,65 C51,60,44.82,61.3,47.43,61.05L35.45,58.56 Z 19 | M89.09,60.54 C88.79,60.17,88.31,60.02,87.85,60.13 L75.42,63.14C74.83,63.28,74.44,63.83,74.49,64.43 C74.51,64.74,75.18,72.11,81.66,75.47C81.84,75.56,82.03,75.61,82.23,75.61 C82.37,75.61,82.5,75.59,82.63,75.54C82.95,75.43,83.21,75.19,83.34,74.89 L89.26,61.83C89.46,61.4,89.39,60.89,89.09,60.54 Z 20 | M120.09,54.54 C119.79,54.17,119.31,54.02,118.85,54.13 L106.42,57.14C102.83,67.28,101.24,68.83,97.83,78.43 C97.83,78.74,104.18,79.11,108.66,74.47C110.84,73.16,109.03,73.61,109.23,73.61 C109.37,74.61,113.5,69.9,113.63,69.54C113.95,69.33,114.21,68.8,114.34,68.89 L120.26,55.83C120.46,55.4,120.39,54.89,120.09,54.54 Z 21 | 22 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # Attempt to set APP_HOME 46 | # Resolve links: $0 may be a link 47 | PRG="$0" 48 | # Need this for relative symlinks. 49 | while [ -h "$PRG" ] ; do 50 | ls=`ls -ld "$PRG"` 51 | link=`expr "$ls" : '.*-> \(.*\)$'` 52 | if expr "$link" : '/.*' > /dev/null; then 53 | PRG="$link" 54 | else 55 | PRG=`dirname "$PRG"`"/$link" 56 | fi 57 | done 58 | SAVED="`pwd`" 59 | cd "`dirname \"$PRG\"`/" >/dev/null 60 | APP_HOME="`pwd -P`" 61 | cd "$SAVED" >/dev/null 62 | 63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 64 | 65 | # Determine the Java command to use to start the JVM. 66 | if [ -n "$JAVA_HOME" ] ; then 67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 68 | # IBM's JDK on AIX uses strange locations for the executables 69 | JAVACMD="$JAVA_HOME/jre/sh/java" 70 | else 71 | JAVACMD="$JAVA_HOME/bin/java" 72 | fi 73 | if [ ! -x "$JAVACMD" ] ; then 74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 75 | 76 | Please set the JAVA_HOME variable in your environment to match the 77 | location of your Java installation." 78 | fi 79 | else 80 | JAVACMD="java" 81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 82 | 83 | Please set the JAVA_HOME variable in your environment to match the 84 | location of your Java installation." 85 | fi 86 | 87 | # Increase the maximum file descriptors if we can. 88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 89 | MAX_FD_LIMIT=`ulimit -H -n` 90 | if [ $? -eq 0 ] ; then 91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 92 | MAX_FD="$MAX_FD_LIMIT" 93 | fi 94 | ulimit -n $MAX_FD 95 | if [ $? -ne 0 ] ; then 96 | warn "Could not set maximum file descriptor limit: $MAX_FD" 97 | fi 98 | else 99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 100 | fi 101 | fi 102 | 103 | # For Darwin, add options to specify how the application appears in the dock 104 | if $darwin; then 105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 106 | fi 107 | 108 | # For Cygwin, switch paths to Windows format before running java 109 | if $cygwin ; then 110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 112 | JAVACMD=`cygpath --unix "$JAVACMD"` 113 | 114 | # We build the pattern for arguments to be converted via cygpath 115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 116 | SEP="" 117 | for dir in $ROOTDIRSRAW ; do 118 | ROOTDIRS="$ROOTDIRS$SEP$dir" 119 | SEP="|" 120 | done 121 | OURCYGPATTERN="(^($ROOTDIRS))" 122 | # Add a user-defined pattern to the cygpath arguments 123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 125 | fi 126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 127 | i=0 128 | for arg in "$@" ; do 129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 131 | 132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 134 | else 135 | eval `echo args$i`="\"$arg\"" 136 | fi 137 | i=$((i+1)) 138 | done 139 | case $i in 140 | (0) set -- ;; 141 | (1) set -- "$args0" ;; 142 | (2) set -- "$args0" "$args1" ;; 143 | (3) set -- "$args0" "$args1" "$args2" ;; 144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 150 | esac 151 | fi 152 | 153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 154 | function splitJvmOpts() { 155 | JVM_OPTS=("$@") 156 | } 157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 159 | 160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 161 | --------------------------------------------------------------------------------