Note {@code converter} has a {@link ValueConverter#dataType} field that must be initialized
* to the same as {@code name}.
*/
public DataType(
String name,
- Class This is the agreed-upon representation of colors in Remixer. Sadly there is no uniform color
* representation across platforms.
*/
-
+@SuppressWarnings("checkstyle:membername")
public class SerializedColor {
/**
@@ -66,6 +66,7 @@ public int getA() {
return a;
}
+ @SuppressWarnings("checkstyle:parametername")
public void setA(int a) {
this.a = a;
}
@@ -74,6 +75,7 @@ public int getR() {
return r;
}
+ @SuppressWarnings("checkstyle:parametername")
public void setR(int r) {
this.r = r;
}
@@ -82,6 +84,7 @@ public int getG() {
return g;
}
+ @SuppressWarnings("checkstyle:parametername")
public void setG(int g) {
this.g = g;
}
@@ -90,6 +93,7 @@ public int getB() {
return b;
}
+ @SuppressWarnings("checkstyle:parametername")
public void setB(int b) {
this.b = b;
}
diff --git a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/BooleanValueConverter.java b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/BooleanValueConverter.java
index 9d0bff1..85fbbb0 100644
--- a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/BooleanValueConverter.java
+++ b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/BooleanValueConverter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.google.android.libraries.remixer.serialization.converters;
import com.google.android.libraries.remixer.Variable;
diff --git a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/ColorValueConverter.java b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/ColorValueConverter.java
index 448dc57..1517cfa 100644
--- a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/ColorValueConverter.java
+++ b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/ColorValueConverter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.google.android.libraries.remixer.serialization.converters;
import com.google.android.libraries.remixer.serialization.GsonProvider;
diff --git a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/FloatValueConverter.java b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/FloatValueConverter.java
index ed62018..b3b2cfb 100644
--- a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/FloatValueConverter.java
+++ b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/FloatValueConverter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.google.android.libraries.remixer.serialization.converters;
import com.google.android.libraries.remixer.ItemListVariable;
diff --git a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/StringValueConverter.java b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/StringValueConverter.java
index 30d56d6..84cca66 100644
--- a/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/StringValueConverter.java
+++ b/remixer_core/src/main/java/com/google/android/libraries/remixer/serialization/converters/StringValueConverter.java
@@ -1,3 +1,19 @@
+/*
+ * Copyright 2017 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package com.google.android.libraries.remixer.serialization.converters;
import com.google.android.libraries.remixer.ItemListVariable;
diff --git a/remixer_example/src/main/AndroidManifest.xml b/remixer_example/src/main/AndroidManifest.xml
index 554efa1..362d75f 100644
--- a/remixer_example/src/main/AndroidManifest.xml
+++ b/remixer_example/src/main/AndroidManifest.xml
@@ -19,13 +19,12 @@
xmlns:tools="http://schemas.android.com/tools"
package="com.google.android.apps.remixer"
tools:ignore="GoogleAppIndexingWarning">
-