Commit 04d44bc3 authored by Elodie Gauthier's avatar Elodie Gauthier

repo cleaning

parent 3824d067

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

*.class
*.json
.metadata
*.swp
*~
*/.classpath
server/public/
.DS_Store
**/.DS_Store
local.properties
project.properties
/web/example
**/bin/*
**/gen/*
**/test/bin/*
**/test/gen/*
**/.idea/*
*.iml
**/out/*
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
.externalNativeBuild
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
</file>
<class>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
</class>
<extensions>
<pair source="cpp" header="h" fileNamingConvention="NONE" />
<pair source="c" header="h" fileNamingConvention="NONE" />
</extensions>
</Objective-C-extensions>
</code_scheme>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/waveform_view_library" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" default="true" project-jdk-name="JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<module fileurl="file://$PROJECT_DIR$/lig-aikuma.iml" filepath="$PROJECT_DIR$/lig-aikuma.iml" />
<module fileurl="file://$PROJECT_DIR$/waveform_view_library/waveform_view_library.iml" filepath="$PROJECT_DIR$/waveform_view_library/waveform_view_library.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
Aikuma is comprised of several subpackages of the package org.lp20.aikuma:
org.lp20.aikuma.ui contains code related to the user interface:
- All the activities and fragments, with the exception of MainActivity,
which is in org.lp20.aikuma.
- Subclasses of ArrayAdapter for the list activities
- InterleavedSeekBar, a subclass of SeekBar to deal with the rendering of
the seek bar for interleaved playing
- MenuBehaviour, to deal with menu behaviour across activities
- NoiseLevel, code specific to PhoneRespeakActivity to deal with detecting
background noise levels and setting appropriate microphone sensitivity.
- A subclass org.lp20.aikuma.ui.sensors, which presently contains a
ProximityDetector to allow Activities to have behaviour associated with
users placing the phone to the ear.
org.lp20.aikuma.model contains code related to models of data stored by Aikuma:
- Speaker, to represent the speakers who have contributed to a recording.
- Segments, to represent the mappings between segments of an original and
an associated respeaking or commentary.
- Language, to represent ISO 639-3 languages, and custom languages.
- Recording, to represent the metadata associated with a recording.
- ServerCredentials, to store FTP server credentials for syncing.
org.lp20.aikuma.util contains various utilities to help get things done:
- Client, an FTP client to facilitate syncing.
- FileIO, to facilitate reading and writing Aikuma data from and to file.
- ImageUtils, which contains methods to process and format user images
appropriately.
- StandardDateFormat - which defines an ISO 8601 SimpleDateFormat for use
in the JSON representations of data.
- SyncUtil, which uses the FTP client to periodically sync and offers a
method for immediate syncing.
org.lp20.aikuma.audio contains code related to recording and playing audio:
- Audio provides methods to change which phone speaker the audio is played
through
- SimplePlayer, a wrapper class for android.media.MediaPlayer.
- MarkedPlayer, a subclass of SimplePlayer that allows for markers to be
set at points in the audio that trigger callbacks when reached.
- Player, an interface for things that play audio.
- InterleavedPlayer, a class that offers interleaved play of an original
recording and a respeaking, by playing alternate segments of each.
- Beeper, which allows for notification beeps to be played when recording
starts and stops.
- the org.lp20.aikuma.record subpackage is described below
org.lp20.aikuma.record is a subpackage of org.lp20.aikuma.audio (above) that
deals specifically with the recording aspect of audio processing. The key
components are:
- Microphone, which is used to get input from the physical
microphone and yields buffers of that input data in a callback that is
supplied to the microphone.
- PCMWriter, to write PCM/WAV files.
- PhoneRespeaker, which provides the functionality required for audio