{
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/app/src/androidTest/java/com/hippo/ehviewer/CookieDBTest.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer;
18 |
19 | import junit.framework.TestCase;
20 |
21 | public class CookieDBTest extends TestCase {
22 | }
23 |
--------------------------------------------------------------------------------
/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
22 |
23 |
24 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/debug/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/debug/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/debug/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/debug/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/debug/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/debug/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/debug/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/debug/res/values-es/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | EhViewer Debug
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/debug/res/values-ja/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | EhViewer Debug
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/debug/res/values-ko/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | EhViewer Debug
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/debug/res/values-zh-rCN/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | EhViewer Debug
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/debug/res/values-zh-rHK/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | EhViewer Debug
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/debug/res/values-zh-rTW/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | EhViewer Debug
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/debug/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | EhViewer Debug
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/annotation/Implemented.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.annotation;
18 |
19 | import java.lang.annotation.ElementType;
20 | import java.lang.annotation.Retention;
21 | import java.lang.annotation.RetentionPolicy;
22 | import java.lang.annotation.Target;
23 |
24 | @Retention(RetentionPolicy.SOURCE)
25 | @Target({ElementType.METHOD})
26 | public @interface Implemented {
27 | Class value();
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/EhRequestBuilder.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client;
18 |
19 | import com.hippo.okhttp.ChromeRequestBuilder;
20 |
21 | public class EhRequestBuilder extends ChromeRequestBuilder {
22 |
23 | public EhRequestBuilder(String url, String referer) {
24 | this(url, referer, null);
25 | }
26 |
27 | public EhRequestBuilder(String url, String referer, String origin) {
28 | super(url);
29 | if (referer != null) {
30 | addHeader("Referer", referer);
31 | }
32 | if (origin != null) {
33 | addHeader("Origin", origin);
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/data/PreviewSet.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.data;
18 |
19 | import android.os.Parcelable;
20 |
21 | import com.hippo.widget.LoadImageView;
22 |
23 | public abstract class PreviewSet implements Parcelable {
24 |
25 | public abstract int size();
26 |
27 | public abstract int getPosition(int index);
28 |
29 | public abstract String getPageUrlAt(int index);
30 |
31 | public abstract GalleryPreview getGalleryPreview(long gid, int index);
32 |
33 | public abstract void load(LoadImageView view, long gid, int index);
34 | }
35 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/exception/CancelledException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.exception;
18 |
19 | public class CancelledException extends Exception {
20 |
21 | public CancelledException() {
22 | super("CANCELED");
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/exception/EhException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.exception;
18 |
19 | public class EhException extends Exception {
20 |
21 | public EhException(String detailMessage) {
22 | super(detailMessage);
23 | }
24 |
25 | public EhException(String detailMessage, Throwable cause) {
26 | super(detailMessage, cause);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/exception/Image509Exception.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.exception;
18 |
19 | public class Image509Exception extends EhException {
20 |
21 | public Image509Exception() {
22 | super("509");
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/exception/NoHAtHClientException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.exception;
18 |
19 | public class NoHAtHClientException extends EhException {
20 |
21 | public NoHAtHClientException(String detailMessage) {
22 | super(detailMessage);
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/exception/OffensiveException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.exception;
18 |
19 | /**
20 | * It is an exception for get offensive tip for g.e-hentai.org
21 | */
22 | public class OffensiveException extends EhException {
23 |
24 | public OffensiveException() {
25 | super("OFFENSIVE");
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/exception/ParseException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.exception;
18 |
19 | public class ParseException extends EhException {
20 |
21 | private String mBody;
22 |
23 | public ParseException(String detailMessage, String body) {
24 | super(detailMessage);
25 | mBody = body;
26 | }
27 |
28 | public ParseException(String detailMessage, String body, Throwable cause) {
29 | super(detailMessage, cause);
30 | mBody = body;
31 | }
32 |
33 | public String getBody() {
34 | return mBody;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/client/exception/PiningException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2015 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.client.exception;
18 |
19 | public class PiningException extends EhException {
20 |
21 | public PiningException() {
22 | super("pining for the fjords");
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/ui/annotation/WholeLifeCircle.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.ui.annotation;
18 |
19 | import android.app.Activity;
20 | import android.app.Fragment;
21 | import android.os.Bundle;
22 |
23 | import java.lang.annotation.ElementType;
24 | import java.lang.annotation.Retention;
25 | import java.lang.annotation.RetentionPolicy;
26 | import java.lang.annotation.Target;
27 |
28 | /**
29 | * Created in {@link Fragment#onCreate(Bundle)} or {@link Activity#onCreate(Bundle)},
30 | * destroyed in {@link Fragment#onDestroy()} or {@link Activity#onDestroy()}.
31 | */
32 | @Retention(RetentionPolicy.SOURCE)
33 | @Target({ElementType.FIELD})
34 | public @interface WholeLifeCircle {
35 | }
36 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/ui/fragment/ReadFragment.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.ui.fragment;
18 |
19 | import android.os.Bundle;
20 | import android.preference.PreferenceFragment;
21 |
22 | import com.hippo.ehviewer.R;
23 |
24 | public class ReadFragment extends PreferenceFragment {
25 |
26 | @Override
27 | public void onCreate(Bundle savedInstanceState) {
28 | super.onCreate(savedInstanceState);
29 | addPreferencesFromResource(R.xml.read_settings);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/ehviewer/ui/scene/TransitionNameFactory.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.ui.scene;
18 |
19 | public final class TransitionNameFactory {
20 |
21 | public static String getThumbTransitionName(long gid) {
22 | return "thumb:" + gid;
23 | }
24 |
25 | public static String getTitleTransitionName(long gid) {
26 | return "title:" + gid;
27 | }
28 |
29 | public static String getUploaderTransitionName(long gid) {
30 | return "uploader:" + gid;
31 | }
32 |
33 | public static String getCategoryTransitionName(long gid) {
34 | return "category:" + gid;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/network/Network.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (C) 2014 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.network;
18 |
19 | import android.content.Context;
20 | import android.net.ConnectivityManager;
21 | import android.net.NetworkInfo;
22 |
23 | public final class Network {
24 | private Network() {}
25 |
26 | public static int getActiveNetworkType(Context context) {
27 | ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
28 | NetworkInfo activeNetwork = cm.getActiveNetworkInfo();
29 | if (activeNetwork != null) {
30 | return activeNetwork.getType();
31 | } else {
32 | return -1;
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/reveal/Reveal.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.reveal;
18 |
19 | public interface Reveal {
20 |
21 | void setRevealEnable(boolean enable);
22 |
23 | void setReveal(int centerX, int centerY, float radius);
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/scene/TransitionHelper.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.scene;
18 |
19 | import android.content.Context;
20 | import androidx.fragment.app.Fragment;
21 | import androidx.fragment.app.FragmentTransaction;
22 |
23 | public interface TransitionHelper {
24 |
25 | boolean onTransition(Context context, FragmentTransaction transaction, Fragment exit, Fragment enter);
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/util/HashCodeUtils.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2017 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.util;
18 | /*
19 | * Created by Hippo on 2017/9/4.
20 | */
21 |
22 | public class HashCodeUtils {
23 |
24 | private static final int X = 31;
25 |
26 | /**
27 | * {@code
28 | * args[0].hashCode()*31^(n-1) + args[1].hashCode()*31^(n-2) + ... + args[n-1].hashCode()
29 | * }
30 | * Returns 0 if {@code args == null}.
31 | */
32 | public static int hashCode(Object... args) {
33 | if (args == null) {
34 | return 0;
35 | }
36 | int hash = 0;
37 | for (Object o: args) {
38 | hash = X * hash + (o != null ? o.hashCode() : 0);
39 | }
40 | return hash;
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/app/src/main/java/com/hippo/util/MutableBoolean.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2019 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.util;
18 |
19 | public class MutableBoolean {
20 |
21 | public boolean value;
22 |
23 | public MutableBoolean(boolean value) {
24 | this.value = value;
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/accelerate_quart.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/decelerate_quart.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/decelerate_quint.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/decelerate_terz.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/scene_close_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
20 |
21 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/scene_open_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
20 |
21 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/color/content_reactive_black.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/color/content_reactive_dark.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/color/content_reactive_light.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/color/primary_text_material_black.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi-v15/sadpanda_low_poly.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-hdpi-v15/sadpanda_low_poly.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/drawer_shadow_left.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-hdpi/drawer_shadow_left.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/drawer_shadow_right.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-hdpi/drawer_shadow_right.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_fp_40px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-hdpi/ic_fp_40px.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_pause_x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-hdpi/ic_pause_x24.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_stat_alert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-hdpi/ic_stat_alert.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi-v15/sadpanda_low_poly.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-mdpi-v15/sadpanda_low_poly.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/drawer_shadow_left.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-mdpi/drawer_shadow_left.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/drawer_shadow_right.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-mdpi/drawer_shadow_right.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_fp_40px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-mdpi/ic_fp_40px.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_pause_x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-mdpi/ic_pause_x24.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_stat_alert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-mdpi/ic_stat_alert.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v25/ic_shortcut_start.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v25/ic_shortcut_stop.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
11 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v26/ic_shortcut_start.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v26/ic_shortcut_stop.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi-v15/sadpanda_low_poly.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xhdpi-v15/sadpanda_low_poly.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/drawer_shadow_left.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xhdpi/drawer_shadow_left.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/drawer_shadow_right.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xhdpi/drawer_shadow_right.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_fp_40px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xhdpi/ic_fp_40px.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_pause_x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xhdpi/ic_pause_x24.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_stat_alert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xhdpi/ic_stat_alert.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi-v15/sadpanda_low_poly.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi-v15/sadpanda_low_poly.webp
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/drawer_shadow_left.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi/drawer_shadow_left.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/drawer_shadow_right.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi/drawer_shadow_right.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_fp_40px.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi/ic_fp_40px.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_pause_x24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi/ic_pause_x24.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_stat_alert.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi/ic_stat_alert.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/shadow_2dp.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi/shadow_2dp.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/shadow_8dp.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/drawable-xxhdpi/shadow_8dp.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/big_download.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/big_filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/big_history.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/big_label.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/big_search.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/divider_gallery_detail_dark.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
20 |
21 |
23 |
24 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/divider_gallery_detail_light.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
20 |
21 |
23 |
24 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_pause_108dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_play_arrow_108dp.xml:
--------------------------------------------------------------------------------
1 |
6 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/image_failed.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/preference_header_background_black.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/preference_header_background_dark.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/preference_header_background_light.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/shadow_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
22 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/shadow_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
22 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/spacer_keyline.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
22 |
25 |
26 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/spacer_x6.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
21 |
22 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tile_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_adb_primary_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_alert_red_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_archive_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_arrow_left_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_book_open_primary_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_book_open_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_bug_black_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_chart_accent_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_check_all_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_check_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_clear_all_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_close_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_cookie_brown_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_copy_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_delete_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_delete_red_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_delete_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_dots_vertical_secondary_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_download_black_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_download_box_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_download_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_download_primary_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_download_x16.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_download_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_eh_subscription_black_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_file_find_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_fire_black_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_folder_move_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_go_to_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_heart_black_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_heart_box_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_heart_broken_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_heart_outline_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_heart_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_heart_x16.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_heart_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_help_circle_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_history_black_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_homepage_black_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_info_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_info_outline_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_info_primary_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_magnify_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_magnify_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_pause_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_pause_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_pencil_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_play_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_play_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_plus_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_refresh_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_reorder_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_reply_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_sad_panda_primary_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_sec_primary_x24.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_send_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_settings_black_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_settings_dark_x24.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_share_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_similar_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_slider_bubble.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_star_half_x16.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_star_outline_x16.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_star_x16.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_thumb_up_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/v_utorrent_primary_x48.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
24 |
25 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_toolbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/button_guide.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/dialog_recycler_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/gallery_detail_progress.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
23 |
24 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/gallery_tag_group.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_cute_spinner_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_dir_explorer.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_filter_header.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_gallery_comment_more.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
23 |
24 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_gallery_comment_progress.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
23 |
24 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_gallery_tag.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_history.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
22 |
23 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/item_simple_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/preference_widget_fixed_switch.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
20 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/scene_gallery_info.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/scene_gallery_previews.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/search_advance.xml:
--------------------------------------------------------------------------------
1 |
2 |
16 |
17 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/search_image.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/widget_gallery_guide_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
20 |
21 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/activity_filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/activity_u_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/drawer_download.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/drawer_favorites.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/drawer_gallery_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/scene_download_label.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/scene_gallery_detail.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
30 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/scene_gallery_previews.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/scene_history.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
29 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/transition-v21/trans_move.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/res/transition-v22/trans_move.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/transition/trans_fade.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/app/src/main/res/transition/trans_move.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/values-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | 72dp
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/values-large/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | 56dp
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/values-sw720dp-land/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | 76dp
22 |
23 | 76dp
24 |
25 |
26 | 76dp
27 |
28 |
29 | 76dp
30 |
31 |
32 |
--------------------------------------------------------------------------------
/app/src/main/res/values-sw720dp-w1280dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | 64dp
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/values-sw720dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/values-zh-rCN/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | - tag-translations-zh-rCN.sha1
22 | - https://github.com/seven332/EhViewer/raw/tag-translations/tag-translations/tag-translations-zh-rCN.sha1
23 | - tag-translations-zh-rCN
24 | - https://github.com/seven332/EhViewer/raw/tag-translations/tag-translations/tag-translations-zh-rCN
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/values-zh-rHK/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | - tag-translations-zh-rCN.sha1
22 | - https://github.com/seven332/EhViewer/raw/tag-translations/tag-translations/tag-translations-zh-rCN.sha1
23 | - tag-translations-zh-rCN
24 | - https://github.com/seven332/EhViewer/raw/tag-translations/tag-translations/tag-translations-zh-rCN
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/values-zh-rTW/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 | - tag-translations-zh-rCN.sha1
22 | - https://github.com/seven332/EhViewer/raw/tag-translations/tag-translations/tag-translations-zh-rCN.sha1
23 | - tag-translations-zh-rCN
24 | - https://github.com/seven332/EhViewer/raw/tag-translations/tag-translations/tag-translations-zh-rCN
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/app/src/main/res/values/analytics.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | UA-51287788-1
21 | true
22 | error
23 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/res/values/bools.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 | false
21 | true
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/values/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 | @color/grey_200
20 | @color/grey_800
21 | @color/grey_900
22 | @android:color/transparent
23 | #7f9c27b0
24 | @color/colorPrimary
25 |
26 |
27 |
--------------------------------------------------------------------------------
/app/src/main/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/backup_scheme.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/filepaths.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/network_security_config.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/app/src/test/resources/com/hippo/ehviewer/client/EhTagDatabaseTest:
--------------------------------------------------------------------------------
1 | L1
YQ==
2 | 12
YWI=
3 | 123
YWJj
4 | 1234
YWJjZA==
5 | a
MQ==
6 | ab
MTI=
7 | abc
MTIz
8 | abcd
MTIzNA==
9 |
--------------------------------------------------------------------------------
/art/launcher_icon-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/art/launcher_icon-web.png
--------------------------------------------------------------------------------
/art/screenshot-01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/art/screenshot-01.png
--------------------------------------------------------------------------------
/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | google()
6 | jcenter()
7 | maven { url "https://maven.fabric.io/public" }
8 | maven { url "https://jitpack.io" }
9 | }
10 | dependencies {
11 | classpath 'com.android.tools.build:gradle:3.4.2'
12 | classpath 'com.google.gms:google-services:4.3.0'
13 | classpath 'io.fabric.tools:gradle:1.27.1'
14 |
15 | // NOTE: Do not place your application dependencies here; they belong
16 | // in the individual module build.gradle files
17 | }
18 | }
19 |
20 | allprojects {
21 | repositories {
22 | google()
23 | jcenter()
24 | maven { url "https://jitpack.io" }
25 | }
26 | }
27 |
28 | task clean(type: Delete) {
29 | delete rootProject.buildDir
30 | }
31 |
--------------------------------------------------------------------------------
/daogenerator/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/daogenerator/build.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | apply plugin: 'java'
18 |
19 | task executeDaoGenerator(type:JavaExec) {
20 | main = 'com.hippo.ehviewer.daogenerator.Main'
21 | classpath = sourceSets.main.runtimeClasspath
22 | }
23 |
24 | dependencies {
25 | compile fileTree(dir: 'libs', include: ['*.jar'])
26 | compile 'org.greenrobot:greendao-generator:2.2.0'
27 | compile 'org.jboss.forge.roaster:roaster-api:2.20.1.Final'
28 | compile 'org.jboss.forge.roaster:roaster-jdt:2.20.1.Final'
29 | }
30 |
--------------------------------------------------------------------------------
/daogenerator/src/main/java/com/hippo/ehviewer/daogenerator/Main.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2016 Hippo Seven
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.hippo.ehviewer.daogenerator;
18 |
19 | public class Main {
20 |
21 | public static void main(String args[]) throws Exception {
22 | EhDaoGenerator.generate();
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/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
19 |
20 | android.useAndroidX=true
21 | android.enableJetifier=true
22 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/seven332/EhViewer/ba6d41b91f53b0835f73fb2903b5c4ff1259786c/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | distributionBase=GRADLE_USER_HOME
2 | distributionPath=wrapper/dists
3 | zipStoreBase=GRADLE_USER_HOME
4 | zipStorePath=wrapper/dists
5 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-all.zip
6 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app', ':daogenerator'
2 |
--------------------------------------------------------------------------------