Skip to content

Commit d07340e

Browse files
committed
Move all projects to the top level
1 parent a28065d commit d07340e

File tree

234 files changed

+2832
-234
lines changed

Some content is hidden

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

234 files changed

+2832
-234
lines changed

AIDLDemo/build.xml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project name="AIDLDemo" default="help">
3+
4+
<!-- The local.properties file is created and updated by the 'android'
5+
tool.
6+
It contains the path to the SDK. It should *NOT* be checked into
7+
Version Control Systems. -->
8+
<property file="local.properties" />
9+
10+
<!-- The build.properties file can be created by you and is never touched
11+
by the 'android' tool. This is the place to change some of the
12+
default property values used by the Ant rules.
13+
Here are some properties you may want to change/update:
14+
15+
source.dir
16+
The name of the source directory. Default is 'src'.
17+
out.dir
18+
The name of the output directory. Default is 'bin'.
19+
20+
Properties related to the SDK location or the project target should
21+
be updated using the 'android' tool with the 'update' action.
22+
23+
This file is an integral part of the build system for your
24+
application and should be checked into Version Control Systems.
25+
26+
-->
27+
<property file="build.properties" />
28+
29+
<!-- The default.properties file is created and updated by the 'android'
30+
tool, as well as ADT.
31+
This file is an integral part of the build system for your
32+
application and should be checked into Version Control Systems. -->
33+
<property file="default.properties" />
34+
35+
36+
<!-- Required pre-setup import -->
37+
<import file="${sdk.dir}/tools/ant/pre_setup.xml" />
38+
39+
40+
<!-- extension targets. Uncomment the ones where you want to do custom work
41+
in between standard targets -->
42+
<!--
43+
<target name="-pre-build">
44+
</target>
45+
<target name="-pre-compile">
46+
</target>
47+
48+
[This is typically used for code obfuscation.
49+
Compiled code location: ${out.classes.absolute.dir}
50+
If this is not done in place, override ${out.dex.input.absolute.dir}]
51+
<target name="-post-compile">
52+
</target>
53+
-->
54+
55+
<!-- Execute the Android Setup task that will setup some properties
56+
specific to the target, and import the build rules files.
57+
58+
The rules file is imported from
59+
<SDK>/tools/ant/
60+
Depending on the project type it can be either:
61+
- main_rules.xml
62+
- lib_rules.xml
63+
- test_rules.xml
64+
65+
To customize existing targets, there are two options:
66+
- Customize only one target:
67+
- copy/paste the target into this file, *before* the
68+
<setup> task.
69+
- customize it to your needs.
70+
- Customize the whole script.
71+
- copy/paste the content of the rules files (minus the top node)
72+
into this file, *after* the <setup> task
73+
- disable the import of the rules by changing the setup task
74+
below to <setup import="false" />.
75+
- customize to your needs.
76+
-->
77+
<setup />
78+
79+
</project>

AIDLDemo/default.properties

Lines changed: 0 additions & 11 deletions
This file was deleted.

ClientServerDemo/ClientDemo/proguard.cfg renamed to AIDLDemo/proguard.cfg

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,26 @@
1010
-keep public class * extends android.app.Service
1111
-keep public class * extends android.content.BroadcastReceiver
1212
-keep public class * extends android.content.ContentProvider
13+
-keep public class * extends android.app.backup.BackupAgentHelper
14+
-keep public class * extends android.preference.Preference
1315
-keep public class com.android.vending.licensing.ILicensingService
1416

1517
-keepclasseswithmembernames class * {
1618
native <methods>;
1719
}
1820

19-
-keepclasseswithmembernames class * {
21+
-keepclasseswithmembers class * {
2022
public <init>(android.content.Context, android.util.AttributeSet);
2123
}
2224

23-
-keepclasseswithmembernames class * {
25+
-keepclasseswithmembers class * {
2426
public <init>(android.content.Context, android.util.AttributeSet, int);
2527
}
2628

29+
-keepclassmembers class * extends android.app.Activity {
30+
public void *(android.view.View);
31+
}
32+
2733
-keepclassmembers enum * {
2834
public static **[] values();
2935
public static ** valueOf(java.lang.String);

FinchLifecycle/default.properties renamed to AIDLDemo/project.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# This file must be checked in Version Control Systems.
55
#
66
# To customize properties used by the Ant build system use,
7-
# "build.properties", and override values to adapt the script to your
7+
# "ant.properties", and override values to adapt the script to your
88
# project structure.
99

1010
# Project target.
11-
target=android-11
11+
target=android-14

AIDLDemo/tools/ide/classpath

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

AIDLDemo/tools/ide/project

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>AIDLDemo</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>

AndroidUIDemo/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
/assets
33
/.project
44
/.classpath
5+
/.settings
56
/bin

AndroidUIDemo/build.xml

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project name="TouchMe" default="help">
3+
4+
<!-- The local.properties file is created and updated by the 'android'
5+
tool.
6+
It contains the path to the SDK. It should *NOT* be checked into
7+
Version Control Systems. -->
8+
<property file="local.properties" />
9+
10+
<!-- The build.properties file can be created by you and is never touched
11+
by the 'android' tool. This is the place to change some of the
12+
default property values used by the Ant rules.
13+
Here are some properties you may want to change/update:
14+
15+
source.dir
16+
The name of the source directory. Default is 'src'.
17+
out.dir
18+
The name of the output directory. Default is 'bin'.
19+
20+
Properties related to the SDK location or the project target should
21+
be updated using the 'android' tool with the 'update' action.
22+
23+
This file is an integral part of the build system for your
24+
application and should be checked into Version Control Systems.
25+
26+
-->
27+
<property file="build.properties" />
28+
29+
<!-- The default.properties file is created and updated by the 'android'
30+
tool, as well as ADT.
31+
This file is an integral part of the build system for your
32+
application and should be checked into Version Control Systems. -->
33+
<property file="default.properties" />
34+
35+
36+
<!-- Required pre-setup import -->
37+
<import file="${sdk.dir}/tools/ant/pre_setup.xml" />
38+
39+
40+
<!-- extension targets. Uncomment the ones where you want to do custom work
41+
in between standard targets -->
42+
<!--
43+
<target name="-pre-build">
44+
</target>
45+
<target name="-pre-compile">
46+
</target>
47+
48+
[This is typically used for code obfuscation.
49+
Compiled code location: ${out.classes.absolute.dir}
50+
If this is not done in place, override ${out.dex.input.absolute.dir}]
51+
<target name="-post-compile">
52+
</target>
53+
-->
54+
55+
<!-- Execute the Android Setup task that will setup some properties
56+
specific to the target, and import the build rules files.
57+
58+
The rules file is imported from
59+
<SDK>/tools/ant/
60+
Depending on the project type it can be either:
61+
- main_rules.xml
62+
- lib_rules.xml
63+
- test_rules.xml
64+
65+
To customize existing targets, there are two options:
66+
- Customize only one target:
67+
- copy/paste the target into this file, *before* the
68+
<setup> task.
69+
- customize it to your needs.
70+
- Customize the whole script.
71+
- copy/paste the content of the rules files (minus the top node)
72+
into this file, *after* the <setup> task
73+
- disable the import of the rules by changing the setup task
74+
below to <setup import="false" />.
75+
- customize to your needs.
76+
-->
77+
<setup />
78+
79+
</project>

AndroidUIDemo/default.properties

Lines changed: 0 additions & 22 deletions
This file was deleted.

AndroidUIDemo/proguard.cfg

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 * extends android.app.backup.BackupAgentHelper
14+
-keep public class * extends android.preference.Preference
15+
-keep public class com.android.vending.licensing.ILicensingService
16+
17+
-keepclasseswithmembernames class * {
18+
native <methods>;
19+
}
20+
21+
-keepclasseswithmembers class * {
22+
public <init>(android.content.Context, android.util.AttributeSet);
23+
}
24+
25+
-keepclasseswithmembers class * {
26+
public <init>(android.content.Context, android.util.AttributeSet, int);
27+
}
28+
29+
-keepclassmembers class * extends android.app.Activity {
30+
public void *(android.view.View);
31+
}
32+
33+
-keepclassmembers enum * {
34+
public static **[] values();
35+
public static ** valueOf(java.lang.String);
36+
}
37+
38+
-keep class * implements android.os.Parcelable {
39+
public static final android.os.Parcelable$Creator *;
40+
}

0 commit comments

Comments
 (0)