Skip to content

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
osmanonurkoc committed Apr 19, 2019
0 parents commit b7d35d9
Show file tree
Hide file tree
Showing 307 changed files with 1,054 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
*.iml
.gradle
/local.properties
.DS_Store
.idea/
.gradle/
gradle/
/build
gradlew*
/captures
.externalNativeBuild
.project
.settings/
.classpath
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
31 changes: 31 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
defaultConfig {
applicationId "osmanonurkoc.oneplusadaptive"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "v1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
applicationVariants.all {
variant -> variant.outputs.all {
outputFileName = "OnePlusIcons-${variant.name}.apk"
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
testİmplementation 'junit:junit:4.12'
androidTestİmplementation 'com.android.support.test:runner:1.0.1'
androidTestİmplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
21 changes: 21 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package osmanonurkoc.oneplusadaptive;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() throws Exception {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();

assertEquals("amirz.googleicons", appContext.getPackageName());
}
}
21 changes: 21 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="osmanonurkoc.oneplusadaptive">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher_icon_pack"
android:label="@string/app_name"
android:supportsRtl="true">
<activity android:name="osmanonurkoc.oneplusadaptive.MainActivity">
<intent-filter>
<action android:name="com.fede.launcher.THEME_ICONPACK" />
<action android:name="com.anddoes.launcher.THEME" />
<action android:name="com.novalauncher.THEME" />
<action android:name="com.teslacoilsw.launcher.THEME" />
<action android:name="com.gau.go.launcherex.theme" />
<action android:name="org.adw.launcher.THEMES" />
<action android:name="org.adw.launcher.icons.ACTION_PICK_ICON" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package osmanonurkoc.oneplusadaptive;

import android.app.Activity;

public class MainActivity extends Activity {

}
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_calculator.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_calculator_background"/>
<foreground android:drawable="@mipmap/oneplus_calculator_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_calendar.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_calendar_background"/>
<foreground android:drawable="@mipmap/oneplus_calendar_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_camera.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/oneplus_camera_background"/>
<foreground android:drawable="@mipmap/oneplus_camera_foreground"/>
</adaptive-icon>
19 changes: 19 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_clock.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_clock_background" />
<foreground>
<layer-list>
<item>
<rotate android:drawable="@mipmap/oneplus_clock_hour" android:fromDegrees="300.0" android:toDegrees="5300.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@mipmap/oneplus_clock_minute" android:fromDegrees="60.0" android:toDegrees="60060.0" android:pivotX="50.0%" android:pivotY="50.0%" />
</item>
<item>
<rotate android:drawable="@mipmap/oneplus_clock_second" android:fromDegrees="180.0" android:toDegrees="6180.0" android:pivotX="50.0%" android:pivotY="50.0%" android:level="300" />
</item>
<item android:drawable="@mipmap/oneplus_clock_top" />
</layer-list>
</foreground>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_contacts.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/oneplus_contacts_background"/>
<foreground android:drawable="@mipmap/oneplus_contacts_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_dialer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/oneplus_dialer_background"/>
<foreground android:drawable="@mipmap/oneplus_dialer_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_files.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_files_background"/>
<foreground android:drawable="@mipmap/oneplus_files_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_gallery.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_gallery_background"/>
<foreground android:drawable="@mipmap/oneplus_gallery_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_messages.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/oneplus_messages_background"/>
<foreground android:drawable="@mipmap/oneplus_messages_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_music.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_music_background"/>
<foreground android:drawable="@mipmap/oneplus_music_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_notes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_notes_background"/>
<foreground android:drawable="@mipmap/oneplus_notes_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_recorder.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@mipmap/oneplus_recorder_background"/>
<foreground android:drawable="@mipmap/oneplus_recorder_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/oneplus_settings_background"/>
<foreground android:drawable="@mipmap/oneplus_settings_foreground"/>
</adaptive-icon>
5 changes: 5 additions & 0 deletions app/src/main/res/drawable-anydpi-v26/oneplus_stk.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/oneplus_stk_background"/>
<foreground android:drawable="@mipmap/oneplus_stk_foreground"/>
</adaptive-icon>
Binary file added app/src/main/res/drawable-nodpi/adaptive_base.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_01" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_10.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_10" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_11.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_11" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_12.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_12" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_13.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_13" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_14.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_14" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_15.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_15" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_16.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_16" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_17.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_17" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_18.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_18" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_19.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_19" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_02" />
</layer-list>
</foreground>
</adaptive-icon>
11 changes: 11 additions & 0 deletions app/src/main/res/drawable-v26/oneplus_calendar_20.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon
xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/oneplus_adaptive_background" />
<foreground>
<layer-list>
<item android:drawable="@drawable/adaptive_base" />
<item android:drawable="@drawable/oneplus_calendar_adaptive_20" />
</layer-list>
</foreground>
</adaptive-icon>

0 comments on commit b7d35d9

Please sign in to comment.