Skip to content

Commit 7d1e5bf

Browse files
committed
Merge branch 'release/1.9.0'
2 parents 826099b + 8868264 commit 7d1e5bf

File tree

338 files changed

+146033
-720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

338 files changed

+146033
-720
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
local.properties
1010
key.properties
1111

12-
fastlane/report.xml
12+
fastlane/report.xml
13+
14+
# script pip dir
15+
.rustup
16+
/Library

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ The project contains the complete code of the system Easter eggs, which aims to
1818

1919
## Screenshots
2020

21-
| ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/3.png) | ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/1.png) |
22-
|----------------------------------------------------------------------|----------------------------------------------------------------------|
21+
| ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/2.png) | ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/1.png) | ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/3.png) |
22+
|----------------------------------------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------|
2323

2424
## Android Versions
2525
| Name | SDK | Egg | Status | Use new features [*](#id_new_features) | Minimum SDK [*](#id_full_egg_mini_sdk) |
@@ -68,6 +68,9 @@ Device type for emulators to be managed by the Android Gradle Plugin.
6868

6969
If there are errors and problems, please submit [Issues](https://github.com/hushenghao/AndroidEasterEggs/issues). If you are interested in this project, please submit [Pull requests](https://github.com/hushenghao/AndroidEasterEggs/pulls) to participate.
7070

71+
[Contact me 📧](mailto:[email protected])
72+
73+
### Thanks
7174
[System source code](https://github.com/aosp-mirror/platform_frameworks_base)
7275

73-
[Contact me](mailto:dede.hu@qq.com)
76+
[🦖 T-Rex Run 3D](https://github.com/Priler/dino3d)

README_zh.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
## 截图
2020

21-
| ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/3.png) | ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/1.png) |
22-
|----------------------------------------------------------------------|----------------------------------------------------------------------|
21+
| ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/2.png) | ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/1.png) | ![](./fastlane/metadata/android/en-US/images/phoneScreenshots/3.png) |
22+
|----------------------------------------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------|
2323

2424
## Android版本
2525
| 名称 | SDK | 彩蛋 | 状态 | 有使用新特性 [*](#id_new_features) | 最小版本 [*](#id_full_egg_mini_sdk) |
@@ -68,6 +68,9 @@
6868

6969
如果存在错误和问题,欢迎提交 [Issues](https://github.com/hushenghao/AndroidEasterEggs/issues) 。如果你对本项目感兴趣,欢迎提交 [Pull requests](https://github.com/hushenghao/AndroidEasterEggs/pulls) 参与。
7070

71+
[联系我 📧](mailto:[email protected])
72+
73+
### 感谢
7174
[系统源码](https://github.com/aosp-mirror/platform_frameworks_base)
7275

73-
[联系我](mailto:dede.hu@qq.com)
76+
[🦖 T-Rex Run 3D](https://github.com/Priler/dino3d)

app/build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@file:Suppress("UnstableApiUsage")
2+
13
import com.android.build.api.dsl.ManagedVirtualDevice
24
import java.util.*
35

@@ -21,7 +23,7 @@ android {
2123
minSdk = Versions.MIN_SDK
2224
targetSdk = Versions.TARGET_SDK
2325
versionCode = 23
24-
versionName = "1.8.1"
26+
versionName = "1.9.0"
2527

2628
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
2729
resourceConfigurations.addAll(listOf("zh", "en"))
@@ -95,6 +97,7 @@ dependencies {
9597
implementation(deps.androidx.browser)
9698
implementation(deps.google.material)
9799
implementation(deps.free.reflection)
100+
implementation(deps.nanohttpd)
98101
debugImplementation(deps.leakcanary)
99102
implementation(project(":basic"))
100103
implementation(project(":eggs:T"))
@@ -114,5 +117,4 @@ dependencies {
114117

115118
testImplementation(deps.junit)
116119
androidTestImplementation(deps.bundles.android.test)
117-
androidTestImplementation(deps.nanohttpd)
118120
}

app/src/androidTest/java/com/dede/android_eggs/EasterEggsActivityBaseTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import androidx.test.espresso.contrib.RecyclerViewActions.actionOnHolderItem
88
import androidx.test.espresso.matcher.ViewMatchers
99
import androidx.test.espresso.matcher.ViewMatchers.withId
1010
import androidx.test.ext.junit.rules.ActivityScenarioRule
11+
import com.dede.android_eggs.main.EasterEggsActivity
1112
import org.junit.Rule
1213

1314
/**

app/src/main/AndroidManifest.xml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:app="http://schemas.android.com/apk/res-auto"
4+
xmlns:tools="http://schemas.android.com/tools"
45
app:once="XXWHCA">
56

7+
<uses-permission android:name="android.permission.INTERNET" />
8+
69
<application
710
android:name=".EasterEggsApp"
811
android:allowBackup="true"
@@ -12,11 +15,12 @@
1215
android:icon="@mipmap/ic_launcher"
1316
android:label="@string/app_name"
1417
android:localeConfig="@xml/locales_config"
18+
android:networkSecurityConfig="@xml/network_security_config"
1519
android:roundIcon="@mipmap/ic_launcher_round"
16-
android:supportsRtl="true"
17-
android:theme="@style/Theme.EasterEggs">
20+
android:theme="@style/Theme.EasterEggs"
21+
tools:targetApi="tiramisu">
1822
<activity
19-
android:name=".EasterEggsActivity"
23+
android:name=".main.EasterEggsActivity"
2024
android:exported="true"
2125
android:label="@string/title_activity_settings">
2226
<intent-filter>
@@ -28,6 +32,10 @@
2832
android:name="android.app.shortcuts"
2933
android:resource="@xml/shortcuts" />
3034
</activity>
35+
<activity
36+
android:name="com.dede.android_eggs.dino.DinoEggActivity"
37+
android:process=":dino"
38+
android:screenOrientation="landscape" />
3139
</application>
3240

3341
</manifest>

app/src/main/assets/dino3d/css/style.css

Lines changed: 702 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
var
2+
gulp = require("gulp"),
3+
livereload = require("gulp-livereload"),
4+
sass = require("gulp-sass"),
5+
autoprefixer = require("gulp-autoprefixer"),
6+
cleancss = require("gulp-clean-css"),
7+
rename = require("gulp-rename"),
8+
rigger = require("gulp-rigger"),
9+
minify = require("gulp-minify");
10+
11+
gulp.task("reload-css", function() {
12+
return gulp.src('./css/*.scss')
13+
.pipe(sass().on('error', sass.logError))
14+
.pipe(autoprefixer({
15+
browsers: ['last 3 versions'],
16+
cascade: false
17+
}))
18+
.pipe(gulp.dest('./css/'))
19+
.pipe(cleancss({compatibility: 'ie8'}))
20+
.pipe(rename({suffix: '.min'}))
21+
.pipe(gulp.dest('./css/'))
22+
.pipe(livereload());
23+
});
24+
25+
gulp.task("reload-js", function() {
26+
return gulp.src('./js/src/build.js')
27+
.pipe(rigger())
28+
.pipe(minify({
29+
ext: {
30+
min: '.min.js',
31+
mangle: false,
32+
noSource: true,
33+
preserveComments: 'all'
34+
}
35+
}))
36+
.pipe(gulp.dest('./js'))
37+
});
38+
39+
gulp.task("default", function() {
40+
livereload.listen();
41+
gulp.watch('./css/*.scss', gulp.series('reload-css'));
42+
gulp.watch('./js/src/*.js', gulp.series('reload-js'));
43+
gulp.watch('./js/src/*/*.js', gulp.series('reload-js'));
44+
});

0 commit comments

Comments
 (0)