#2486 - Renaming root Java package from com.mapbox.mapboxgl to com.mapbox.mapboxsdk

This commit is contained in:
Brad Leege
2015-10-01 14:23:36 -05:00
parent cebac1c262
commit c6d9fda61f
49 changed files with 100 additions and 110 deletions

View File

@@ -1,12 +1,8 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.app.Activity;
import android.support.test.InstrumentationRegistry;
import android.test.ActivityInstrumentationTestCase2;
import com.mapbox.mapboxgl.testapp.utils.ScreenshotUtil;
import org.junit.Before;
import com.mapbox.mapboxsdk.testapp.utils.ScreenshotUtil;
import static android.support.test.espresso.Espresso.onView;
import static android.support.test.espresso.assertion.ViewAssertions.matches;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.support.test.rule.ActivityTestRule;
import android.support.test.runner.AndroidJUnit4;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.testapp.utils;
package com.mapbox.mapboxsdk.testapp.utils;
import android.app.Activity;
import android.graphics.Bitmap;

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="com.mapbox.mapboxgl.testapp">
package="com.mapbox.mapboxsdk.testapp">
<application
android:allowBackup="true"
@@ -10,14 +10,14 @@
android:theme="@style/AppTheme"
android:supportsRtl="true">
<activity
android:name="com.mapbox.mapboxgl.testapp.MainActivity"
android:name="com.mapbox.mapboxsdk.testapp.MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".SecondMapActivity" android:label="@string/activity_second"/>
<activity android:name="com.mapbox.mapboxsdk.testapp.SecondMapActivity" android:label="@string/activity_second"/>
<meta-data
android:name="io.fabric.ApiKey"
android:value="9724157045ff7d083492c6d9ae03e60e8609d461" />

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.Manifest;
import android.content.Intent;
@@ -25,12 +25,12 @@ import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
import com.crashlytics.android.Crashlytics;
import com.mapbox.mapboxgl.annotations.Marker;
import com.mapbox.mapboxgl.annotations.MarkerOptions;
import com.mapbox.mapboxgl.annotations.PolygonOptions;
import com.mapbox.mapboxgl.annotations.PolylineOptions;
import com.mapbox.mapboxgl.geometry.LatLng;
import com.mapbox.mapboxgl.views.MapView;
import com.mapbox.mapboxsdk.annotations.Marker;
import com.mapbox.mapboxsdk.annotations.MarkerOptions;
import com.mapbox.mapboxsdk.annotations.PolygonOptions;
import com.mapbox.mapboxsdk.annotations.PolylineOptions;
import com.mapbox.mapboxsdk.geometry.LatLng;
import com.mapbox.mapboxsdk.views.MapView;
import io.fabric.sdk.android.Fabric;
import java.io.BufferedReader;
import java.io.IOException;

View File

@@ -1,4 +1,4 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.os.Bundle;
import android.support.v4.app.Fragment;
@@ -7,7 +7,7 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.mapbox.mapboxgl.views.MapView;
import com.mapbox.mapboxsdk.views.MapView;
public class MapFragment extends Fragment {

View File

@@ -1,11 +1,11 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.MenuItem;
import com.mapbox.mapboxgl.views.MapView;
import com.mapbox.mapboxsdk.views.MapView;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

View File

@@ -1,9 +1,9 @@
package com.mapbox.mapboxgl.testapp;
package com.mapbox.mapboxsdk.testapp;
import android.content.Context;
import android.text.TextUtils;
import com.mapbox.mapboxgl.geometry.LatLng;
import com.mapbox.mapboxsdk.geometry.LatLng;
import org.json.JSONArray;
import org.json.JSONException;

View File

@@ -30,7 +30,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.mapbox.mapboxgl.views.MapView
<com.mapbox.mapboxsdk.views.MapView
android:id="@+id/mainMapView"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@@ -12,7 +12,7 @@
android:minHeight="?attr/actionBarSize"
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"/>
<com.mapbox.mapboxgl.views.MapView
<com.mapbox.mapboxsdk.views.MapView
android:id="@+id/secondMapView"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mapbox.mapboxgl.views.MapView xmlns:android="http://schemas.android.com/apk/res/android"
<com.mapbox.mapboxsdk.views.MapView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:mapbox="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@@ -1,6 +1,6 @@
import com.mapbox.mapboxgl.geometry.BoundingBox;
import com.mapbox.mapboxgl.geometry.CoordinateSpan;
import com.mapbox.mapboxgl.geometry.LatLng;
import com.mapbox.mapboxsdk.geometry.BoundingBox;
import com.mapbox.mapboxsdk.geometry.CoordinateSpan;
import com.mapbox.mapboxsdk.geometry.LatLng;
import org.junit.Before;
import org.junit.Test;

View File

@@ -1,6 +1,6 @@
import com.mapbox.mapboxgl.geometry.CoordinateRegion;
import com.mapbox.mapboxgl.geometry.CoordinateSpan;
import com.mapbox.mapboxgl.geometry.LatLng;
import com.mapbox.mapboxsdk.geometry.CoordinateRegion;
import com.mapbox.mapboxsdk.geometry.CoordinateSpan;
import com.mapbox.mapboxsdk.geometry.LatLng;
import org.junit.Test;

View File

@@ -1,4 +1,4 @@
import com.mapbox.mapboxgl.geometry.CoordinateSpan;
import com.mapbox.mapboxsdk.geometry.CoordinateSpan;
import org.junit.Test;

View File

@@ -1,6 +1,6 @@
import android.location.Location;
import com.mapbox.mapboxgl.geometry.LatLng;
import com.mapbox.mapboxsdk.geometry.LatLng;
import org.junit.Test;

View File

@@ -1,4 +1,4 @@
import com.mapbox.mapboxgl.geometry.LatLngZoom;
import com.mapbox.mapboxsdk.geometry.LatLngZoom;
import org.junit.Test;

View File

@@ -1,4 +1,4 @@
import com.mapbox.mapboxgl.geometry.ProjectedMeters;
import com.mapbox.mapboxsdk.geometry.ProjectedMeters;
import org.junit.Test;