forked from upstream-mirrors/OpenTracks
remove suppress warnings; change to match_parent
This commit is contained in:
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView" >
|
style="@style/ScrollView" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<TextView
|
<TextView
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView">
|
style="@style/ScrollView">
|
||||||
<TableLayout
|
<TableLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:shrinkColumns="0,2"
|
android:shrinkColumns="0,2"
|
||||||
android:stretchColumns="0,2" >
|
android:stretchColumns="0,2" >
|
||||||
|
|||||||
@@ -15,14 +15,14 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/chart_view_layout"
|
android:id="@+id/chart_view_layout"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<ZoomControls
|
<ZoomControls
|
||||||
@@ -30,6 +30,6 @@ limitations under the License.
|
|||||||
android:gravity="right"
|
android:gravity="right"
|
||||||
android:id="@+id/chart_zoom_controls"
|
android:id="@+id/chart_zoom_controls"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:paddingRight="8dp" />
|
android:paddingRight="8dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
@@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
|
|||||||
@@ -15,12 +15,12 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent" >
|
android:layout_width="match_parent" >
|
||||||
<ListView
|
<ListView
|
||||||
android:id="@+id/choose_map_list_view"
|
android:id="@+id/choose_map_list_view"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent" />
|
android:layout_width="match_parent" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/choose_map_empty_view"
|
android:id="@+id/choose_map_empty_view"
|
||||||
style="@style/ListEmptyTextView" >
|
style="@style/ListEmptyTextView" >
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView" >
|
style="@style/ScrollView" >
|
||||||
<TableLayout
|
<TableLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:stretchColumns="1" >
|
android:stretchColumns="1" >
|
||||||
<TableRow>
|
<TableRow>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView" >
|
style="@style/ScrollView" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:paddingBottom="12dp"
|
android:paddingBottom="12dp"
|
||||||
android:paddingLeft="14dp"
|
android:paddingLeft="14dp"
|
||||||
@@ -32,7 +32,7 @@ limitations under the License.
|
|||||||
android:id="@+id/confirm_sharing_check_box"
|
android:id="@+id/confirm_sharing_check_box"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:text="@string/generic_do_not_show_again"
|
android:text="@string/generic_do_not_show_again"
|
||||||
style="@style/TextMedium" />
|
style="@style/TextMedium" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<ImageView
|
<ImageView
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ limitations under the License.
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
android:minHeight="?android:attr/listPreferredItemHeight"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
@@ -29,11 +29,11 @@ limitations under the License.
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="8dp"
|
android:layout_marginLeft="8dp"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="horizontal" >
|
android:orientation="horizontal" >
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/list_item_name"
|
android:id="@+id/list_item_name"
|
||||||
@@ -47,7 +47,7 @@ limitations under the License.
|
|||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="horizontal" >
|
android:orientation="horizontal" >
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/list_item_total_time"
|
android:id="@+id/list_item_total_time"
|
||||||
|
|||||||
@@ -16,15 +16,15 @@ limitations under the License.
|
|||||||
-->
|
-->
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/map_container"
|
android:id="@+id/map_container"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent" >
|
android:layout_width="match_parent" >
|
||||||
<TextView
|
<TextView
|
||||||
android:background="@color/warning_background"
|
android:background="@color/warning_background"
|
||||||
android:drawableLeft="@drawable/warning"
|
android:drawableLeft="@drawable/warning"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:id="@+id/map_message"
|
android:id="@+id/map_message"
|
||||||
android:layout_alignParentTop="true"
|
android:layout_alignParentTop="true"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:textColor="@android:color/primary_text_dark"
|
android:textColor="@android:color/primary_text_dark"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView" >
|
style="@style/ScrollView" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<TextView
|
<TextView
|
||||||
@@ -27,7 +27,7 @@ limitations under the License.
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/marker_detail_waypoint_section"
|
android:id="@+id/marker_detail_waypoint_section"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/marker_detail_waypoint_marker_type"
|
android:id="@+id/marker_detail_waypoint_marker_type"
|
||||||
@@ -39,14 +39,14 @@ limitations under the License.
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/marker_detail_statistics_section"
|
android:id="@+id/marker_detail_statistics_section"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<TextView
|
<TextView
|
||||||
android:text="@string/marker_detail_statistics_title"
|
android:text="@string/marker_detail_statistics_title"
|
||||||
style="@style/TextLarge.WithTopMargin" />
|
style="@style/TextLarge.WithTopMargin" />
|
||||||
<TableLayout
|
<TableLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:paddingTop="8dp"
|
android:paddingTop="8dp"
|
||||||
android:shrinkColumns="0,2"
|
android:shrinkColumns="0,2"
|
||||||
android:stretchColumns="0,2" >
|
android:stretchColumns="0,2" >
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<TextView
|
<TextView
|
||||||
@@ -30,7 +30,7 @@ limitations under the License.
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/marker_edit_statistics_section"
|
android:id="@+id/marker_edit_statistics_section"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<EditText
|
<EditText
|
||||||
android:drawableLeft="@drawable/yellow_pushpin"
|
android:drawableLeft="@drawable/yellow_pushpin"
|
||||||
@@ -42,7 +42,7 @@ limitations under the License.
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/marker_edit_waypoint_section"
|
android:id="@+id/marker_edit_waypoint_section"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<EditText
|
<EditText
|
||||||
android:drawableLeft="@drawable/blue_pushpin"
|
android:drawableLeft="@drawable/blue_pushpin"
|
||||||
|
|||||||
@@ -15,12 +15,12 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent" >
|
android:layout_width="match_parent" >
|
||||||
<ListView
|
<ListView
|
||||||
android:id="@+id/marker_list"
|
android:id="@+id/marker_list"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent" />
|
android:layout_width="match_parent" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/marker_list_empty"
|
android:id="@+id/marker_list_empty"
|
||||||
android:text="@string/marker_list_empty_message"
|
android:text="@string/marker_list_empty_message"
|
||||||
|
|||||||
@@ -15,12 +15,12 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent" >
|
android:layout_width="match_parent" >
|
||||||
<ListView
|
<ListView
|
||||||
android:id="@+id/search_list"
|
android:id="@+id/search_list"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent" />
|
android:layout_width="match_parent" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/search_list_empty"
|
android:id="@+id/search_list_empty"
|
||||||
android:text="@string/search_list_empty_message"
|
android:text="@string/search_list_empty_message"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView" >
|
style="@style/ScrollView" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<TextView
|
<TextView
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView" >
|
style="@style/ScrollView" >
|
||||||
<TableLayout
|
<TableLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:padding="8dp"
|
android:padding="8dp"
|
||||||
android:shrinkColumns="0,2"
|
android:shrinkColumns="0,2"
|
||||||
android:stretchColumns="0,2" >
|
android:stretchColumns="0,2" >
|
||||||
|
|||||||
@@ -18,12 +18,12 @@ limitations under the License.
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:background="@color/black"
|
android:background="@color/black"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:paddingBottom="8dp"
|
android:paddingBottom="8dp"
|
||||||
android:paddingTop="8dp" >
|
android:paddingTop="8dp" >
|
||||||
<View
|
<View
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_width="0dp" />
|
android:layout_width="0dp" />
|
||||||
<ImageButton
|
<ImageButton
|
||||||
@@ -34,7 +34,7 @@ limitations under the License.
|
|||||||
android:layout_weight="10"
|
android:layout_weight="10"
|
||||||
android:layout_width="0dp" />
|
android:layout_width="0dp" />
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="6"
|
android:layout_weight="6"
|
||||||
android:layout_width="0dp" >
|
android:layout_width="0dp" >
|
||||||
<TextView
|
<TextView
|
||||||
@@ -63,12 +63,12 @@ limitations under the License.
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:src="@drawable/btn_stop_1" />
|
android:src="@drawable/btn_stop_1" />
|
||||||
<View
|
<View
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_width="0dp" />
|
android:layout_width="0dp" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<View
|
<View
|
||||||
android:background="@color/gray"
|
android:background="@color/gray"
|
||||||
android:layout_height="1dp"
|
android:layout_height="1dp"
|
||||||
android:layout_width="fill_parent" />
|
android:layout_width="match_parent" />
|
||||||
</merge>
|
</merge>
|
||||||
@@ -15,23 +15,23 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<TabHost
|
<TabHost
|
||||||
android:id="@android:id/tabhost"
|
android:id="@android:id/tabhost"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_width="fill_parent" >
|
android:layout_width="match_parent" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<TabWidget
|
<TabWidget
|
||||||
android:id="@android:id/tabs"
|
android:id="@android:id/tabs"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="0"
|
android:layout_weight="0"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="horizontal" />
|
android:orientation="horizontal" />
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@android:id/tabcontent"
|
android:id="@android:id/tabcontent"
|
||||||
@@ -42,7 +42,7 @@ limitations under the License.
|
|||||||
android:id="@+id/realtabcontent"
|
android:id="@+id/realtabcontent"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:layout_width="fill_parent" />
|
android:layout_width="match_parent" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</TabHost>
|
</TabHost>
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<TextView
|
<TextView
|
||||||
|
|||||||
@@ -15,19 +15,19 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<ListView
|
<ListView
|
||||||
android:id="@+id/track_list"
|
android:id="@+id/track_list"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:layout_width="fill_parent" />
|
android:layout_width="match_parent" />
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/track_list_empty_view"
|
android:id="@+id/track_list_empty_view"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:layout_weight="1.0"
|
android:layout_weight="1.0"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:text="@string/track_list_empty_message"
|
android:text="@string/track_list_empty_message"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
style="@style/ListEmptyTextView" >
|
style="@style/ListEmptyTextView" >
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ limitations under the License.
|
|||||||
style="@style/TrackWidgetButtonRecord" />
|
style="@style/TrackWidgetButtonRecord" />
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/track_widget_stats_container"
|
android:id="@+id/track_widget_stats_container"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="18"
|
android:layout_weight="18"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:padding="0dp"
|
android:padding="0dp"
|
||||||
|
|||||||
@@ -15,13 +15,13 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
-->
|
-->
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:layout_height="fill_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical" >
|
android:orientation="vertical" >
|
||||||
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
<ScrollView style="@style/ScrollView.WithBottomButtons" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<Spinner
|
<Spinner
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ limitations under the License.
|
|||||||
style="@style/ScrollView" >
|
style="@style/ScrollView" >
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent"
|
android:layout_width="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:padding="8dp" >
|
android:padding="8dp" >
|
||||||
<!-- Google Maps result -->
|
<!-- Google Maps result -->
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ limitations under the License.
|
|||||||
<!-- bottom button bar -->
|
<!-- bottom button bar -->
|
||||||
<style name="BottomButtonBar" parent="@android:style/DeviceDefault.ButtonBar">
|
<style name="BottomButtonBar" parent="@android:style/DeviceDefault.ButtonBar">
|
||||||
<item name="android:layout_height">wrap_content</item>
|
<item name="android:layout_height">wrap_content</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:orientation">horizontal</item>
|
<item name="android:orientation">horizontal</item>
|
||||||
<item name="android:measureWithLargestChild">true</item>
|
<item name="android:measureWithLargestChild">true</item>
|
||||||
</style>
|
</style>
|
||||||
@@ -48,25 +48,25 @@ limitations under the License.
|
|||||||
</style>
|
</style>
|
||||||
<!-- edit category -->
|
<!-- edit category -->
|
||||||
<style name="EditCategory" parent="@style/TextMedium">
|
<style name="EditCategory" parent="@style/TextMedium">
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:selectAllOnFocus">true</item>
|
<item name="android:selectAllOnFocus">true</item>
|
||||||
<item name="android:singleLine">true</item>
|
<item name="android:singleLine">true</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- edit description -->
|
<!-- edit description -->
|
||||||
<style name="EditDescription" parent="@style/TextMedium">
|
<style name="EditDescription" parent="@style/TextMedium">
|
||||||
<item name="android:inputType">textAutoCorrect|textCapSentences|textMultiLine</item>
|
<item name="android:inputType">textAutoCorrect|textCapSentences|textMultiLine</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:maxLines">50</item>
|
<item name="android:maxLines">50</item>
|
||||||
<item name="android:selectAllOnFocus">true</item>
|
<item name="android:selectAllOnFocus">true</item>
|
||||||
<item name="android:singleLine">false</item>
|
<item name="android:singleLine">false</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- edit label -->
|
<!-- edit label -->
|
||||||
<style name="EditLabel" parent="@style/TextMedium">
|
<style name="EditLabel" parent="@style/TextMedium">
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- edit label with icon -->
|
<!-- edit label with icon -->
|
||||||
<style name="EditLabel.WithIcon" parent="@style/TextMedium.WithIcon">
|
<style name="EditLabel.WithIcon" parent="@style/TextMedium.WithIcon">
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- edit label with icon, width padding top -->
|
<!-- edit label with icon, width padding top -->
|
||||||
<style name="EditLabel.WithIcon.WithPaddingTop">
|
<style name="EditLabel.WithIcon.WithPaddingTop">
|
||||||
@@ -79,14 +79,14 @@ limitations under the License.
|
|||||||
<!-- edit name marker -->
|
<!-- edit name marker -->
|
||||||
<style name="EditNameMarker" parent="@style/TextMedium.WithIcon">
|
<style name="EditNameMarker" parent="@style/TextMedium.WithIcon">
|
||||||
<item name="android:inputType">textAutoCorrect|textCapWords</item>
|
<item name="android:inputType">textAutoCorrect|textCapWords</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:selectAllOnFocus">true</item>
|
<item name="android:selectAllOnFocus">true</item>
|
||||||
<item name="android:singleLine">true</item>
|
<item name="android:singleLine">true</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- edit name track -->
|
<!-- edit name track -->
|
||||||
<style name="EditNameTrack" parent="@style/TextMedium">
|
<style name="EditNameTrack" parent="@style/TextMedium">
|
||||||
<item name="android:inputType">textAutoCorrect|textCapWords</item>
|
<item name="android:inputType">textAutoCorrect|textCapWords</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:selectAllOnFocus">true</item>
|
<item name="android:selectAllOnFocus">true</item>
|
||||||
<item name="android:singleLine">true</item>
|
<item name="android:singleLine">true</item>
|
||||||
</style>
|
</style>
|
||||||
@@ -113,8 +113,8 @@ limitations under the License.
|
|||||||
</style>
|
</style>
|
||||||
<!-- scroll view -->
|
<!-- scroll view -->
|
||||||
<style name="ScrollView">
|
<style name="ScrollView">
|
||||||
<item name="android:layout_height">fill_parent</item>
|
<item name="android:layout_height">match_parent</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:scrollbarStyle">outsideInset</item>
|
<item name="android:scrollbarStyle">outsideInset</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- scroll view with bottom buttons -->
|
<!-- scroll view with bottom buttons -->
|
||||||
@@ -126,7 +126,7 @@ limitations under the License.
|
|||||||
<style name="SensorStateValue" parent="@style/TextLarge">
|
<style name="SensorStateValue" parent="@style/TextLarge">
|
||||||
<item name="android:background">@android:color/background_light</item>
|
<item name="android:background">@android:color/background_light</item>
|
||||||
<item name="android:gravity">right</item>
|
<item name="android:gravity">right</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:paddingRight">8dp</item>
|
<item name="android:paddingRight">8dp</item>
|
||||||
<item name="android:textColor">@android:color/primary_text_light</item>
|
<item name="android:textColor">@android:color/primary_text_light</item>
|
||||||
</style>
|
</style>
|
||||||
@@ -137,7 +137,7 @@ limitations under the License.
|
|||||||
</style>
|
</style>
|
||||||
<!-- stats spacer -->
|
<!-- stats spacer -->
|
||||||
<style name="StatsSpacer">
|
<style name="StatsSpacer">
|
||||||
<item name="android:layout_height">fill_parent</item>
|
<item name="android:layout_height">match_parent</item>
|
||||||
<item name="android:layout_width">8dp</item>
|
<item name="android:layout_width">8dp</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- stats value -->
|
<!-- stats value -->
|
||||||
@@ -191,14 +191,14 @@ limitations under the License.
|
|||||||
<!-- track controller container -->
|
<!-- track controller container -->
|
||||||
<style name="TrackControllerContainer">
|
<style name="TrackControllerContainer">
|
||||||
<item name="android:layout_height">wrap_content</item>
|
<item name="android:layout_height">wrap_content</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:orientation">vertical</item>
|
<item name="android:orientation">vertical</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- track widget bounding box -->
|
<!-- track widget bounding box -->
|
||||||
<style name="TrackWidgetBoundingBox">
|
<style name="TrackWidgetBoundingBox">
|
||||||
<item name="android:background">@drawable/track_widget_background</item>
|
<item name="android:background">@drawable/track_widget_background</item>
|
||||||
<item name="android:layout_height">fill_parent</item>
|
<item name="android:layout_height">match_parent</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:padding">@dimen/widget_margin</item>
|
<item name="android:padding">@dimen/widget_margin</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- track widget button -->
|
<!-- track widget button -->
|
||||||
@@ -212,7 +212,7 @@ limitations under the License.
|
|||||||
<item name="android:gravity">center_vertical</item>
|
<item name="android:gravity">center_vertical</item>
|
||||||
<item name="android:layout_height">0dp</item>
|
<item name="android:layout_height">0dp</item>
|
||||||
<item name="android:layout_weight">1</item>
|
<item name="android:layout_weight">1</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:orientation">horizontal</item>
|
<item name="android:orientation">horizontal</item>
|
||||||
<item name="android:paddingBottom">4dp</item>
|
<item name="android:paddingBottom">4dp</item>
|
||||||
<item name="android:paddingTop">4dp</item>
|
<item name="android:paddingTop">4dp</item>
|
||||||
@@ -234,13 +234,13 @@ limitations under the License.
|
|||||||
<item name="android:layout_gravity">center_horizontal</item>
|
<item name="android:layout_gravity">center_horizontal</item>
|
||||||
<item name="android:layout_height">wrap_content</item>
|
<item name="android:layout_height">wrap_content</item>
|
||||||
<item name="android:layout_margin">8dp</item>
|
<item name="android:layout_margin">8dp</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- Track widget frame -->
|
<!-- Track widget frame -->
|
||||||
<style name="TrackWidgetFrame">
|
<style name="TrackWidgetFrame">
|
||||||
<item name="android:layout_alignParentTop">true</item>
|
<item name="android:layout_alignParentTop">true</item>
|
||||||
<item name="android:layout_height">fill_parent</item>
|
<item name="android:layout_height">match_parent</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:orientation">vertical</item>
|
<item name="android:orientation">vertical</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- track widget horizontal line -->
|
<!-- track widget horizontal line -->
|
||||||
@@ -257,7 +257,7 @@ limitations under the License.
|
|||||||
<!-- track widget horizontal separator -->
|
<!-- track widget horizontal separator -->
|
||||||
<style name="TrackWidgetHorizontalSeparator">
|
<style name="TrackWidgetHorizontalSeparator">
|
||||||
<item name="android:layout_height">wrap_content</item>
|
<item name="android:layout_height">wrap_content</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:orientation">horizontal</item>
|
<item name="android:orientation">horizontal</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- track widget item container -->
|
<!-- track widget item container -->
|
||||||
@@ -319,7 +319,7 @@ limitations under the License.
|
|||||||
<style name="TrackWidgetStatsContainer">
|
<style name="TrackWidgetStatsContainer">
|
||||||
<item name="android:clickable">true</item>
|
<item name="android:clickable">true</item>
|
||||||
<item name="android:layout_height">0dp</item>
|
<item name="android:layout_height">0dp</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:orientation">vertical</item>
|
<item name="android:orientation">vertical</item>
|
||||||
<item name="android:padding">4dp</item>
|
<item name="android:padding">4dp</item>
|
||||||
</style>
|
</style>
|
||||||
@@ -328,7 +328,7 @@ limitations under the License.
|
|||||||
<item name="android:gravity">center_vertical</item>
|
<item name="android:gravity">center_vertical</item>
|
||||||
<item name="android:layout_height">0dp</item>
|
<item name="android:layout_height">0dp</item>
|
||||||
<item name="android:layout_weight">1</item>
|
<item name="android:layout_weight">1</item>
|
||||||
<item name="android:layout_width">fill_parent</item>
|
<item name="android:layout_width">match_parent</item>
|
||||||
<item name="android:orientation">horizontal</item>
|
<item name="android:orientation">horizontal</item>
|
||||||
</style>
|
</style>
|
||||||
<!-- track widget unit -->
|
<!-- track widget unit -->
|
||||||
@@ -390,7 +390,7 @@ limitations under the License.
|
|||||||
</style>
|
</style>
|
||||||
<!-- track widget vertical separator -->
|
<!-- track widget vertical separator -->
|
||||||
<style name="TrackWidgetVerticalSeparator">
|
<style name="TrackWidgetVerticalSeparator">
|
||||||
<item name="android:layout_height">fill_parent</item>
|
<item name="android:layout_height">match_parent</item>
|
||||||
<item name="android:layout_width">wrap_content</item>
|
<item name="android:layout_width">wrap_content</item>
|
||||||
<item name="android:orientation">vertical</item>
|
<item name="android:orientation">vertical</item>
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -125,13 +125,12 @@ public class ChartFragment extends Fragment implements TrackDataListener {
|
|||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("deprecation")
|
|
||||||
@Override
|
@Override
|
||||||
public void onStart() {
|
public void onStart() {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
ViewGroup layout = (ViewGroup) getActivity().findViewById(R.id.chart_view_layout);
|
ViewGroup layout = (ViewGroup) getActivity().findViewById(R.id.chart_view_layout);
|
||||||
LayoutParams layoutParams = new LayoutParams(
|
LayoutParams layoutParams = new LayoutParams(
|
||||||
LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT);
|
LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
|
||||||
layout.addView(chartView, layoutParams);
|
layout.addView(chartView, layoutParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -103,21 +103,21 @@ public class ControlRecordingService extends IntentService implements ServiceCon
|
|||||||
* Handles the intent to start or stop a recording.
|
* Handles the intent to start or stop a recording.
|
||||||
*
|
*
|
||||||
* @param intent to be handled
|
* @param intent to be handled
|
||||||
* @param trackRecordingService the trackRecordingService
|
* @param service the trackRecordingService
|
||||||
*/
|
*/
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
void onHandleIntent(Intent intent, @SuppressWarnings("hiding") ITrackRecordingService trackRecordingService) {
|
void onHandleIntent(Intent intent, ITrackRecordingService service) {
|
||||||
String action = intent.getAction();
|
String action = intent.getAction();
|
||||||
if (action != null) {
|
if (action != null) {
|
||||||
try {
|
try {
|
||||||
if (action.equals(getString(R.string.track_action_start))) {
|
if (action.equals(getString(R.string.track_action_start))) {
|
||||||
trackRecordingService.startNewTrack();
|
service.startNewTrack();
|
||||||
} else if (action.equals(getString(R.string.track_action_end))) {
|
} else if (action.equals(getString(R.string.track_action_end))) {
|
||||||
trackRecordingService.endCurrentTrack();
|
service.endCurrentTrack();
|
||||||
} else if (action.equals(getString(R.string.track_action_pause))) {
|
} else if (action.equals(getString(R.string.track_action_pause))) {
|
||||||
trackRecordingService.pauseCurrentTrack();
|
service.pauseCurrentTrack();
|
||||||
} else if (action.equals(getString(R.string.track_action_resume))) {
|
} else if (action.equals(getString(R.string.track_action_resume))) {
|
||||||
trackRecordingService.resumeCurrentTrack();
|
service.resumeCurrentTrack();
|
||||||
}
|
}
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.d(TAG, "ControlRecordingService onHandleIntent RemoteException", e);
|
Log.d(TAG, "ControlRecordingService onHandleIntent RemoteException", e);
|
||||||
|
|||||||
+3
-11
@@ -453,9 +453,8 @@ public class MyTracksProviderUtilsImplTest extends AndroidTestCase {
|
|||||||
return MyTracksProviderUtilsImplTest.MOCK_DESC;
|
return MyTracksProviderUtilsImplTest.MOCK_DESC;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("hiding")
|
|
||||||
@Override
|
@Override
|
||||||
public String generateTrackDescription(Track track, Vector<Double> distances,
|
public String generateTrackDescription(Track aTrack, Vector<Double> distances,
|
||||||
Vector<Double> elevations, boolean html) {
|
Vector<Double> elevations, boolean html) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -509,9 +508,8 @@ public class MyTracksProviderUtilsImplTest extends AndroidTestCase {
|
|||||||
return MyTracksProviderUtilsImplTest.MOCK_DESC;
|
return MyTracksProviderUtilsImplTest.MOCK_DESC;
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("hiding")
|
|
||||||
@Override
|
@Override
|
||||||
public String generateTrackDescription(Track track, Vector<Double> distances,
|
public String generateTrackDescription(Track aTrack, Vector<Double> distances,
|
||||||
Vector<Double> elevations, boolean html) {
|
Vector<Double> elevations, boolean html) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -653,14 +651,8 @@ public class MyTracksProviderUtilsImplTest extends AndroidTestCase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tests the method {@link MyTracksProviderUtilsImpl#createLocation(Cursor)}.
|
* Tests the method {@link MyTracksProviderUtilsImpl#createTrackPoint(Cursor)}.
|
||||||
* This test also covers the method
|
|
||||||
* {@link MyTracksProviderUtilsImpl#fillLocation(Cursor, Location)} and
|
|
||||||
* {@link MyTracksProviderUtilsImpl#fillLocation(Cursor, MyTracksProviderUtilsImpl.CachedTrackPointsIndexes, Location)}
|
|
||||||
* and the inner class
|
|
||||||
* {@link MyTracksProviderUtilsImpl.CachedTrackPointsIndexes}.
|
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("javadoc")
|
|
||||||
@UsesMocks(Cursor.class)
|
@UsesMocks(Cursor.class)
|
||||||
public void testCreateTrackPoint() {
|
public void testCreateTrackPoint() {
|
||||||
Cursor cursorMock = AndroidMock.createNiceMock(Cursor.class);
|
Cursor cursorMock = AndroidMock.createNiceMock(Cursor.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user