[android] - add uithread annotation and regenerate classes (#7156)

This commit is contained in:
Pablo Guardiola
2016-11-30 13:54:26 +01:00
committed by GitHub
parent 7104a358f8
commit 13b7b3a92b
18 changed files with 32 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import com.mapbox.mapboxsdk.exceptions.ConversionException;
import android.support.annotation.UiThread;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
@@ -13,6 +13,7 @@ import static com.mapbox.mapboxsdk.utils.ColorUtils.*;
*
* @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-background">The online documentation</a>
*/
@UiThread
public class BackgroundLayer extends Layer {
/**

View File

@@ -1,7 +1,7 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import com.mapbox.mapboxsdk.exceptions.ConversionException;
import android.support.annotation.UiThread;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
@@ -13,6 +13,7 @@ import static com.mapbox.mapboxsdk.utils.ColorUtils.*;
*
* @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-circle">The online documentation</a>
*/
@UiThread
public class CircleLayer extends Layer {
/**

View File

@@ -1,7 +1,7 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import com.mapbox.mapboxsdk.exceptions.ConversionException;
import android.support.annotation.UiThread;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
@@ -13,6 +13,7 @@ import static com.mapbox.mapboxsdk.utils.ColorUtils.*;
*
* @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-fill">The online documentation</a>
*/
@UiThread
public class FillLayer extends Layer {
/**

View File

@@ -1,7 +1,7 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import com.mapbox.mapboxsdk.exceptions.ConversionException;
import android.support.annotation.UiThread;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
@@ -13,6 +13,7 @@ import static com.mapbox.mapboxsdk.utils.ColorUtils.*;
*
* @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-line">The online documentation</a>
*/
@UiThread
public class LineLayer extends Layer {
/**

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import android.support.annotation.StringDef;

View File

@@ -1,4 +1,4 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import android.annotation.SuppressLint;

View File

@@ -1,7 +1,7 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import com.mapbox.mapboxsdk.exceptions.ConversionException;
import android.support.annotation.UiThread;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
@@ -13,6 +13,7 @@ import static com.mapbox.mapboxsdk.utils.ColorUtils.*;
*
* @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-raster">The online documentation</a>
*/
@UiThread
public class RasterLayer extends Layer {
/**

View File

@@ -1,7 +1,7 @@
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import com.mapbox.mapboxsdk.exceptions.ConversionException;
import android.support.annotation.UiThread;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
@@ -13,6 +13,7 @@ import static com.mapbox.mapboxsdk.utils.ColorUtils.*;
*
* @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-symbol">The online documentation</a>
*/
@UiThread
public class SymbolLayer extends Layer {
/**

View File

@@ -3,10 +3,10 @@
const properties = locals.properties;
const doc = locals.doc;
-%>
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import com.mapbox.mapboxsdk.exceptions.ConversionException;
import android.support.annotation.UiThread;
import android.support.annotation.ColorInt;
import android.support.annotation.NonNull;
@@ -18,6 +18,7 @@ import static com.mapbox.mapboxsdk.utils.ColorUtils.*;
*
* @see <a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-<%- type %>">The online documentation</a>
*/
@UiThread
public class <%- camelize(type) %>Layer extends Layer {
/**

View File

@@ -1,7 +1,7 @@
<%
const properties = locals.properties;
-%>
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import android.support.annotation.StringDef;

View File

@@ -2,7 +2,7 @@
const paintProperties = locals.paintProperties;
const layoutProperties = locals.layoutProperties;
-%>
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make style-code-android`.
// This file is generated. Edit android/platform/scripts/generate-style-code.js, then run `make android-style-code`.
package com.mapbox.mapboxsdk.style.layers;
import android.annotation.SuppressLint;