Skip to content

Commit f31178e

Browse files
author
north2014
committed
1
0 parents  commit f31178e

Some content is hidden

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

71 files changed

+1253
-0
lines changed

AudioText/.classpath

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

AudioText/.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>AudioTest</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>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
eclipse.preferences.version=1
2+
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
3+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
4+
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
5+
org.eclipse.jdt.core.compiler.compliance=1.6
6+
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
7+
org.eclipse.jdt.core.compiler.debug.localVariable=generate
8+
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
9+
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
10+
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11+
org.eclipse.jdt.core.compiler.source=1.6

AudioText/AndroidManifest.xml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.example.audiotext"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="8"
9+
android:targetSdkVersion="18" />
10+
11+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
12+
13+
<application
14+
android:allowBackup="true"
15+
android:icon="@drawable/a"
16+
android:label="@string/app_name"
17+
android:theme="@style/AppTheme" >
18+
<activity
19+
android:name="com.example.audiotext.AudioFxActivity"
20+
android:label="@string/app_name" >
21+
<intent-filter>
22+
<action android:name="android.intent.action.MAIN" />
23+
24+
<category android:name="android.intent.category.LAUNCHER" />
25+
</intent-filter>
26+
</activity>
27+
</application>
28+
29+
</manifest>

AudioText/bin/AndroidManifest.xml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.example.audiotext"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="8"
9+
android:targetSdkVersion="18" />
10+
11+
<uses-permission android:name="android.permission.RECORD_AUDIO" />
12+
13+
<application
14+
android:allowBackup="true"
15+
android:icon="@drawable/a"
16+
android:label="@string/app_name"
17+
android:theme="@style/AppTheme" >
18+
<activity
19+
android:name="com.example.audiotext.AudioFxActivity"
20+
android:label="@string/app_name" >
21+
<intent-filter>
22+
<action android:name="android.intent.action.MAIN" />
23+
24+
<category android:name="android.intent.category.LAUNCHER" />
25+
</intent-filter>
26+
</activity>
27+
</application>
28+
29+
</manifest>

AudioText/bin/AudioTest.apk

2.81 MB
Binary file not shown.

AudioText/bin/AudioText.apk

2.81 MB
Binary file not shown.

AudioText/bin/classes.dex

694 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
750 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

AudioText/bin/jarlist.cache

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# cache for current jar dependency. DO NOT EDIT.
2+
# format is <lastModified> <length> <SHA-1> <path>
3+
# Encoding is UTF-8
161 KB

AudioText/bin/resources.ap_

2.58 MB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/** Automatically generated file. DO NOT MODIFY */
2+
package com.example.audiotext;
3+
4+
public final class BuildConfig {
5+
public final static boolean DEBUG = true;
6+
}
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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.example.audiotext;
9+
10+
public final class R {
11+
public static final class attr {
12+
}
13+
public static final class dimen {
14+
/** Default screen margins, per the Android Design guidelines.
15+
16+
Customize dimensions originally defined in res/values/dimens.xml (such as
17+
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
18+
19+
*/
20+
public static final int activity_horizontal_margin=0x7f050000;
21+
public static final int activity_vertical_margin=0x7f050001;
22+
}
23+
public static final class drawable {
24+
public static final int a=0x7f020000;
25+
public static final int ic_launcher=0x7f020001;
26+
public static final int seek=0x7f020002;
27+
public static final int seek_bg=0x7f020003;
28+
public static final int seek_thumb=0x7f020004;
29+
public static final int seekbar_horizontal=0x7f020005;
30+
}
31+
public static final class id {
32+
public static final int action_settings=0x7f090002;
33+
public static final int ll=0x7f090000;
34+
public static final int seekbar=0x7f090001;
35+
}
36+
public static final class layout {
37+
public static final int activity_main=0x7f030000;
38+
}
39+
public static final class menu {
40+
public static final int main=0x7f080000;
41+
}
42+
public static final class raw {
43+
public static final int a=0x7f040000;
44+
}
45+
public static final class string {
46+
public static final int action_settings=0x7f060001;
47+
public static final int app_name=0x7f060000;
48+
public static final int hello_world=0x7f060002;
49+
}
50+
public static final class style {
51+
/**
52+
Base application theme, dependent on API level. This theme is replaced
53+
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
54+
55+
56+
57+
Theme customizations available in newer API levels can go in
58+
res/values-vXX/styles.xml, while customizations related to
59+
backward-compatibility can go here.
60+
61+
62+
63+
Base application theme for API 11+. This theme completely replaces
64+
AppBaseTheme from res/values/styles.xml on API 11+ devices.
65+
66+
API 11 theme customizations can go here.
67+
68+
Base application theme for API 14+. This theme completely replaces
69+
AppBaseTheme from BOTH res/values/styles.xml and
70+
res/values-v11/styles.xml on API 14+ devices.
71+
72+
API 14 theme customizations can go here.
73+
*/
74+
public static final int AppBaseTheme=0x7f070000;
75+
/** Application theme.
76+
All customizations that are NOT specific to a particular API-level can go here.
77+
*/
78+
public static final int AppTheme=0x7f070001;
79+
}
80+
}

AudioText/ic_launcher-web.png

50.2 KB

AudioText/libs/android-support-v4.jar

607 KB
Binary file not shown.

AudioText/lint.xml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<lint>
3+
</lint>

AudioText/proguard-project.txt

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# To enable ProGuard in your project, edit project.properties
2+
# to define the proguard.config property as described in that file.
3+
#
4+
# Add project specific ProGuard rules here.
5+
# By default, the flags in this file are appended to flags specified
6+
# in ${sdk.dir}/tools/proguard/proguard-android.txt
7+
# You can edit the include path and order by changing the ProGuard
8+
# include property in project.properties.
9+
#
10+
# For more details, see
11+
# http://developer.android.com/guide/developing/tools/proguard.html
12+
13+
# Add any project specific keep options here:
14+
15+
# If your project uses WebView with JS, uncomment the following
16+
# and specify the fully qualified class name to the JavaScript interface
17+
# class:
18+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
19+
# public *;
20+
#}

AudioText/project.properties

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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 edit
7+
# "ant.properties", and override values to adapt the script to your
8+
# project structure.
9+
#
10+
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
11+
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
12+
13+
# Project target.
14+
target=android-19

AudioText/res/drawable-hdpi/a.png

163 KB
7.48 KB
1.72 KB
3.69 KB
12.2 KB
24.2 KB

AudioText/res/drawable/seek.xml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
3+
4+
<stroke
5+
android:width="1px"
6+
android:color="#ffffff" />
7+
8+
<solid android:color="#ffffff" />
9+
10+
<corners android:radius="5dp" />
11+
12+
</shape>

AudioText/res/drawable/seek_bg.xml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
3+
4+
<stroke
5+
android:width="1px"
6+
android:color="#d0d0d0" />
7+
8+
<solid android:color="#d0d0d0" />
9+
10+
<corners android:radius="5dp" />
11+
12+
</shape>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
3+
4+
<item
5+
android:id="@android:id/background"
6+
android:drawable="@drawable/seek_bg"/>
7+
<item android:id="@android:id/secondaryProgress">
8+
<clip>
9+
<shape>
10+
<corners android:radius="2.0dip" />
11+
12+
<gradient
13+
android:angle="270.0"
14+
android:centerColor="#80ffb600"
15+
android:centerY="0.75"
16+
android:endColor="#a0ffcb00"
17+
android:startColor="#80ffd300" />
18+
</shape>
19+
</clip>
20+
</item>
21+
<item android:id="@android:id/progress">
22+
<clip android:drawable="@drawable/seek" />
23+
</item>
24+
25+
</layer-list>
+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
xmlns:tools="http://schemas.android.com/tools"
3+
android:layout_width="match_parent"
4+
android:layout_height="match_parent"
5+
android:background="#fff"
6+
android:paddingTop="30dp" >
7+
8+
<LinearLayout
9+
android:id="@+id/ll"
10+
android:layout_width="match_parent"
11+
android:layout_height="wrap_content"
12+
android:layout_alignParentTop="true"
13+
android:orientation="vertical" >
14+
</LinearLayout>
15+
16+
<com.example.audiotext.RoundImageView
17+
android:layout_width="245px"
18+
android:layout_height="245px"
19+
android:layout_alignParentTop="true"
20+
android:layout_centerHorizontal="true"
21+
android:src="@drawable/a" />
22+
23+
<RelativeLayout
24+
android:layout_width="match_parent"
25+
android:layout_height="match_parent"
26+
android:layout_below="@+id/ll"
27+
android:background="#E54B4C" >
28+
29+
<SeekBar
30+
android:id="@+id/seekbar"
31+
android:layout_width="fill_parent"
32+
android:layout_height="wrap_content"
33+
android:layout_centerInParent="true"
34+
android:layout_marginTop="50dip"
35+
android:indeterminateDrawable="@android:drawable/progress_indeterminate_horizontal"
36+
android:indeterminateOnly="false"
37+
android:maxHeight="8.0dp"
38+
android:minHeight="8.0dp"
39+
android:progressDrawable="@drawable/seekbar_horizontal"
40+
android:thumb="@drawable/seek_thumb"
41+
android:thumbOffset="10dp" />
42+
</RelativeLayout>
43+
44+
</RelativeLayout>

AudioText/res/menu/main.xml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
2+
3+
<item
4+
android:id="@+id/action_settings"
5+
android:orderInCategory="100"
6+
android:showAsAction="never"
7+
android:title="@string/action_settings"/>
8+
9+
</menu>

AudioText/res/raw/a.m4a

2.38 MB
Binary file not shown.
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<resources>
2+
3+
<!--
4+
Customize dimensions originally defined in res/values/dimens.xml (such as
5+
screen margins) for sw600dp devices (e.g. 7" tablets) here.
6+
-->
7+
8+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<resources>
2+
3+
<!--
4+
Customize dimensions originally defined in res/values/dimens.xml (such as
5+
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
6+
-->
7+
<dimen name="activity_horizontal_margin">128dp</dimen>
8+
9+
</resources>

AudioText/res/values-v11/styles.xml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<resources>
2+
3+
<!--
4+
Base application theme for API 11+. This theme completely replaces
5+
AppBaseTheme from res/values/styles.xml on API 11+ devices.
6+
-->
7+
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
8+
<!-- API 11 theme customizations can go here. -->
9+
</style>
10+
11+
</resources>

0 commit comments

Comments
 (0)