code
stringlengths
3
1.18M
language
stringclasses
1 value
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.CacheFilter; import com.google.code.geobeagle.R; import com.google.code.geobeagle.Refresher; import com.google.code.geobeagle.activity.filterlist.FilterTypeCollection; import android.app.Activity; import android.app.Dialog; import android.cont...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.CacheFilter; import com.google.code.geobeagle.R; import com.google.code.geobeagle.Refresher; import com.google.code.geobeagle.activity.filterlist.FilterTypeCollection; import android.app.Activity; import android.app.Dialog; import android.cont...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.activity.cachelist.presenter.CacheListAdapter; import com.google.code.geobeagle.activity.cachelist.presenter.TitleUpdater; import com.google.code.geobeagle.database.CachesProviderDb; import com.google.code.geobeagle.database.DbFrontend; impor...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.Geocache; public interface CacheAction { public void act(Geocache cache); /** Returns the text to show to the user for this action. * The text is allowed to change depending on runtime circumstances. * @param geocache */ ...
Java
package com.google.code.geobeagle.actions; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; /** Adds a confirm dialog before carrying out the nested MenuAction */ public class MenuActionConfirm implements MenuAction { private final Activity mActivity; priva...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.CacheFilter; import com.google.code.geobeagle.activity.filterlist.FilterTypeCollection; import com.google.code.geobeagle.database.CachesProviderDb; import java.util.List; //TODO: Rename class CacheFilterUpdater.. "reload cache list from cach...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.Geocache; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; /** Adds a confirm dialog before carrying out the nested CacheAction */ public class CacheActionConfirm implements CacheAction { ...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.Geocache; import com.google.code.geobeagle.database.ICachesProvider; import android.util.Log; import android.view.ContextMenu; import android.view.MenuItem; import android.view.View; import android.view.ContextMenu.ContextMenuInfo; import and...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.GeoFix; import com.google.code.geobeagle.GeoFixProvider; import com.google.code.geobeagle.R; import com.google.code.geobeagle.activity.map.GeoMapActivity; import android.app.Activity; import android.content.Intent; import android.content.res....
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.Geocache; import com.google.code.geobeagle.R; import com.google.code.geobeagle.Tags; import com.google.code.geobeagle.activity.cachelist.presenter.CacheListAdapter; import com.google.code.geobeagle.database.DbFrontend; import android.app.Acti...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.R; import com.google.code.geobeagle.activity.filterlist.FilterListActivity; import android.content.Context; import android.content.Intent; import android.content.res.Resources; public class MenuActionFilterList extends ActionStaticLabel imple...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.actions; import com.google.code.geobeagle.GeocacheFactory; import com.google.code.geobeagle.Tags; import com.google.code.geobeagle.activity.cachelist.presenter.CacheListAdapter; import com.google.code.geobeagle.database.DbFrontend; public class MenuActionClearTagNew implements MenuAc...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.database; public interface ICachesProviderCenter extends ICachesProvider { public void setCenter(double latitude, double longitude); }
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.Geocache; import com.google.code.geobeagle.GeocacheListPrecomputed; import com.google.code.geobeagle.IPausable; import com.google.code.geobeagle.Refresher; import android.os.Handler; import android.util.Log; import java.util.AbstractList; ...
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.Geocache; import com.google.code.geobeagle.GeocacheListPrecomputed; import java.util.AbstractList; public class CachesProviderWaitForInit implements ICachesProviderCenter { private final ICachesProviderCenter mProvider; private bool...
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.Geocache; import java.util.AbstractList; //TODO: Remove this class and replace by a mechanism to change CachesProvider in CacheListAdapter public class CachesProviderToggler implements ICachesProviderCenter { private ICachesProviderCent...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.Clock; import com.google.code.geobeagle.Geocache; import com.google.code.geobeagle.activity.main.GeoUtils; import java.util.AbstractList; /** Currently this class doesn't serve a purpose since the same functionality * is in GeoFixProvider...
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.Clock; import com.google.code.geobeagle.Geocache; import android.util.Log; import java.util.AbstractList; /** * Finds the caches that are closest to a certain point. */ public class CachesProviderCount implements ICachesProviderCenter {...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.Geocache; import java.util.AbstractList; /** Interface to access a subset of the cache database. * Used to form a Decorator pattern. */ public interface ICachesProvider { /** Returns true if the result of getCaches() may have changed...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.Geocache; import java.util.AbstractList; public interface ICachesProviderArea extends ICachesProvider { void setBounds(double latLow, double lonLow, double latHigh, double lonHigh); /** @param maxResults If bigger than zero, the r...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.database; import com.google.code.geobeagle.CacheFilter; import com.google.code.geobeagle.Geocache; import com.google.code.geobeagle.activity.main.Util; import java.util.AbstractList; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; /** Uses a DB to fetch t...
Java
package com.google.code.geobeagle; import android.location.Location; /** Wrapper for the class android.location.Location that can't be instantiated directly */ public class GeoFix { public static final GeoFix NO_FIX = new GeoFix(0f, 0f, 0d, 0d, 0L, ""); private final float mAccuracy; private final do...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.formatting; public class DistanceFormatterImperial implements DistanceFormatter { public CharSequence formatDistance(float distance) { if (distance == -1) { return ""; } final float miles = distance / 1609.344f; if (miles > 0.1) ...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle; import java.util.AbstractList; import java.util.ArrayList; import java.util.Iterator; /** An ordered list of geocache objects, with support for * comparing with another such list. * * A future implementation can fetch * the geocaches from the database when first needed */ pub...
Java
package com.google.code.geobeagle; public interface GeoFixProvider extends IPausable { //From IPausableAndResumable: public void onResume(); public void onPause(); public GeoFix getLocation(); public void addObserver(Refresher refresher); //TODO: Rename to "areUpdatesEnabled" or something ...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle; import java.util.HashMap; import java.util.Map; public class Tags { /** This id must never occur in the database */ public final static int NULL = 0; public final static int FOUND = 1; public final static int DNF = 2; public final static int FAVORITES = 3; //TO...
Java
package com.google.code.geobeagle; import android.os.Handler; import java.util.ArrayList; //Doesn't have support for faking azimuth at the moment /** Change LocationControlDi.create() to return an instance of this class * to use fake locations everywhere but in the Map view. */ public class GeoFixProviderFake imple...
Java
package com.google.code.geobeagle; /** Allow objects that need to be paused/resumed to be sent as parameters * without requiring their specific type to be exposed. */ public interface IPausable { void onPause(); void onResume(); }
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.activity.searchonline; import com.google.code.geobeagle.IPausable; import com.google.code.geobeagle.activity.ActivitySaver; import com.google.code.geobeagle.activity.ActivityType; import com.google.code.geobeagle.activity.cachelist.presenter.DistanceFormatterManager; import android....
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* * Copyright (C) 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 agree...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java
package com.google.code.geobeagle.activity.cachelist.presenter; public class AbsoluteBearingFormatter implements BearingFormatter { private static final String[] LETTERS = { "N", "NE", "E", "SE", "S", "SW", "W", "NW" }; public String formatBearing(float absBearing, float myHeading) { ...
Java
package com.google.code.geobeagle.activity.cachelist.presenter; import com.google.code.geobeagle.Geocache; import com.google.code.geobeagle.Refresher; import com.google.code.geobeagle.database.CachesProviderToggler; import com.google.code.geobeagle.database.DistanceAndBearing; import com.google.code.geobeagle.database...
Java
/* ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this file except in compliance with the License. ** You may obtain a copy of the License at ** ** http://www.apache.org/licenses/LICENSE-2.0 ** ** Unless required by applicable law or agreed to in writing, software ** d...
Java