Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b436ebc6
authored
Dec 05, 2016
by
Fernando Martínez Santiago
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
issues #646, #645, #644, #630 closed
parent
ac4502de
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
444 additions
and
267 deletions
android/Pictogram/commonlibrary/build.gradle
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/Picto.java
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/User.java
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/tools/PCBcontext.java
android/Pictogram/commonlibrary/src/main/res/values-es/strings.xml
android/Pictogram/commonlibrary/src/main/res/values/dimens.xml
android/Pictogram/commonlibrary/src/main/res/values/strings.xml
android/Pictogram/supervisor_tablet/src/main/res/layout/activity_serial.xml
android/Pictogram/supervisor_tablet/supervisor_tablet.iml
android/Pictogram/tabletlibrary/build.gradle
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/MainActivity.java
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/PictoItemViewGenerator.java
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/PictogramActivity.java
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/SerialActivity.java
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/StudentFragmentGrid.java
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/TapeAdapter.java
android/Pictogram/tabletlibrary/src/main/res/layout/activity_pictogram.xml
android/Pictogram/tabletlibrary/src/main/res/layout/activity_pictogram_big.xml
android/Pictogram/tabletlibrary/src/main/res/layout/picto_grid_item.xml
android/Pictogram/tabletlibrary/src/main/res/layout/picto_grid_item_big.xml
android/Pictogram/tabletlibrary/src/main/res/values/strings.xml
android/Pictogram/tabletlibrary/tabletlibrary.iml
android/Pictogram/watch/watch.iml
android/Pictogram/yotta_tablet/yotta_tablet.iml
android/Pictogram/commonlibrary/build.gradle
View file @
b436ebc6
...
...
@@ -11,9 +11,6 @@ android {
versionName
"1.0"
resValue
"string"
,
"db_name"
,
"PCB.db"
resValue
"string"
,
"core_vocabulary"
,
"core_vocabulary"
resValue
"integer"
,
"rows"
,
"5"
resValue
"integer"
,
"columns"
,
"10"
}
buildTypes
{
release
{
...
...
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/Picto.java
View file @
b436ebc6
...
...
@@ -43,7 +43,7 @@ public class Picto extends Img {
static
String
INVISIBLE
=
"invisible"
;
}
public
final
static
int
NO_CATEGORY
=-
1
;
public
final
static
int
ROW
_UNCATEGORIZED_CONCEPTS
=
0
;
public
final
static
int
COL
_UNCATEGORIZED_CONCEPTS
=
0
;
...
...
@@ -323,7 +323,7 @@ public class Picto extends Img {
*/
public
boolean
is_category
()
{
return
this
.
get_category
()==
Picto
.
NO_CATEGORY
&&
this
.
get_
column
()
!=
Picto
.
ROW
_UNCATEGORIZED_CONCEPTS
&&
this
.
get_
row
()
!=
Picto
.
COL
_UNCATEGORIZED_CONCEPTS
&&
this
.
getFreeColumn
()
==
-
1
&&
this
.
getFreeRow
()
==
-
1
;
}
...
...
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/dao/User.java
View file @
b436ebc6
package
com
.
yottacode
.
pictogram
.
dao
;
import
java.io.IOException
;
import
org.json.JSONObject
;
import
org.json.JSONException
;
import
android.content.Context
;
import
android.graphics.Bitmap
;
import
com.yottacode.pictogram.tools.Img
;
import
com.yottacode.pictogram.grammar.Vocabulary
;
import
org.json.JSONException
;
import
org.json.JSONObject
;
import
java.io.IOException
;
/**
* A user of the PCB. A user can be an Student or a Supervisor using a student configuration
...
...
@@ -29,7 +28,7 @@ public class User {
static
String
CATEGORIES
=
"categories"
;
static
String
INPUT_FEEDBACK
=
"input feedback"
;
static
String
INPUT_SELECTION
=
"input selection"
;
static
String
PICTOGRAM_SIZE
=
"pictogram size"
;
static
String
PICTOGRAM_SIZE
=
"pictogram size"
;
static
String
TTS_ENGINE
=
"tts engine"
;
static
String
TTS_VOICE
=
"tts voice"
;
}
...
...
@@ -38,6 +37,7 @@ public class User {
private
JSONObject
attributes_stu
;
private
Img
img_sup
;
private
String
email_sup
,
pwd_sup
,
name_sup
,
surname_sup
,
gender_sup
,
lang_sup
,
tts_engine_sup
;
private
int
max_columns
,
max_rows
;
public
User
(
int
id_stu
,
String
nickname_stu
,
String
pwd_stu
,
String
name_stu
,
String
surname_stu
,
String
url_img_stu
,
String
gender_stu
,
String
lang_stu
,
String
attributes_stu
)
throws
JSONException
{
...
...
@@ -62,6 +62,7 @@ public class User {
this
.
gender_sup
=
gender_sup
;
this
.
lang_sup
=
lang_sup
;
this
.
tts_engine_sup
=
tts_engine_sup
;
}
...
...
@@ -259,18 +260,21 @@ public class User {
}
}
/**
*
* @return pictogram size of the student configuration (default: "normal")
*/
public
String
get_pictogram_size
()
{
public
boolean
is_picto_size_big
()
{
try
{
return
this
.
attributes_stu
.
getString
(
JSON_STUDENT_ATTTRS
.
PICTOGRAM_SIZE
);
}
catch
(
JSON
Exception
e
)
{
return
"normal"
;
return
!
get_json_attr
(
JSON_STUDENT_ATTTRS
.
PICTOGRAM_SIZE
).
equals
(
"normal"
);
}
catch
(
Exception
e
)
{
return
true
;
}
}
public
boolean
is_supervisor
()
{
return
get_id_sup
()!=
User
.
NO_SUPERVISOR
;
}
...
...
@@ -288,4 +292,4 @@ public class User {
}
\ No newline at end of file
}
android/Pictogram/commonlibrary/src/main/java/com/yottacode/pictogram/tools/PCBcontext.java
View file @
b436ebc6
...
...
@@ -56,10 +56,11 @@ public final class PCBcontext {
*/
public
static
void
set_user
(
User
student
,
String
token
,
iImgDownloaderListener
listener
)
{
if
(!
init
)
{
Log
.
i
(
PCBcontext
.
class
.
getCanonicalName
(),
"PCBcontext.init must be called once previously "
);
throw
new
java
.
lang
.
AssertionError
(
"init must be called once previously "
);
}
Log
.
i
(
PCBcontext
.
class
.
getCanonicalName
(),
"User set at student "
+
student
.
get_name_stu
());
Log
.
e
(
PCBcontext
.
class
.
getCanonicalName
(),
"User set at student "
+
student
.
get_name_stu
());
wrapper
.
setToken
(
token
);
pcbdb
=
new
PCBDBHelper
(
null
,
1
,
student
);
pcbdb
.
user_online
(
token
!=
null
);
...
...
@@ -70,6 +71,7 @@ public final class PCBcontext {
}
public
static
void
unset_user
()
{
Log
.
i
(
PCBcontext
.
class
.
getCanonicalName
(),
"User unset. Student "
+
getPcbdb
().
getCurrentUser
().
get_name_stu
());
pcbdb
=
null
;
if
(
room
!=
null
)
room
.
exit
();
room
=
null
;
...
...
android/Pictogram/commonlibrary/src/main/res/values-es/strings.xml
View file @
b436ebc6
...
...
@@ -51,8 +51,6 @@
<string
name=
"nogrammar"
>
Advertencia: Lenguaje no soportado
</string>
<string
name=
"pictogrammar"
>
SUpO_PICTOES
</string>
<item
type=
"integer"
name=
"maxInTape"
>
8
</item>
<!--Upload local img -->
<string
name=
"enterImgLabel"
>
Introduzca etiqueta de la imagen
</string>
<string
name=
"notNewCats"
>
No puede añadir nuevas categorias
</string>
...
...
android/Pictogram/commonlibrary/src/main/res/values/dimens.xml
View file @
b436ebc6
...
...
@@ -10,4 +10,7 @@
<dimen
name=
"picto_normal_height"
>
75dp
</dimen>
<dimen
name=
"picto_normal_width"
>
75dp
</dimen>
<dimen
name=
"tape_normal_height"
>
90dp
</dimen>
<dimen
name=
"picto_big_height"
>
90dp
</dimen>
<dimen
name=
"picto_big_width"
>
90dp
</dimen>
<dimen
name=
"tape_big_height"
>
110dp
</dimen>
</resources>
android/Pictogram/commonlibrary/src/main/res/values/strings.xml
View file @
b436ebc6
...
...
@@ -60,7 +60,6 @@
<string
name=
"upload_error"
>
No pudo subirse al servidor. Se intentará más adelante
</string>
<string
name=
"upload_ok"
>
Se subió correctamente al servidor
</string>
<item
name=
"maxInTape"
type=
"integer"
>
8
</item>
<string
name=
"title_activity_img_label"
>
img_label
</string>
<!-- Strings related to login -->
...
...
android/Pictogram/supervisor_tablet/src/main/res/layout/activity_serial.xml
View file @
b436ebc6
...
...
@@ -57,15 +57,16 @@
/>
<TextView
android:text=
"SUPERVISOR"
android:textStyle=
"bold"
android:textColor=
"@color/green"
android:layout_width=
"200px"
android:layout_height=
"50px"
android:layout_marginLeft=
"20px"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
android:id=
"@+id/textView3"
android:textAppearance=
"@style/TextAppearance.AppCompat"
android:id=
"@+id/text_supervisor"
android:layout_below=
"@+id/imageView"
android:layout_alignStart=
"@+id/imageView"
/>
android:layout_toEndOf=
"@+id/serialmail"
android:layout_marginLeft=
"60px"
/>
</RelativeLayout>
...
...
android/Pictogram/supervisor_tablet/supervisor_tablet.iml
View file @
b436ebc6
...
...
@@ -8,12 +8,12 @@
</facet>
<facet
type=
"android"
name=
"Android"
>
<configuration>
<option
name=
"SELECTED_BUILD_VARIANT"
value=
"
Dev
FlavorDebug"
/>
<option
name=
"SELECTED_BUILD_VARIANT"
value=
"
CI
FlavorDebug"
/>
<option
name=
"SELECTED_TEST_ARTIFACT"
value=
"_android_test_"
/>
<option
name=
"ASSEMBLE_TASK_NAME"
value=
"assemble
Dev
FlavorDebug"
/>
<option
name=
"COMPILE_JAVA_TASK_NAME"
value=
"compile
Dev
FlavorDebugSources"
/>
<option
name=
"ASSEMBLE_TASK_NAME"
value=
"assemble
CI
FlavorDebug"
/>
<option
name=
"COMPILE_JAVA_TASK_NAME"
value=
"compile
CI
FlavorDebugSources"
/>
<afterSyncTasks>
<task>
generate
Dev
FlavorDebugSources
</task>
<task>
generate
CI
FlavorDebugSources
</task>
</afterSyncTasks>
<option
name=
"ALLOW_USER_CONFIGURATION"
value=
"false"
/>
<option
name=
"MANIFEST_FILE_RELATIVE_PATH"
value=
"/src/main/AndroidManifest.xml"
/>
...
...
@@ -24,64 +24,64 @@
</facet>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_7"
inherit-compiler-output=
"false"
>
<output
url=
"file://$MODULE_DIR$/build/intermediates/classes/
Dev
Flavor/debug"
/>
<output-test
url=
"file://$MODULE_DIR$/build/intermediates/classes/test/
Dev
Flavor/debug"
/>
<output
url=
"file://$MODULE_DIR$/build/intermediates/classes/
CI
Flavor/debug"
/>
<output-test
url=
"file://$MODULE_DIR$/build/intermediates/classes/test/
CI
Flavor/debug"
/>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/
Dev
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/
Dev
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/
Dev
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/
Dev
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/
Dev
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/
Dev
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/
Dev
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
FlavorDebug/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/androidTest/
Dev
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/androidTest/
Dev
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/
Dev
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/androidTest/
Dev
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/androidTest/
Dev
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/androidTest/
Dev
Flavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/androidTest/
Dev
Flavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
Dev
FlavorDebug/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Dev
Flavor/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestDev
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testDev
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/
CI
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/
CI
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/androidTest/
CI
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/androidTest/
CI
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/
CI
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/androidTest/
CI
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/androidTest/
CI
Flavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/androidTest/
CI
Flavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/androidTest/
CI
Flavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CI
FlavorDebug/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/assets"
type=
"java-resource"
/>
...
...
@@ -106,14 +106,6 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/java"
isTestSource=
"true"
/>
<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"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/assets"
type=
"java-test-resource"
/>
...
...
@@ -122,7 +114,19 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/java"
isTestSource=
"true"
/>
<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/animated-vector-drawable/24.2.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/24.2.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-compat/24.2.1/jars"
/>
...
...
@@ -133,11 +137,23 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/24.2.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/24.2.1/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>
<orderEntry
type=
"jdk"
jdkName=
"Android API 24 Platform"
jdkType=
"Android SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
...
...
android/Pictogram/tabletlibrary/build.gradle
View file @
b436ebc6
...
...
@@ -9,6 +9,10 @@ android {
versionCode
1
versionName
"1.0"
resValue
"string"
,
"SerialClass"
,
"com.yottacode.pictogram.tabletlibrary.gui.SerialActivity"
resValue
"integer"
,
"rows"
,
"5"
resValue
"integer"
,
"columns"
,
"10"
resValue
"integer"
,
"rows_big"
,
"4"
resValue
"integer"
,
"columns_big"
,
"8"
}
buildTypes
{
release
{
...
...
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/MainActivity.java
View file @
b436ebc6
...
...
@@ -10,8 +10,6 @@ import android.view.Window;
import
android.view.WindowManager
;
import
com.yottacode.pictogram.tabletlibrary.R
;
import
com.yottacode.pictogram.tabletlibrary.net.NetServiceTablet
;
import
com.yottacode.pictogram.tools.PCBcontext
;
public
class
MainActivity
extends
Activity
{
...
...
@@ -27,9 +25,6 @@ public class MainActivity extends Activity {
// For deactivating the lock screen (just before setContentView)
getWindow
().
addFlags
(
WindowManager
.
LayoutParams
.
FLAG_DISMISS_KEYGUARD
);
PCBcontext
.
init
(
this
,
new
NetServiceTablet
());
Class
serialClass
;
try
{
serialClass
=
Class
.
forName
(
getString
(
R
.
string
.
SerialClass
));
...
...
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/PictoItemViewGenerator.java
View file @
b436ebc6
...
...
@@ -19,17 +19,29 @@ import java.io.IOException;
*/
public
class
PictoItemViewGenerator
{
public
static
final
int
LAYOUT
=
R
.
layout
.
picto_grid_item
;
public
static
final
int
LAYOUT_BIG
=
R
.
layout
.
picto_grid_item_big
;
public
static
View
getPictoView
(
Picto
picto
,
View
convertView
,
ViewGroup
parent
)
{
if
(
convertView
==
null
)
{
convertView
=
LayoutInflater
.
from
(
parent
.
getContext
()).
inflate
(
LAYOUT
,
parent
,
false
);
convertView
=
LayoutInflater
.
from
(
parent
.
getContext
()).
inflate
(
PCBcontext
.
getPcbdb
().
getCurrentUser
().
is_picto_size_big
()
?
LAYOUT_BIG
:
LAYOUT
,
parent
,
false
);
}
RelativeLayout
layoutWrapper
=
(
RelativeLayout
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_layout_wrapper
);
FrameLayout
layout
=
(
FrameLayout
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_layout
);
ImageView
pictoImage
=
(
ImageView
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_image
);
ImageView
redCrossImage
=
(
ImageView
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_redcross
);
RelativeLayout
layoutWrapper
;
FrameLayout
layout
;
ImageView
pictoImage
;
ImageView
redCrossImage
;
if
(
PCBcontext
.
getPcbdb
().
getCurrentUser
().
is_picto_size_big
())
{
layoutWrapper
=
(
RelativeLayout
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_layout_wrapper_big
);
layout
=
(
FrameLayout
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_layout_big
);
pictoImage
=
(
ImageView
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_image_big
);
redCrossImage
=
(
ImageView
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_redcross_big
);
}
else
{
layoutWrapper
=
(
RelativeLayout
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_layout_wrapper
);
layout
=
(
FrameLayout
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_layout
);
pictoImage
=
(
ImageView
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_image
);
redCrossImage
=
(
ImageView
)
convertView
.
findViewById
(
R
.
id
.
picto_grid_item_redcross
);
}
layoutWrapper
.
setVisibility
(
View
.
GONE
);
layoutWrapper
.
setBackground
(
null
);
layoutWrapper
.
setAlpha
(
0.25f
);
...
...
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/PictogramActivity.java
View file @
b436ebc6
...
...
@@ -93,12 +93,25 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
// Button used for showing the picto category view
ImageButton
showPictoCategoriesViewButton
;
int
maxColumns
,
maxRows
,
maxInTape
;
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
if
(
PCBcontext
.
getPcbdb
().
getCurrentUser
().
is_picto_size_big
())
{
maxColumns
=
getResources
().
getInteger
(
R
.
integer
.
columns_big
);
maxRows
=
getResources
().
getInteger
(
R
.
integer
.
rows_big
);
maxInTape
=
getResources
().
getInteger
(
R
.
integer
.
maxInTape_big
);
}
else
{
maxColumns
=
getResources
().
getInteger
(
R
.
integer
.
columns
);
maxRows
=
getResources
().
getInteger
(
R
.
integer
.
rows
);
maxInTape
=
getResources
().
getInteger
(
R
.
integer
.
maxInTape
);
}
requestWindowFeature
(
Window
.
FEATURE_NO_TITLE
);
setContentView
(
R
.
layout
.
activity_pictogram
);
setContentView
(
PCBcontext
.
getPcbdb
().
getCurrentUser
().
is_picto_size_big
()
?
R
.
layout
.
activity_pictogram_big
:
R
.
layout
.
activity_pictogram
);
this
.
mainLayout
=
(
RelativeLayout
)
findViewById
(
R
.
id
.
pictogramLayout
);
this
.
currentCategory
=
null
;
...
...
@@ -143,21 +156,24 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
this
.
pictoCategoryGridView
=
(
GridView
)
this
.
findViewById
(
R
.
id
.
picto_category_grid_view
);
this
.
pictoCategoryGridView
.
setAdapter
(
this
.
pictoCategoryGridAdapter
);
// @TODO take this value from user configuration (0: normal, 1: large)
int
pictogramSize
=
0
;
if
(
pictogramSize
==
0
)
{
this
.
pictoMainGridView
.
setNumColumns
(
10
);
this
.
pictoCategoryGridView
.
setNumColumns
(
10
);
}
else
if
(
pictogramSize
==
1
)
{
this
.
pictoMainGridView
.
setNumColumns
(
4
);
this
.
pictoCategoryGridView
.
setNumColumns
(
4
);
}
this
.
pictoMainGridView
.
setNumColumns
(
this
.
maxColumns
);
this
.
pictoCategoryGridView
.
setNumColumns
(
this
.
maxColumns
);
// tts = new TextToSpeech(this, this, "IVONA Text-to-Speech HQ");
tts
=
new
TextToSpeech
(
this
,
this
);
tts
.
setOnUtteranceProgressListener
(
new
OnTTSEndListener
());
this
.
tapeGridView
.
setOnDragListener
(
new
OnPictoDragListener
());
this
.
tapeGridView
.
setOnItemClickListener
(
new
AdapterView
.
OnItemClickListener
()
{
@Override
public
void
onItemClick
(
AdapterView
<?>
parent
,
View
view
,
int
position
,
long
id
)
{
Log
.
i
(
this
.
getClass
().
getCanonicalName
(),
" Delete item "
+
position
+
"("
+
PictogramActivity
.
this
.
tapeAdapter
.
getItem
(
position
).
get_translation
()+
")"
);
PCBcontext
.
getActionLog
().
log
(
new
TalkAction
(
TalkAction
.
DELETE
,
PictogramActivity
.
this
.
tapeAdapter
.
getItem
(
position
)));
PictogramActivity
.
this
.
tapeAdapter
.
deleteItem
(
position
);
PictogramActivity
.
this
.
tapeAdapter
.
notifyDataSetChanged
();
}
});
this
.
pictoMainGridView
.
setOnDragListener
(
new
OnPictoDragListener
());
this
.
pictoCategoryGridView
.
setOnDragListener
(
new
OnPictoDragListener
());
...
...
@@ -315,9 +331,7 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
// This is to show the pictos ordered in the 2D Array that represents the panel
int
rows
=
getResources
().
getInteger
(
R
.
integer
.
rows
);
int
cols
=
getResources
().
getInteger
(
R
.
integer
.
columns
);
Picto
[][]
mp
=
new
Picto
[
rows
][
cols
];
Picto
[][]
mp
=
new
Picto
[
maxRows
][
maxColumns
];
for
(
Picto
p
:
list
)
{
if
(
PCBcontext
.
getPcbdb
().
getCurrentUser
().
has_categories
())
{
...
...
@@ -339,8 +353,8 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
"{\"magnify\":false,\"highlight\":false,\"coord_y\":1,\"id_cat\":12303,\"status\":\"invisible\",\"coord_x\":4}");
*/
for
(
int
i
=
0
;
i
<
r
ows
;
i
++){
for
(
int
j
=
0
;
j
<
col
s
;
j
++){
for
(
int
i
=
0
;
i
<
maxR
ows
;
i
++){
for
(
int
j
=
0
;
j
<
maxColumn
s
;
j
++){
if
(
mp
[
i
][
j
]
!=
null
)
ll
.
add
(
mp
[
i
][
j
]);
else
ll
.
add
(
null
);
// Add the "blank picto" simulating an empty position
}
...
...
@@ -596,7 +610,6 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
//LinkedList<Picto> ll = vocabulary.next(p);
Log
.
d
(
LOG_TAG
,
"Lista de pictos recuperada: "
+
ll
.
toString
());
int
maxInTape
=
getResources
().
getInteger
(
R
.
integer
.
maxInTape
);
// If the picto is a category
if
(
p
.
is_category
())
{
...
...
@@ -604,7 +617,7 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
PCBcontext
.
getActionLog
().
log
(
new
TalkAction
(
TalkAction
.
SELECT
,
p
));
hidePictoMainGridView
();
}
else
if
(
tapeAdapter
.
getCount
()
<
maxInTape
)
{
}
else
if
(
tapeAdapter
.
getCount
()
<
PictogramActivity
.
this
.
maxInTape
)
{
currentCategory
=
null
;
tapeAdapter
.
addItem
(
p
);
tapeAdapter
.
notifyDataSetChanged
();
...
...
@@ -628,8 +641,8 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
// No tengo pictograma. Abro una nueva ventana de selección desde el Carrete del device si no es categoria
if
(
currentCategory
!=
null
||
!
PCBcontext
.
getPcbdb
().
getCurrentUser
().
has_categories
())
{
Log
.
d
(
LOG_TAG
,
"No tengo pictograma. Abro carrete..."
);
int
cols
=
getResources
().
getInteger
(
R
.
integer
.
columns
);
addPicto
(
position
%
cols
,
(
int
)
(
position
/
col
s
));
addPicto
(
position
%
maxColumns
,
(
int
)
(
position
/
maxColumn
s
));
}
else
Toast
.
makeText
(
PictogramActivity
.
this
,
PictogramActivity
.
this
.
getResources
().
getString
(
R
.
string
.
notNewCats
),
Toast
.
LENGTH_SHORT
).
show
();
...
...
@@ -649,7 +662,7 @@ public class PictogramActivity extends Activity implements iVocabularyListener,
if
(
p
.
get_id
()
!=
0
&&
!
p
.
get_status
().
equalsIgnoreCase
(
"invisible"
)
&&
!
p
.
get_status
().
equalsIgnoreCase
(
"disabled"
)
&&
tapeAdapter
.
getCount
()
<
8
)
{
tapeAdapter
.
getCount
()
<
PictogramActivity
.
this
.
maxInTape
)
{
View
.
DragShadowBuilder
shadowBuilder
=
new
View
.
DragShadowBuilder
(
view
);
view
.
startDrag
(
data
,
//data to be dragged
...
...
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/SerialActivity.java
View file @
b436ebc6
...
...
@@ -12,6 +12,8 @@ import android.widget.EditText;
import
com.yottacode.pictogram.dao.UserLogin
;
import
com.yottacode.pictogram.tabletlibrary.R
;
import
com.yottacode.pictogram.tabletlibrary.net.NetServiceTablet
;
import
com.yottacode.pictogram.tools.PCBcontext
;
/**
...
...
@@ -46,6 +48,7 @@ public class SerialActivity extends Activity {
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
PCBcontext
.
init
(
this
,
new
NetServiceTablet
());
requestWindowFeature
(
Window
.
FEATURE_NO_TITLE
);
setContentView
(
R
.
layout
.
activity_serial
);
...
...
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/StudentFragmentGrid.java
View file @
b436ebc6
...
...
@@ -47,6 +47,7 @@ public class StudentFragmentGrid extends Fragment{
final
String
TAG_LANG
=
"lang"
;
final
String
TAG_ATTRIBUTES
=
"attributes"
;
final
String
TAG_SUPERVISION
=
"supervision"
;
ProgressDialog
progressDialog
;
Vector
<
Integer
>
idStudents
;
String
nameStudents
[];
Vector
<
Bitmap
>
imageStudents
;
...
...
@@ -110,12 +111,12 @@ public class StudentFragmentGrid extends Fragment{
PCBcontext
.
getDevice
().
insertUser
(
new_user
);
Log
.
i
(
this
.
getClass
().
getCanonicalName
(),
"Loading vocabulary for "
+
new_user
.
get_name_stu
());
final
ProgressDialog
progressDialog
=
ProgressDialog
.
show
(
getActivity
(),
getString
(
R
.
string
.
loadingGrammar
),
progressDialog
=
ProgressDialog
.
show
(
getActivity
(),
getString
(
R
.
string
.
loadingGrammar
),
getString
(
R
.
string
.
userLoadingTxt
),
false
,
false
);
PCBcontext
.
set_user
(
new_user
,
intent
.
getStringExtra
(
"token"
),
new
iImgDownloaderListener
()
{
@Override
public
void
loadComplete
()
{
if
(
progressDialog
.
isShowing
())
progressDialog
.
dismiss
();
if
(
progressDialog
!=
null
&&
progressDialog
.
isShowing
())
progressDialog
.
dismiss
();
Intent
pictogramActivity
=
new
Intent
(
getActivity
(),
PictogramActivity
.
class
);
startActivity
(
pictogramActivity
);
}
...
...
@@ -160,12 +161,12 @@ public class StudentFragmentGrid extends Fragment{
}
}
//for
final
ProgressDialog
progressDialog
=
ProgressDialog
.
show
(
getActivity
(),
getString
(
R
.
string
.
imguserLoadingMsg
),
progressDialog
=
ProgressDialog
.
show
(
getActivity
(),
getString
(
R
.
string
.
imguserLoadingMsg
),
getString
(
R
.
string
.
userLoadingTxt
),
false
,
false
);
ImgDownloader
downloader
=
new
ImgDownloader
(
getActivity
(),
new
iImgDownloaderListener
()
{
@Override
public
void
loadComplete
()
{
if
(
progressDialog
.
isShowing
())
progressDialog
.
dismiss
();
if
(
progressDialog
!=
null
&&
progressDialog
.
isShowing
())
progressDialog
.
dismiss
();
if
(
downloaded_students
.
size
()
>
1
)
{
for
(
int
i
=
0
;
i
<
imgs
.
size
();
i
++)
try
{
...
...
@@ -200,7 +201,7 @@ public class StudentFragmentGrid extends Fragment{
RestapiWrapper
wrapper
=
new
RestapiWrapper
(
getActivity
().
getApplicationContext
().
getResources
().
getString
(
R
.
string
.
server
),
token
);
String
operation
=
"sup/"
+
sup_id
+
"/students"
;
final
ProgressDialog
progressDialog
=
ProgressDialog
.
show
(
getActivity
(),
getString
(
R
.
string
.
userLoadingTxt
),
progressDialog
=
ProgressDialog
.
show
(
getActivity
(),
getString
(
R
.
string
.
userLoadingTxt
),
getString
(
R
.
string
.
userLoadingTxt
),
false
,
false
);
wrapper
.
ask
(
operation
,
new
iRestapiListener
()
{
@Override
...
...
@@ -219,7 +220,7 @@ public class StudentFragmentGrid extends Fragment{
}
@Override
public
void
result
(
JSONArray
students
)
{
if
(
progressDialog
.
isShowing
())
progressDialog
.
dismiss
();
if
(
progressDialog
!=
null
&&
progressDialog
.
isShowing
())
progressDialog
.
dismiss
();
StudentFragmentGrid
.
this
.
downloaded_students
=
new
Vector
();
for
(
int
i
=
0
;
i
<
students
.
length
();
i
++)
{
JSONObject
student
;
...
...
@@ -308,4 +309,13 @@ public class StudentFragmentGrid extends Fragment{
return
view
;
}
@Override
public
void
onPause
()
{
super
.
onPause
();
if
((
progressDialog
!=
null
)
&&
progressDialog
.
isShowing
())
progressDialog
.
dismiss
();
progressDialog
=
null
;
}
}
android/Pictogram/tabletlibrary/src/main/java/com/yottacode/pictogram/tabletlibrary/gui/TapeAdapter.java
View file @
b436ebc6
...
...
@@ -81,6 +81,8 @@ public class TapeAdapter extends BaseAdapter {
return
complete
;
}
// DEVUELVE último elemento
public
Picto
getLastItem
(){
return
pictoLinkedList
.
getLast
();
...
...
android/Pictogram/tabletlibrary/src/main/res/layout/activity_pictogram.xml
View file @
b436ebc6
...
...
@@ -11,40 +11,38 @@
<!-- android:keepScreenOn - To keep the screen bright as long as the app is visible (also forever) -->
<GridView
android:id=
"@+id/tape_grid_view"
android:layout_width=
"wrap_content"
android:layout_height=
"@dimen/tape_normal_height"
android:padding=
"@dimen/small_padding"
android:gravity=
"center"
android:numColumns=
"10"
android:accessibilityLiveRegion=
"none"
android:background=
"@android:color/holo_red_light"
android:clickable=
"false"
android:layout_alignParentTop=
"true"
android:layout_alignParentStart=
"true"
android:layout_alignParentEnd=
"true"
android:paddingRight=
"192dp"
android:horizontalSpacing=
"@dimen/picto_grid_spacing"
>
</GridView>
<ImageButton
android:layout_width=
"@dimen/picto_normal_width"
android:layout_height=
"@dimen/tape_normal_height"
android:src=
"@drawable/remove_picto_from_tape"
android:id=
"@+id/button_delete"
android:layout_alignParentTop=
"true"
android:layout_
toLeftOf=
"@+id/button_tts
"
android:layout_
alignParentStart=
"true
"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:clickable=
"true"
android:background=
"@null"
/>
android:background=
"@android:color/holo_red_light"
/>
<GridView
android:id=
"@+id/tape_grid_view"
android:layout_toEndOf=
"@+id/button_delete"
android:layout_toStartOf=
"@+id/button_tts"
android:layout_width=
"@dimen/picto_normal_width"
android:layout_height=
"@dimen/tape_normal_height"
android:padding=
"@dimen/small_padding"
android:gravity=
"center"
android:numColumns=
"8"
android:accessibilityLiveRegion=
"none"
android:background=
"@android:color/holo_red_light"
android:clickable=
"true"
android:horizontalSpacing=
"@dimen/picto_grid_spacing"
>
</GridView>
<ImageButton
android:layout_width=
"@dimen/picto_normal_width"
android:layout_height=
"@dimen/tape_normal_height"
android:src=
"@drawable/send_tape"
android:background=
"@
null
"
android:background=
"@
android:color/holo_red_light
"
android:id=
"@+id/button_tts"
android:adjustViewBounds=
"true"
android:layout_alignParentTop=
"true"
...
...
@@ -88,7 +86,6 @@
android:layout_width=
"match_parent"
android:layout_below=
"@+id/tape_grid_view"
android:layout_alignParentStart=
"true"
android:numColumns=
"10"
android:gravity=
"center_vertical|center|center_horizontal"
android:background=
"#DDDDDD"
android:layout_alignParentBottom=
"true"
...
...
android/Pictogram/tabletlibrary/src/main/res/layout/activity_pictogram_big.xml
0 → 100644
View file @
b436ebc6
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"horizontal"
android:background=
"#BDBDBD"
android:keepScreenOn=
"true"
android:id=
"@+id/pictogramLayout"
tools:context=
"com.yottacode.pictogram.tabletlibrary.gui.PictogramActivity"
android:padding=
"@dimen/small_padding"
>
<!-- android:keepScreenOn - To keep the screen bright as long as the app is visible (also forever) -->
<ImageButton
android:layout_width=
"@dimen/picto_big_width"
android:layout_height=
"@dimen/tape_big_height"
android:src=
"@drawable/remove_picto_from_tape"
android:id=
"@+id/button_delete"
android:layout_alignParentTop=
"true"
android:layout_alignParentStart=
"true"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:clickable=
"true"
android:background=
"@android:color/holo_red_light"
/>
<GridView
android:id=
"@+id/tape_grid_view"
android:layout_toEndOf=
"@+id/button_delete"
android:layout_toStartOf=
"@+id/button_tts"
android:layout_width=
"@dimen/picto_big_width"
android:layout_height=
"@dimen/tape_big_height"
android:padding=
"@dimen/small_padding"
android:gravity=
"center"
android:numColumns=
"6"
android:accessibilityLiveRegion=
"none"
android:background=
"@android:color/holo_red_light"
android:clickable=
"true"
android:horizontalSpacing=
"@dimen/picto_grid_spacing"
>
</GridView>
<ImageButton
android:layout_width=
"@dimen/picto_big_width"
android:layout_height=
"@dimen/tape_big_height"
android:src=
"@drawable/send_tape"
android:background=
"@android:color/holo_red_light"
android:id=
"@+id/button_tts"
android:adjustViewBounds=
"true"
android:layout_alignParentTop=
"true"
android:layout_alignParentEnd=
"true"
android:paddingLeft=
"16dp"
android:paddingRight=
"16dp"
android:clickable=
"true"
/>
<ImageButton
android:layout_width=
"96dp"
android:layout_height=
"match_parent"
android:id=
"@+id/showPictoCategoriesViewButton"
android:layout_alignParentStart=
"true"
android:src=
"@drawable/show_categories_grid"
android:background=
"#EEEEEE"
android:layout_below=
"@+id/tape_grid_view"
android:scaleType=
"fitCenter"
/>
<GridView
android:id=
"@+id/picto_category_grid_view"
android:layout_height=
"match_parent"
android:layout_width=
"match_parent"
android:layout_below=
"@+id/tape_grid_view"
android:layout_alignParentBottom=
"true"
android:numColumns=
"8"
android:gravity=
"center_vertical|center|center_horizontal"
android:background=
"#DDDDDD"
android:layout_alignParentEnd=
"true"
android:layout_toEndOf=
"@+id/showPictoCategoriesViewButton"
android:paddingLeft=
"@dimen/small_padding"
android:paddingTop=
"@dimen/small_padding"
android:paddingRight=
"@dimen/small_padding"
android:paddingBottom=
"@dimen/small_padding"
android:verticalSpacing=
"@dimen/picto_grid_spacing"
android:horizontalSpacing=
"@dimen/picto_grid_spacing"
>
</GridView>
<GridView
android:id=
"@+id/picto_main_grid_view"
android:layout_height=
"match_parent"
android:layout_width=
"match_parent"
android:layout_below=
"@+id/tape_grid_view"
android:layout_alignParentStart=
"true"
android:gravity=
"center_vertical|center|center_horizontal"
android:background=
"#DDDDDD"
android:layout_alignParentBottom=
"true"
android:layout_alignParentEnd=
"true"
android:paddingLeft=
"@dimen/small_padding"
android:paddingTop=
"@dimen/small_padding"
android:horizontalSpacing=
"@dimen/picto_grid_spacing"
android:verticalSpacing=
"@dimen/picto_grid_spacing"
>
</GridView>
</RelativeLayout>
android/Pictogram/tabletlibrary/src/main/res/layout/picto_grid_item.xml
View file @
b436ebc6
...
...
@@ -27,4 +27,4 @@
</FrameLayout>
</RelativeLayout>
\ No newline at end of file
</RelativeLayout>
android/Pictogram/tabletlibrary/src/main/res/layout/picto_grid_item_big.xml
0 → 100644
View file @
b436ebc6
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:gravity=
"center_vertical|center|center_horizontal"
android:id=
"@+id/picto_grid_item_layout_wrapper_big"
android:background=
"@drawable/picto_grid_item_border"
android:padding=
"@dimen/picto_border_width"
>
<FrameLayout
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/picto_big_height"
android:id=
"@+id/picto_grid_item_layout_big"
android:background=
"@color/picto_default_background"
android:padding=
"@dimen/picto_padding"
>
<ImageView
android:id=
"@+id/picto_grid_item_image_big"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
/>
<ImageView
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:id=
"@+id/picto_grid_item_redcross_big"
android:src=
"@drawable/disabled_picto"
/>
</FrameLayout>
</RelativeLayout>
android/Pictogram/tabletlibrary/src/main/res/values/strings.xml
View file @
b436ebc6
<resources>
<string
name=
"app_name"
>
com.yottacode.pictogram.Tablet
</string>
<item
name=
"maxInTape"
type=
"integer"
>
8
</item>
<item
name=
"maxInTape_big"
type=
"integer"
>
6
</item>
</resources>
android/Pictogram/tabletlibrary/tabletlibrary.iml
View file @
b436ebc6
...
...
@@ -73,14 +73,6 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/java"
isTestSource=
"true"
/>
<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"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/assets"
type=
"java-test-resource"
/>
...
...
@@ -89,6 +81,14 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/java"
isTestSource=
"true"
/>
<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/annotations"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/blame"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/bundles"
/>
...
...
android/Pictogram/watch/watch.iml
View file @
b436ebc6
...
...
@@ -43,6 +43,13 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavorDebug/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavorDebug/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavorDebug/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/androidTest/DefaultFlavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/androidTest/DefaultFlavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavorDebug/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavorDebug/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavorDebug/assets"
type=
"java-test-resource"
/>
...
...
@@ -51,13 +58,6 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavorDebug/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavorDebug/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavorDebug/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/androidTest/DefaultFlavor/debug"
isTestSource=
"true"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/androidTest/DefaultFlavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/androidTest/DefaultFlavor/debug"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavor/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavor/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavor/assets"
type=
"java-resource"
/>
...
...
@@ -66,14 +66,6 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavor/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavor/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/DefaultFlavor/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTestDefaultFlavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTestDefaultFlavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTestDefaultFlavor/assets"
type=
"java-test-resource"
/>
...
...
@@ -82,6 +74,14 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTestDefaultFlavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTestDefaultFlavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTestDefaultFlavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/testDefaultFlavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/assets"
type=
"java-resource"
/>
...
...
@@ -106,14 +106,6 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/assets"
type=
"java-test-resource"
/>
...
...
@@ -122,7 +114,17 @@
<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"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/shaders"
isTestSource=
"true"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/blame"
/>
<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/recyclerview-v7/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-base/9.2.1/jars"
/>
...
...
@@ -131,11 +133,13 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/9.2.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.support/wearable/2.0.0-alpha2/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/incremental"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/incremental-safeguard"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/manifests"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/res"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/rs"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/symbols"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/outputs"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/tmp"
/>
</content>
<orderEntry
type=
"jdk"
jdkName=
"Android API 24 Platform"
jdkType=
"Android SDK"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
...
...
android/Pictogram/yotta_tablet/yotta_tablet.iml
View file @
b436ebc6
...
...
@@ -8,12 +8,12 @@
</facet>
<facet
type=
"android"
name=
"Android"
>
<configuration>
<option
name=
"SELECTED_BUILD_VARIANT"
value=
"
CI
FlavorDebug"
/>
<option
name=
"SELECTED_BUILD_VARIANT"
value=
"
Pre
FlavorDebug"
/>
<option
name=
"SELECTED_TEST_ARTIFACT"
value=
"_android_test_"
/>
<option
name=
"ASSEMBLE_TASK_NAME"
value=
"assemble
CI
FlavorDebug"
/>
<option
name=
"COMPILE_JAVA_TASK_NAME"
value=
"compile
CI
FlavorDebugSources"
/>
<option
name=
"ASSEMBLE_TASK_NAME"
value=
"assemble
Pre
FlavorDebug"
/>
<option
name=
"COMPILE_JAVA_TASK_NAME"
value=
"compile
Pre
FlavorDebugSources"
/>
<afterSyncTasks>
<task>
generate
CI
FlavorDebugSources
</task>
<task>
generate
Pre
FlavorDebugSources
</task>
</afterSyncTasks>
<option
name=
"ALLOW_USER_CONFIGURATION"
value=
"false"
/>
<option
name=
"MANIFEST_FILE_RELATIVE_PATH"
value=
"/src/main/AndroidManifest.xml"
/>
...
...
@@ -24,64 +24,64 @@
</facet>
</component>
<component
name=
"NewModuleRootManager"
LANGUAGE_LEVEL=
"JDK_1_7"
inherit-compiler-output=
"false"
>
<output
url=
"file://$MODULE_DIR$/build/intermediates/classes/
CI
Flavor/debug"
/>
<output-test
url=
"file://$MODULE_DIR$/build/intermediates/classes/test/
CI
Flavor/debug"
/>
<output
url=
"file://$MODULE_DIR$/build/intermediates/classes/
Pre
Flavor/debug"
/>
<output-test
url=
"file://$MODULE_DIR$/build/intermediates/classes/test/
Pre
Flavor/debug"
/>
<exclude-output
/>
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/
CI
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/
CI
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/
CI
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
FlavorDebug/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testCIFlavorDebug/res"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testCIFlavorDebug/resources"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testCIFlavorDebug/assets"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testCIFlavorDebug/aidl"
isTestSource
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testCIFlavorDebug/java"
isTestSource
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testCIFlavorDebug/jni"
isTestSource=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testCIFlavorDebug/rs"
isTestSource=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
CIFlavorDebug/shaders"
isTestSource=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/r/androidTest/CIFlavor/debug"
isTestSource=
"true"
generated=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/aidl/androidTest/CIFlavor/debug"
isTestSource=
"true"
generated=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/buildConfig/androidTest/CIFlavor/debug"
isTestSource=
"true"
generated
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/rs/androidTest/CIFlavor/debug"
isTestSource=
"true"
generated
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/apt/androidTest/CIFlavor/debug"
isTestSource=
"true"
generated
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/res/rs/androidTest/CIFlavor/debug"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/res/resValues/androidTest/CIFlavor/debug"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
CI
Flavor/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestCI
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testCI
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/r/
Pre
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/aidl/
Pre
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/buildConfig/
Pre
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/rs/
Pre
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/source/apt/
Pre
Flavor/debug"
isTestSource=
"false"
generated=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/rs/
Pre
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/build/generated/res/resValues/
Pre
Flavor/debug"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
FlavorDebug/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/r/androidTest/PreFlavor/debug"
isTestSource=
"true"
generated=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/aidl/androidTest/PreFlavor/debug"
isTestSource=
"true"
generated=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/buildConfig/androidTest/PreFlavor/debug"
isTestSource=
"true"
generated=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/rs/androidTest/PreFlavor/debug"
isTestSource=
"true"
generated
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/source/apt/androidTest/PreFlavor/debug"
isTestSource=
"true"
generated
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/res/rs/androidTest/PreFlavor/debug"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
build/generated/res/resValues/androidTest/PreFlavor/debug"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test
PreFlavorDebug/res"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testPreFlavorDebug/resources"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testPreFlavorDebug/assets"
type=
"java-test-resourc
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testPreFlavorDebug/aidl"
isTestSource
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testPreFlavorDebug/java"
isTestSource
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testPreFlavorDebug/jni"
isTestSource
=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testPreFlavorDebug/rs"
isTestSource=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/
src/testPreFlavorDebug/shaders"
isTestSource=
"tru
e"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/assets"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/aidl"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/java"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
Pre
Flavor/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
testPre
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/
androidTestPre
Flavor/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/res"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/resources"
type=
"java-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/debug/assets"
type=
"java-resource"
/>
...
...
@@ -106,14 +106,6 @@
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/jni"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/rs"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/main/shaders"
isTestSource=
"false"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/shaders"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/androidTest/assets"
type=
"java-test-resource"
/>
...
...
@@ -122,9 +114,15 @@
<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"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/res"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/resources"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/assets"
type=
"java-test-resource"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/aidl"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/java"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/jni"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/rs"
isTestSource=
"true"
/>
<sourceFolder
url=
"file://$MODULE_DIR$/src/test/shaders"
isTestSource=
"true"
/>
<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/animated-vector-drawable/24.2.1/jars"
/>
...
...
@@ -137,21 +135,11 @@
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/24.2.1/jars"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-vector-drawable/24.2.1/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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment