Skip to content

Commit e46ec40

Browse files
committed
n
0 parents  commit e46ec40

20 files changed

+763
-0
lines changed

Test3/.classpath

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
4+
<classpathentry kind="src" path="src"/>
5+
<classpathentry kind="src" path="gen"/>
6+
<classpathentry kind="output" path="bin"/>
7+
</classpath>

Test3/.project

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>Test3</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
<buildCommand>
19+
<name>org.eclipse.jdt.core.javabuilder</name>
20+
<arguments>
21+
</arguments>
22+
</buildCommand>
23+
<buildCommand>
24+
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
25+
<arguments>
26+
</arguments>
27+
</buildCommand>
28+
</buildSpec>
29+
<natures>
30+
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
31+
<nature>org.eclipse.jdt.core.javanature</nature>
32+
</natures>
33+
</projectDescription>

Test3/AndroidManifest.xml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.yeonsik.test3"
4+
android:versionCode="1"
5+
android:versionName="1.0">
6+
7+
8+
<application android:icon="@drawable/icon" android:label="@string/app_name">
9+
<activity android:name=".MainActivity"
10+
android:label="@string/app_name">
11+
<intent-filter>
12+
<action android:name="android.intent.action.MAIN" />
13+
<category android:name="android.intent.category.LAUNCHER" />
14+
</intent-filter>
15+
</activity>
16+
17+
</application>
18+
</manifest>

Test3/default.properties

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file is automatically generated by Android Tools.
2+
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3+
#
4+
# This file must be checked in Version Control Systems.
5+
#
6+
# To customize properties used by the Ant build system use,
7+
# "build.properties", and override values to adapt the script to your
8+
# project structure.
9+
10+
# Project target.
11+
target=android-9

Test3/gen/com/yeonsik/test3/R.java

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* AUTO-GENERATED FILE. DO NOT MODIFY.
2+
*
3+
* This class was automatically generated by the
4+
* aapt tool from the resource data it found. It
5+
* should not be modified by hand.
6+
*/
7+
8+
package com.yeonsik.test3;
9+
10+
public final class R {
11+
public static final class attr {
12+
}
13+
public static final class drawable {
14+
public static final int icon=0x7f020000;
15+
}
16+
public static final class id {
17+
public static final int image=0x7f050002;
18+
public static final int listview=0x7f050000;
19+
public static final int main_layout=0x7f050001;
20+
public static final int title=0x7f050003;
21+
}
22+
public static final class layout {
23+
public static final int drag_sample=0x7f030000;
24+
public static final int listviewdemo=0x7f030001;
25+
public static final int main=0x7f030002;
26+
public static final int viewitem=0x7f030003;
27+
}
28+
public static final class string {
29+
public static final int app_name=0x7f040001;
30+
public static final int hello=0x7f040000;
31+
}
32+
}

Test3/proguard.cfg

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
-optimizationpasses 5
2+
-dontusemixedcaseclassnames
3+
-dontskipnonpubliclibraryclasses
4+
-dontpreverify
5+
-verbose
6+
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
7+
8+
-keep public class * extends android.app.Activity
9+
-keep public class * extends android.app.Application
10+
-keep public class * extends android.app.Service
11+
-keep public class * extends android.content.BroadcastReceiver
12+
-keep public class * extends android.content.ContentProvider
13+
-keep public class com.android.vending.licensing.ILicensingService
14+
15+
-keepclasseswithmembernames class * {
16+
native <methods>;
17+
}
18+
19+
-keepclasseswithmembernames class * {
20+
public <init>(android.content.Context, android.util.AttributeSet);
21+
}
22+
23+
-keepclasseswithmembernames class * {
24+
public <init>(android.content.Context, android.util.AttributeSet, int);
25+
}
26+
27+
-keepclassmembers enum * {
28+
public static **[] values();
29+
public static ** valueOf(java.lang.String);
30+
}
31+
32+
-keep class * implements android.os.Parcelable {
33+
public static final android.os.Parcelable$Creator *;
34+
}

Test3/res/drawable-hdpi/icon.png

4.05 KB
Loading

Test3/res/drawable-ldpi/icon.png

1.68 KB
Loading

Test3/res/drawable-mdpi/icon.png

2.51 KB
Loading

Test3/res/layout/drag_sample.xml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<FrameLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:layout_width="match_parent"
5+
android:layout_height="match_parent">
6+
</FrameLayout>

Test3/res/layout/listviewdemo.xml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:orientation="vertical"
5+
android:layout_width="fill_parent"
6+
android:layout_height="fill_parent"
7+
android:background="#fff"
8+
>
9+
10+
<com.yeonsik.test3.HorizontialListView
11+
android:id="@+id/listview"
12+
android:layout_width="fill_parent"
13+
android:layout_height="wrap_content"
14+
android:background="#ddd"
15+
/>
16+
17+
</LinearLayout>

Test3/res/layout/main.xml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:id="@+id/main_layout"
4+
android:orientation="vertical"
5+
android:layout_width="fill_parent"
6+
android:layout_height="fill_parent"
7+
>
8+
<TextView
9+
android:layout_width="fill_parent"
10+
android:layout_height="wrap_content"
11+
android:text="ds,jfhdsaklfjkldsjfl;kdsjfl;kdsjflk;ewjd;lfkasdjl;"
12+
android:longClickable="true"
13+
/>
14+
<ListView
15+
android:id="@+id/android:id/list"
16+
android:layout_width="fill_parent"
17+
android:layout_height="200px"
18+
/>
19+
</LinearLayout>

Test3/res/layout/viewitem.xml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
4+
android:orientation="vertical"
5+
android:layout_width="wrap_content"
6+
android:layout_height="wrap_content"
7+
android:background="#fff"
8+
>
9+
10+
<ImageView
11+
android:id="@+id/image"
12+
android:layout_width="150dip"
13+
android:layout_height="150dip"
14+
android:scaleType="centerCrop"
15+
android:src="@drawable/icon"
16+
/>
17+
18+
<TextView
19+
android:id="@+id/title"
20+
android:layout_width="fill_parent"
21+
android:layout_height="wrap_content"
22+
android:textColor="#000"
23+
android:gravity="center_horizontal"
24+
/>
25+
26+
</LinearLayout>

Test3/res/values/strings.xml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="hello">Hello World, MainActivity!</string>
4+
<string name="app_name">Test3</string>
5+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
package com.yeonsik.test3;
2+
3+
public class FontSettingItemVisibleInfo {
4+
private boolean mVisibleFontSize;
5+
private boolean mVisibleFontWidth;
6+
private boolean mVisibleFontType;
7+
8+
public FontSettingItemVisibleInfo(boolean visibleFontSize,
9+
boolean visibleFontWidth, boolean visibleFontType) {
10+
mVisibleFontSize = visibleFontSize;
11+
mVisibleFontWidth = visibleFontWidth;
12+
mVisibleFontType = visibleFontType;
13+
}
14+
15+
16+
public boolean getVisibleFontSize() {
17+
return mVisibleFontSize;
18+
}
19+
20+
public void setVisibleFontSize(boolean visibleFontSize) {
21+
mVisibleFontSize = visibleFontSize;
22+
}
23+
24+
public boolean getVisibleFontWidth() {
25+
return mVisibleFontWidth;
26+
}
27+
28+
public void setVisibleFontWidth(boolean visibleFontWidth) {
29+
mVisibleFontWidth = visibleFontWidth;
30+
}
31+
32+
public boolean getVisibleFontType() {
33+
return mVisibleFontType;
34+
}
35+
36+
public void setVisibleFontType(boolean visibleFontType) {
37+
mVisibleFontType = visibleFontType;
38+
}
39+
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
package com.yeonsik.test3;
2+
3+
public class FontSettingSelectionModelType extends OSDSelectionModelTypeBase {
4+
public FontSettingSelectionModelType() {
5+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false); // Book Pdf
6+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false); // Book webview
7+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false); // EPub Pdf
8+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false);
9+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false);
10+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false);
11+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false);
12+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false);
13+
setFontSettingMenuItemVisibleInfo(BOOK_PDF, true, true, false);
14+
15+
}
16+
}

0 commit comments

Comments
 (0)