commit
c476274a42
12
app/app.iml
12
app/app.iml
|
@ -81,7 +81,9 @@
|
|||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/androidTest/shaders" isTestSource="true" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/blame" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/builds" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support.test.espresso/espresso-core/2.2.2/jars" />
|
||||
|
@ -99,11 +101,21 @@
|
|||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/25.2.0/jars" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/25.2.0/jars" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-classes" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-runtime-classes" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-safeguard" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental-verifier" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-resources" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/instant-run-support" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/jniLibs" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/reload-dex" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/restart-dex" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/shaders" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/intermediates/transforms" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/outputs" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/build/tmp" />
|
||||
</content>
|
||||
|
|
|
@ -196,30 +196,22 @@ public class MainActivity extends AppCompatActivity {
|
|||
voiceLines.add(new VoiceLine(R.raw.this_guy_hopeless, Mood.DISAPPOINTED));
|
||||
}
|
||||
|
||||
public void onPartialResults(Bundle partialResults) {
|
||||
Log.d(TAG, "onPartialResults");
|
||||
}
|
||||
|
||||
public void onEvent(int eventType, Bundle params) {
|
||||
Log.d(TAG, "onEvent " + eventType);
|
||||
}
|
||||
|
||||
private class Mood {
|
||||
public static final int HAPPY = R.drawable.kurisu_9;
|
||||
public static final int PISSED = R.drawable.kurisu_6;
|
||||
public static final int ANNOYED = R.drawable.kurisu_7;
|
||||
public static final int ANGRY = R.drawable.kurisu_10;
|
||||
public static final int BLUSH = R.drawable.kurisu_11;
|
||||
static final int HAPPY = R.drawable.kurisu_9;
|
||||
static final int PISSED = R.drawable.kurisu_6;
|
||||
static final int ANNOYED = R.drawable.kurisu_7;
|
||||
static final int ANGRY = R.drawable.kurisu_10;
|
||||
static final int BLUSH = R.drawable.kurisu_11;
|
||||
/* TODO: How should we name this mood?.. */
|
||||
public static final int SIDE = R.drawable.kurisu_12;
|
||||
public static final int SAD = R.drawable.kurisu_3;
|
||||
public static final int NORMAL = R.drawable.kurisu_2;
|
||||
public static final int SLEEPY = R.drawable.kurisu_1;
|
||||
public static final int WINKING = R.drawable.kurisu_5;
|
||||
public static final int DISAPPOINTED = R.drawable.kurisu_8;
|
||||
public static final int INDIFFERENT = R.drawable.kurisu_4;
|
||||
public static final int SIDED_PLEASANT = R.drawable.kurisu_15;
|
||||
public static final int SIDED_WORRIED = R.drawable.kurisu_17;
|
||||
static final int SIDE = R.drawable.kurisu_12;
|
||||
static final int SAD = R.drawable.kurisu_3;
|
||||
static final int NORMAL = R.drawable.kurisu_2;
|
||||
static final int SLEEPY = R.drawable.kurisu_1;
|
||||
static final int WINKING = R.drawable.kurisu_5;
|
||||
static final int DISAPPOINTED = R.drawable.kurisu_8;
|
||||
static final int INDIFFERENT = R.drawable.kurisu_4;
|
||||
static final int SIDED_PLEASANT = R.drawable.kurisu_15;
|
||||
static final int SIDED_WORRIED = R.drawable.kurisu_17;
|
||||
}
|
||||
|
||||
public class listener implements RecognitionListener {
|
||||
|
|
|
@ -20,4 +20,4 @@ class VoiceLine {
|
|||
int getMood() {
|
||||
return mood;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue