code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/DeleteTrack.java | Java | asf20 | 3,820 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/MyTracks.java | Java | asf20 | 15,931 |
/*
* Copyright 2010 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/CheckUnits.java | Java | asf20 | 3,229 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/StatsActivity.java | Java | asf20 | 9,050 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/Constants.java | Java | asf20 | 7,327 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/MapOverlay.java | Java | asf20 | 15,424 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/SensorStateActivity.java | Java | asf20 | 9,948 |
/*
* Copyright 2008 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/TrackDetails.java | Java | asf20 | 3,940 |
package com.google.android.apps.mytracks;
import com.google.android.maps.mytracks.R;
import android.content.Context;
import android.preference.EditTextPreference;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewParent;
import android.widget.ArrayAdapt... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/AutoCompleteTextPreference.java | Java | asf20 | 1,994 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/AccountChooser.java | Java | asf20 | 4,560 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/ChartView.java | Java | asf20 | 26,924 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/MyMapsList.java | Java | asf20 | 5,502 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/DialogManager.java | Java | asf20 | 2,182 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/TrackList.java | Java | asf20 | 12,878 |
package com.google.android.apps.mytracks;
import com.google.android.maps.mytracks.R;
import android.app.Activity;
import android.database.DataSetObserver;
import android.graphics.Color;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListAdapter;
import android.widget.TextView;
import ... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/MyMapsListAdapter.java | Java | asf20 | 3,377 |
/*
* Copyright 2008 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/NavControls.java | Java | asf20 | 6,461 |
/*
* Copyright 2011 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/SystemUtils.java | Java | asf20 | 3,537 |
/*
* Copyright 2008 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/EulaUtil.java | Java | asf20 | 1,587 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ApiLevel5Adapter.java | Java | asf20 | 1,273 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/LocationUtils.java | Java | asf20 | 8,165 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/UriUtils.java | Java | asf20 | 1,730 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/StringUtils.java | Java | asf20 | 17,675 |
/*
* Copyright 2008 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/UnitConversions.java | Java | asf20 | 1,177 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ApiLevel3Adapter.java | Java | asf20 | 3,791 |
/*
* Copyright 2009 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ChartURLGenerator.java | Java | asf20 | 5,304 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ApiLevelAdapter.java | Java | asf20 | 3,532 |
/*
* Copyright 2009 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/GeoRect.java | Java | asf20 | 1,684 |
package com.google.android.apps.mytracks.util;
import com.google.android.apps.mytracks.io.backup.BackupPreferencesListener;
import com.google.android.apps.mytracks.io.backup.BackupPreferencesListenerImpl;
import com.google.android.apps.mytracks.services.tasks.FroyoStatusAnnouncerTask;
import com.google.android.apps.my... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ApiLevel8Adapter.java | Java | asf20 | 843 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/FileUtils.java | Java | asf20 | 5,056 |
/*
* Copyright 2010 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/BluetoothDeviceUtils.java | Java | asf20 | 6,199 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ApiFeatures.java | Java | asf20 | 3,427 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ResourceUtils.java | Java | asf20 | 2,378 |
package com.google.android.apps.mytracks.util;
import com.google.android.apps.mytracks.Constants;
import com.google.api.client.http.HttpTransport;
import com.google.api.client.http.javanet.NetHttpTransport;
import android.content.SharedPreferences.Editor;
import android.os.StrictMode;
import android.util.Log;
import... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ApiLevel9Adapter.java | Java | asf20 | 1,249 |
/*
* Copyright 2009 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/util/ChartsExtendedEncoder.java | Java | asf20 | 1,963 |
/*
* Copyright 2008 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/WelcomeActivity.java | Java | asf20 | 2,951 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendActivity.java | Java | asf20 | 29,926 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendType.java | Java | asf20 | 1,507 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendDialog.java | Java | asf20 | 5,873 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/SendResult.java | Java | asf20 | 1,333 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/ResultListAdapter.java | Java | asf20 | 3,025 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/sendtogoogle/ResultDialogFactory.java | Java | asf20 | 4,083 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/docs/DocsTagBuilder.java | Java | asf20 | 3,565 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/docs/DocsHelper.java | Java | asf20 | 15,571 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/gdata/AndroidGDataClient.java | Java | asf20 | 14,518 |
/*
* Copyright 2010 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/gdata/QueryParamsImpl.java | Java | asf20 | 2,857 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/gdata/GDataClientFactory.java | Java | asf20 | 1,696 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/gdata/GDataWrapper.java | Java | asf20 | 10,050 |
/*
* Copyright 2009 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/AuthManagerOld.java | Java | asf20 | 4,713 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/AuthManager.java | Java | asf20 | 3,314 |
/*
* Copyright 2010 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 i... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/BackupColumns.java | Java | asf20 | 4,267 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/ExternalFileBackup.java | Java | asf20 | 9,130 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/PreferenceBackupHelper.java | Java | asf20 | 5,986 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/BackupActivityHelper.java | Java | asf20 | 7,614 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/DatabaseDumper.java | Java | asf20 | 7,903 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/DatabaseImporter.java | Java | asf20 | 6,240 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/MyTracksBackupAgent.java | Java | asf20 | 3,622 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/BackupPreferencesListenerImpl.java | Java | asf20 | 1,276 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/backup/BackupPreferencesListener.java | Java | asf20 | 955 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/TcxTrackWriter.java | Java | asf20 | 10,935 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/GpxImporter.java | Java | asf20 | 16,397 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/TrackWriterFactory.java | Java | asf20 | 3,557 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/TrackWriter.java | Java | asf20 | 2,549 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/SaveActivity.java | Java | asf20 | 7,643 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/ImportActivity.java | Java | asf20 | 1,750 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/CsvTrackWriter.java | Java | asf20 | 4,662 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/TrackWriterImpl.java | Java | asf20 | 11,289 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/TrackFormatWriter.java | Java | asf20 | 2,765 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/KmlTrackWriter.java | Java | asf20 | 7,647 |
/*
* Copyright 2011 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/WriteProgressController.java | Java | asf20 | 4,407 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/TempFileCleaner.java | Java | asf20 | 2,099 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/file/GpxTrackWriter.java | Java | asf20 | 5,472 |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.wireless.gdata.data.Entry;
import java.util.HashMap;
import java.util.Map;
/**
* GData entry for a map feature.
*/
class MapFeatureEntry extends Entry {
private String mPrivacy = null;
priv... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MapFeatureEntry.java | Java | asf20 | 774 |
// Copyright 2009 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.wireless.gdata.data.Entry;
import com.google.wireless.gdata.data.StringUtils;
import android.graphics.Color;
import android.util.Log;
import org.xmlpull.v1.XmlPullParserException;
import org.xmlpu... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MyMapsGDataConverter.java | Java | asf20 | 7,208 |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.wireless.gdata.client.GDataParserFactory;
import com.google.wireless.gdata.data.Entry;
import com.google.wireless.gdata.parser.GDataParser;
import com.google.wireless.gdata.parser.ParseException;
im... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/XmlMapsGDataParserFactory.java | Java | asf20 | 2,921 |
// Copyright 2009 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.wireless.gdata.data.Entry;
import com.google.wireless.gdata.data.Feed;
import com.google.wireless.gdata.data.XmlUtils;
import com.google.wireless.gdata.parser.ParseException;
import com.google.wirel... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/XmlMapsGDataParser.java | Java | asf20 | 6,057 |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.wireless.gdata.client.GDataClient;
import com.google.wireless.gdata.client.GDataParserFactory;
import com.google.wireless.gdata.client.GDataServiceClient;
import android.util.Log;
/**
* Client to... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MapsClient.java | Java | asf20 | 3,468 |
// Copyright 2009 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
/**
* Constants for My Maps.
*/
public class MyMapsConstants {
static final String TAG = "MapsApi";
static final String MAPSHOP_BASE_URL =
"https://maps.google.com/maps/ms";
public static final String S... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MyMapsConstants.java | Java | asf20 | 441 |
// Copyright 2011 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.android.apps.mytracks.content.Waypoint;
import com.google.android.apps.mytracks.io.AuthManager;
import com.google.android.apps.mytracks.util.StringUtils;
import com.google.android.maps.GeoPoint;
imp... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MapsFacade.java | Java | asf20 | 13,980 |
// Copyright 2009 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.android.maps.GeoPoint;
/**
* A rectangle in geographical space.
*/
class GeoRect {
public int top;
public int left;
public int bottom;
public int right;
public GeoRect() {
top = 0;... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/GeoRect.java | Java | asf20 | 1,140 |
// Copyright 2009 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.android.maps.GeoPoint;
import java.util.Random;
import java.util.Vector;
/**
* MyMapsFeature contains all of the data associated with a feature in My Maps,
* where a feature is a marker, line, o... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MyMapsFeature.java | Java | asf20 | 6,287 |
// Copyright 2009 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
/**
* Metadata about a maps feature.
*/
class MyMapsFeatureMetadata {
private static final String BLUE_DOT_URL =
"http://maps.google.com/mapfiles/ms/micons/blue-dot.png";
private static final int DEFAULT... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MyMapsFeatureMetadata.java | Java | asf20 | 1,663 |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.android.apps.mytracks.io.AuthManager;
import com.google.android.apps.mytracks.io.AuthManager.AuthCallback;
import com.google.android.apps.mytracks.io.gdata.GDataClientFactory;
import com.google.andr... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MyMapsGDataWrapper.java | Java | asf20 | 5,970 |
// Copyright 2009 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
/**
* Metadata about a "my maps" map.
*/
class MyMapsMapMetadata {
private String title;
private String description;
private String gdataEditUri;
private boolean searchable;
public MyMapsMapMetadata() {... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/MyMapsMapMetadata.java | Java | asf20 | 992 |
// Copyright 2010 Google Inc. All Rights Reserved.
package com.google.android.apps.mytracks.io.mymaps;
import com.google.wireless.gdata.data.StringUtils;
import com.google.wireless.gdata.parser.ParseException;
import com.google.wireless.gdata.parser.xml.XmlGDataParser;
import com.google.wireless.gdata.parser.xml.XmlPa... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/mymaps/XmlMapsGDataSerializer.java | Java | asf20 | 8,526 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/AuthManagerFactory.java | Java | asf20 | 1,707 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/SendToFusionTables.java | Java | asf20 | 26,036 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/ModernAuthManager.java | Java | asf20 | 7,558 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/SendToMyMaps.java | Java | asf20 | 15,973 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracks/src/com/google/android/apps/mytracks/io/SendToDocs.java | Java | asf20 | 9,439 |
/*
* Copyright 2007 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 i... | 0000som143-mytracks | MyTracks/src/com/google/wireless/gdata/docs/SpreadsheetsClient.java | Java | asf20 | 9,897 |
/*
* Copyright 2009 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 i... | 0000som143-mytracks | MyTracks/src/com/google/wireless/gdata/docs/DocumentsClient.java | Java | asf20 | 1,576 |
/*
* Copyright 2010 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 w... | 0000som143-mytracks | MyTracks/src/com/google/wireless/gdata/docs/XmlDocsGDataParserFactory.java | Java | asf20 | 2,298 |
#!/bin/bash
#
# Copyright 2010 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 ... | 0000som143-mytracks | scripts/cat_message | Shell | asf20 | 1,404 |
'''
Module which brings history information about files from Mercurial.
@author: Rodrigo Damazio
'''
import re
import subprocess
REVISION_REGEX = re.compile(r'(?P<hash>[0-9a-f]{12}):.*')
def _GetOutputLines(args):
'''
Runs an external process and returns its output as a list of lines.
@param args: the argume... | 0000som143-mytracks | scripts/i18n/src/mytracks/history.py | Python | asf20 | 2,914 |
#!/usr/bin/python
'''
Entry point for My Tracks i18n tool.
@author: Rodrigo Damazio
'''
import mytracks.files
import mytracks.translate
import mytracks.validate
import sys
def Usage():
print 'Usage: %s <command> [<language> ...]\n' % sys.argv[0]
print 'Commands are:'
print ' cleanup'
print ' translate'
p... | 0000som143-mytracks | scripts/i18n/src/mytracks/main.py | Python | asf20 | 2,508 |
'''
Module which prompts the user for translations and saves them.
TODO: implement
@author: Rodrigo Damazio
'''
class Translator(object):
'''
classdocs
'''
def __init__(self, language):
'''
Constructor
'''
self._language = language
def Translate(self, string_names):
print string_names | 0000som143-mytracks | scripts/i18n/src/mytracks/translate.py | Python | asf20 | 320 |
'''
Module which compares languague files to the master file and detects
issues.
@author: Rodrigo Damazio
'''
import os
from mytracks.parser import StringsParser
import mytracks.history
class Validator(object):
def __init__(self, languages):
'''
Builds a strings file validator.
Params:
@para... | 0000som143-mytracks | scripts/i18n/src/mytracks/validate.py | Python | asf20 | 3,547 |
'''
Module for dealing with resource files (but not their contents).
@author: Rodrigo Damazio
'''
import os.path
from glob import glob
import re
MYTRACKS_RES_DIR = 'MyTracks/res'
ANDROID_MASTER_VALUES = 'values'
ANDROID_VALUES_MASK = 'values-*'
def GetMyTracksDir():
'''
Returns the directory in which the MyTrac... | 0000som143-mytracks | scripts/i18n/src/mytracks/files.py | Python | asf20 | 1,229 |
'''
Module which parses a string XML file.
@author: Rodrigo Damazio
'''
from xml.parsers.expat import ParserCreate
import re
#import xml.etree.ElementTree as ET
class StringsParser(object):
'''
Parser for string XML files.
This object is not thread-safe and should be used for parsing a single file at
a time... | 0000som143-mytracks | scripts/i18n/src/mytracks/parser.py | Python | asf20 | 3,476 |
/*
* Copyright 2008 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 w... | 0000som143-mytracks | MyTracksLib/src/com/google/android/apps/mytracks/services/ITrackRecordingService.aidl | AIDL | asf20 | 2,340 |