Loading api/current.xml +792 −16 Original line number Diff line number Diff line Loading @@ -81605,6 +81605,28 @@ visibility="public" > </method> <method name="getBearingAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getHorizontalAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getPowerRequirement" return="int" abstract="false" Loading @@ -81616,6 +81638,39 @@ visibility="public" > </method> <method name="getPriority" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getSpeedAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getVerticalAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="isAltitudeRequired" return="boolean" abstract="false" Loading Loading @@ -81686,6 +81741,19 @@ <parameter name="altitudeRequired" type="boolean"> </parameter> </method> <method name="setBearingAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="setBearingRequired" return="void" abstract="false" Loading @@ -81712,6 +81780,19 @@ <parameter name="costAllowed" type="boolean"> </parameter> </method> <method name="setHorizontalAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="setPowerRequirement" return="void" abstract="false" Loading @@ -81725,6 +81806,32 @@ <parameter name="level" type="int"> </parameter> </method> <method name="setPreferredPriority" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="priority" type="int"> </parameter> </method> <method name="setSpeedAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="setSpeedRequired" return="void" abstract="false" Loading @@ -81738,6 +81845,19 @@ <parameter name="speedRequired" type="boolean"> </parameter> </method> <method name="setVerticalAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="writeToParcel" return="void" abstract="false" Loading @@ -81753,6 +81873,17 @@ <parameter name="flags" type="int"> </parameter> </method> <field name="ACCURACY_BEST" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="ACCURACY_COARSE" type="int" transient="false" Loading @@ -81775,6 +81906,50 @@ visibility="public" > </field> <field name="ACCURACY_HIGH" type="int" transient="false" volatile="false" value="3" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="ACCURACY_LOW" type="int" transient="false" volatile="false" value="1" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="ACCURACY_MEDIUM" type="int" transient="false" volatile="false" value="2" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="BEARING_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="CREATOR" type="android.os.Parcelable.Creator" transient="false" Loading @@ -81785,6 +81960,17 @@ visibility="public" > </field> <field name="HORIZONTAL_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="1" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="NO_REQUIREMENT" type="int" transient="false" Loading Loading @@ -81829,6 +82015,39 @@ visibility="public" > </field> <field name="POWER_REQUIREMENT_PRIORITY" type="int" transient="false" volatile="false" value="5" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="SPEED_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="3" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="VERTICAL_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="2" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> </class> <class name="Geocoder" extends="java.lang.Object" Loading Loading @@ -81922,16 +82141,18 @@ </exception> </method> </class> <class name="GpsSatellite" <class name="GeocoderParams" extends="java.lang.Object" abstract="false" static="false" final="true" final="false" deprecated="not deprecated" visibility="public" > <method name="getAzimuth" return="float" <implements name="android.os.Parcelable"> </implements> <method name="describeContents" return="int" abstract="false" native="false" synchronized="false" Loading @@ -81941,8 +82162,8 @@ visibility="public" > </method> <method name="getElevation" return="float" <method name="getClientPackage" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -81952,8 +82173,8 @@ visibility="public" > </method> <method name="getPrn" return="int" <method name="getLocale" return="java.util.Locale" abstract="false" native="false" synchronized="false" Loading @@ -81963,8 +82184,8 @@ visibility="public" > </method> <method name="getSnr" return="float" <method name="writeToParcel" return="void" abstract="false" native="false" synchronized="false" Loading @@ -81973,9 +82194,32 @@ deprecated="not deprecated" visibility="public" > <parameter name="parcel" type="android.os.Parcel"> </parameter> <parameter name="flags" type="int"> </parameter> </method> <method name="hasAlmanac" return="boolean" <field name="CREATOR" type="android.os.Parcelable.Creator" transient="false" volatile="false" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> </class> <class name="GpsSatellite" extends="java.lang.Object" abstract="false" static="false" final="true" deprecated="not deprecated" visibility="public" > <method name="getAzimuth" return="float" abstract="false" native="false" synchronized="false" Loading @@ -81985,8 +82229,8 @@ visibility="public" > </method> <method name="hasEphemeris" return="boolean" <method name="getElevation" return="float" abstract="false" native="false" synchronized="false" Loading @@ -81996,8 +82240,52 @@ visibility="public" > </method> <method name="usedInFix" return="boolean" <method name="getPrn" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getSnr" return="float" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="hasAlmanac" return="boolean" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="hasEphemeris" return="boolean" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="usedInFix" return="boolean" abstract="false" native="false" synchronized="false" Loading Loading @@ -83079,6 +83367,27 @@ deprecated="not deprecated" visibility="public" > <parameter name="minTime" type="long"> </parameter> <parameter name="minDistance" type="float"> </parameter> <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="listener" type="android.location.LocationListener"> </parameter> <parameter name="looper" type="android.os.Looper"> </parameter> </method> <method name="requestLocationUpdates" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="provider" type="java.lang.String"> </parameter> <parameter name="minTime" type="long"> Loading @@ -83088,6 +83397,89 @@ <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="requestLocationUpdates" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="minTime" type="long"> </parameter> <parameter name="minDistance" type="float"> </parameter> <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="provider" type="java.lang.String"> </parameter> <parameter name="listener" type="android.location.LocationListener"> </parameter> <parameter name="looper" type="android.os.Looper"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="listener" type="android.location.LocationListener"> </parameter> <parameter name="looper" type="android.os.Looper"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="provider" type="java.lang.String"> </parameter> <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="sendExtraCommand" return="boolean" abstract="false" Loading Loading @@ -83398,6 +83790,390 @@ </field> </class> </package> <package name="android.location.provider" > <class name="GeocodeProvider" extends="java.lang.Object" abstract="true" static="false" final="false" deprecated="not deprecated" visibility="public" > <constructor name="GeocodeProvider" type="android.location.provider.GeocodeProvider" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="getBinder" return="android.os.IBinder" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetFromLocation" return="java.lang.String" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="latitude" type="double"> </parameter> <parameter name="longitude" type="double"> </parameter> <parameter name="maxResults" type="int"> </parameter> <parameter name="params" type="android.location.GeocoderParams"> </parameter> <parameter name="addrs" type="java.util.List<android.location.Address>"> </parameter> </method> <method name="onGetFromLocationName" return="java.lang.String" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="locationName" type="java.lang.String"> </parameter> <parameter name="lowerLeftLatitude" type="double"> </parameter> <parameter name="lowerLeftLongitude" type="double"> </parameter> <parameter name="upperRightLatitude" type="double"> </parameter> <parameter name="upperRightLongitude" type="double"> </parameter> <parameter name="maxResults" type="int"> </parameter> <parameter name="params" type="android.location.GeocoderParams"> </parameter> <parameter name="addrs" type="java.util.List<android.location.Address>"> </parameter> </method> </class> <class name="LocationProvider" extends="java.lang.Object" abstract="true" static="false" final="false" deprecated="not deprecated" visibility="public" > <constructor name="LocationProvider" type="android.location.provider.LocationProvider" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="getBinder" return="android.os.IBinder" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onAddListener" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="uid" type="int"> </parameter> </method> <method name="onDisable" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onEnable" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onEnableLocationTracking" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="enable" type="boolean"> </parameter> </method> <method name="onGetAccuracy" return="int" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetInternalState" return="java.lang.String" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetPowerRequirement" return="int" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetStatus" return="int" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="extras" type="android.os.Bundle"> </parameter> </method> <method name="onGetStatusUpdateTime" return="long" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onHasMonetaryCost" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onMeetsCriteria" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="criteria" type="android.location.Criteria"> </parameter> </method> <method name="onRemoveListener" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="uid" type="int"> </parameter> </method> <method name="onRequiresCell" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onRequiresNetwork" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onRequiresSatellite" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onSendExtraCommand" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="command" type="java.lang.String"> </parameter> <parameter name="extras" type="android.os.Bundle"> </parameter> </method> <method name="onSetMinTime" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="minTime" type="long"> </parameter> </method> <method name="onSupportsAltitude" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onSupportsBearing" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onSupportsSpeed" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onUpdateLocation" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="location" type="android.location.Location"> </parameter> </method> <method name="onUpdateNetworkState" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="state" type="int"> </parameter> <parameter name="info" type="android.net.NetworkInfo"> </parameter> </method> <method name="reportLocation" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="location" type="android.location.Location"> </parameter> </method> </class> </package> <package name="android.media" > <class name="AsyncPlayer" location/java/android/location/Criteria.java +0 −19 Original line number Diff line number Diff line Loading @@ -63,7 +63,6 @@ public class Criteria implements Parcelable { * For horizontal and vertical position this corresponds to an accuracy * greater than 500 meters. For speed and bearing, this corresponds * to greater than 5 meters/second velocity and 10 degrees for bearing. * {@hide} */ public static final int ACCURACY_LOW = 1; Loading @@ -74,7 +73,6 @@ public class Criteria implements Parcelable { * 100 and 500 meters, and between 200 and 500 meters for vertical accuracy. * For speed and bearing, this corresponds to 1 meter/second to 5 meters/second * velocity and and between 5 and 10 degrees for bearing. * {@hide} */ public static final int ACCURACY_MEDIUM = 2; Loading @@ -84,7 +82,6 @@ public class Criteria implements Parcelable { * For horizontal and vertical position this corresponds to an accuracy * less than 100 meters. For speed and bearing, this corresponds * to less 1 meter/second velocity less than 5 degrees for bearing. * {@hide} */ public static final int ACCURACY_HIGH = 3; Loading @@ -92,37 +89,31 @@ public class Criteria implements Parcelable { * a constant indicating the best accuracy that is available for any * location provider available * - may be used for horizontal, altitude, speed or bearing accuracy. * {@hide} */ public static final int ACCURACY_BEST = 4; /** * A constant indicating horizontal accuracy has the top priority * {@hide} */ public static final int HORIZONTAL_ACCURACY_PRIORITY = 1; /** * A constant indicating altitude accuracy has the top priority * {@hide} */ public static final int VERTICAL_ACCURACY_PRIORITY = 2; /** * A constant indicating speed accuracy has the top priority * {@hide} */ public static final int SPEED_ACCURACY_PRIORITY = 3; /** * A constant indicating bearing accuracy has the top priority * {@hide} */ public static final int BEARING_ACCURACY_PRIORITY = 4; /** * A constant indicating power requirement has the top priority * {@hide} */ public static final int POWER_REQUIREMENT_PRIORITY = 5; Loading Loading @@ -168,7 +159,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setHorizontalAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -181,7 +171,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired horizontal accuracy (latitude and longitude). * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getHorizontalAccuracy() { return mHorizontalAccuracy; Loading @@ -194,7 +183,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setVerticalAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -207,7 +195,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired vertical accuracy (altitude). * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getVerticalAccuracy() { return mVerticalAccuracy; Loading @@ -220,7 +207,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setSpeedAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -233,7 +219,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired speed accuracy * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getSpeedAccuracy() { return mSpeedAccuracy; Loading @@ -246,7 +231,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setBearingAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -259,7 +243,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired bearing accuracy. * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getBearingAccuracy() { return mBearingAccuracy; Loading @@ -277,7 +260,6 @@ public class Criteria implements Parcelable { * {@link #HORIZONTAL_ACCURACY_PRIORITY}, {@link #POWER_REQUIREMENT_PRIORITY}, * {@link #VERTICAL_ACCURACY_PRIORITY}, {@link #SPEED_ACCURACY_PRIORITY}, * {@link #BEARING_ACCURACY_PRIORITY}. * {@hide} */ public void setPreferredPriority(int priority) { if (priority < HORIZONTAL_ACCURACY_PRIORITY || priority > POWER_REQUIREMENT_PRIORITY) { Loading @@ -292,7 +274,6 @@ public class Criteria implements Parcelable { * The value can be {@link #HORIZONTAL_ACCURACY_PRIORITY}, * {@link #VERTICAL_ACCURACY_PRIORITY}, {@link #SPEED_ACCURACY_PRIORITY}, * {@link #BEARING_ACCURACY_PRIORITY} or {@link #POWER_REQUIREMENT_PRIORITY}. * {@hide} */ public int getPriority() { return mPriority; Loading location/java/android/location/GeocoderParams.java +0 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,6 @@ import java.util.Locale; * as well as the Geocoder client's package name for geocoder server * logging. This information is kept in a separate class to allow for * future expansion of the IGeocodeProvider interface. * * @hide */ public class GeocoderParams implements Parcelable { private Locale mLocale; Loading location/java/android/location/LocationManager.java +0 −12 File changed.Preview size limit exceeded, changes collapsed. Show changes location/java/android/location/provider/GeocodeProvider.java +0 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,6 @@ import java.util.List; * outside of the core android platform. * Geocode providers can be implemented as services and return the result of * {@link GeocodeProvider#getBinder()} in its getBinder() method. * * @hide */ public abstract class GeocodeProvider { Loading Loading
api/current.xml +792 −16 Original line number Diff line number Diff line Loading @@ -81605,6 +81605,28 @@ visibility="public" > </method> <method name="getBearingAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getHorizontalAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getPowerRequirement" return="int" abstract="false" Loading @@ -81616,6 +81638,39 @@ visibility="public" > </method> <method name="getPriority" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getSpeedAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getVerticalAccuracy" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="isAltitudeRequired" return="boolean" abstract="false" Loading Loading @@ -81686,6 +81741,19 @@ <parameter name="altitudeRequired" type="boolean"> </parameter> </method> <method name="setBearingAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="setBearingRequired" return="void" abstract="false" Loading @@ -81712,6 +81780,19 @@ <parameter name="costAllowed" type="boolean"> </parameter> </method> <method name="setHorizontalAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="setPowerRequirement" return="void" abstract="false" Loading @@ -81725,6 +81806,32 @@ <parameter name="level" type="int"> </parameter> </method> <method name="setPreferredPriority" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="priority" type="int"> </parameter> </method> <method name="setSpeedAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="setSpeedRequired" return="void" abstract="false" Loading @@ -81738,6 +81845,19 @@ <parameter name="speedRequired" type="boolean"> </parameter> </method> <method name="setVerticalAccuracy" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="accuracy" type="int"> </parameter> </method> <method name="writeToParcel" return="void" abstract="false" Loading @@ -81753,6 +81873,17 @@ <parameter name="flags" type="int"> </parameter> </method> <field name="ACCURACY_BEST" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="ACCURACY_COARSE" type="int" transient="false" Loading @@ -81775,6 +81906,50 @@ visibility="public" > </field> <field name="ACCURACY_HIGH" type="int" transient="false" volatile="false" value="3" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="ACCURACY_LOW" type="int" transient="false" volatile="false" value="1" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="ACCURACY_MEDIUM" type="int" transient="false" volatile="false" value="2" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="BEARING_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="4" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="CREATOR" type="android.os.Parcelable.Creator" transient="false" Loading @@ -81785,6 +81960,17 @@ visibility="public" > </field> <field name="HORIZONTAL_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="1" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="NO_REQUIREMENT" type="int" transient="false" Loading Loading @@ -81829,6 +82015,39 @@ visibility="public" > </field> <field name="POWER_REQUIREMENT_PRIORITY" type="int" transient="false" volatile="false" value="5" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="SPEED_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="3" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> <field name="VERTICAL_ACCURACY_PRIORITY" type="int" transient="false" volatile="false" value="2" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> </class> <class name="Geocoder" extends="java.lang.Object" Loading Loading @@ -81922,16 +82141,18 @@ </exception> </method> </class> <class name="GpsSatellite" <class name="GeocoderParams" extends="java.lang.Object" abstract="false" static="false" final="true" final="false" deprecated="not deprecated" visibility="public" > <method name="getAzimuth" return="float" <implements name="android.os.Parcelable"> </implements> <method name="describeContents" return="int" abstract="false" native="false" synchronized="false" Loading @@ -81941,8 +82162,8 @@ visibility="public" > </method> <method name="getElevation" return="float" <method name="getClientPackage" return="java.lang.String" abstract="false" native="false" synchronized="false" Loading @@ -81952,8 +82173,8 @@ visibility="public" > </method> <method name="getPrn" return="int" <method name="getLocale" return="java.util.Locale" abstract="false" native="false" synchronized="false" Loading @@ -81963,8 +82184,8 @@ visibility="public" > </method> <method name="getSnr" return="float" <method name="writeToParcel" return="void" abstract="false" native="false" synchronized="false" Loading @@ -81973,9 +82194,32 @@ deprecated="not deprecated" visibility="public" > <parameter name="parcel" type="android.os.Parcel"> </parameter> <parameter name="flags" type="int"> </parameter> </method> <method name="hasAlmanac" return="boolean" <field name="CREATOR" type="android.os.Parcelable.Creator" transient="false" volatile="false" static="true" final="true" deprecated="not deprecated" visibility="public" > </field> </class> <class name="GpsSatellite" extends="java.lang.Object" abstract="false" static="false" final="true" deprecated="not deprecated" visibility="public" > <method name="getAzimuth" return="float" abstract="false" native="false" synchronized="false" Loading @@ -81985,8 +82229,8 @@ visibility="public" > </method> <method name="hasEphemeris" return="boolean" <method name="getElevation" return="float" abstract="false" native="false" synchronized="false" Loading @@ -81996,8 +82240,52 @@ visibility="public" > </method> <method name="usedInFix" return="boolean" <method name="getPrn" return="int" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="getSnr" return="float" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="hasAlmanac" return="boolean" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="hasEphemeris" return="boolean" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="usedInFix" return="boolean" abstract="false" native="false" synchronized="false" Loading Loading @@ -83079,6 +83367,27 @@ deprecated="not deprecated" visibility="public" > <parameter name="minTime" type="long"> </parameter> <parameter name="minDistance" type="float"> </parameter> <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="listener" type="android.location.LocationListener"> </parameter> <parameter name="looper" type="android.os.Looper"> </parameter> </method> <method name="requestLocationUpdates" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="provider" type="java.lang.String"> </parameter> <parameter name="minTime" type="long"> Loading @@ -83088,6 +83397,89 @@ <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="requestLocationUpdates" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="minTime" type="long"> </parameter> <parameter name="minDistance" type="float"> </parameter> <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="provider" type="java.lang.String"> </parameter> <parameter name="listener" type="android.location.LocationListener"> </parameter> <parameter name="looper" type="android.os.Looper"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="listener" type="android.location.LocationListener"> </parameter> <parameter name="looper" type="android.os.Looper"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="provider" type="java.lang.String"> </parameter> <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="requestSingleUpdate" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="criteria" type="android.location.Criteria"> </parameter> <parameter name="intent" type="android.app.PendingIntent"> </parameter> </method> <method name="sendExtraCommand" return="boolean" abstract="false" Loading Loading @@ -83398,6 +83790,390 @@ </field> </class> </package> <package name="android.location.provider" > <class name="GeocodeProvider" extends="java.lang.Object" abstract="true" static="false" final="false" deprecated="not deprecated" visibility="public" > <constructor name="GeocodeProvider" type="android.location.provider.GeocodeProvider" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="getBinder" return="android.os.IBinder" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetFromLocation" return="java.lang.String" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="latitude" type="double"> </parameter> <parameter name="longitude" type="double"> </parameter> <parameter name="maxResults" type="int"> </parameter> <parameter name="params" type="android.location.GeocoderParams"> </parameter> <parameter name="addrs" type="java.util.List<android.location.Address>"> </parameter> </method> <method name="onGetFromLocationName" return="java.lang.String" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="locationName" type="java.lang.String"> </parameter> <parameter name="lowerLeftLatitude" type="double"> </parameter> <parameter name="lowerLeftLongitude" type="double"> </parameter> <parameter name="upperRightLatitude" type="double"> </parameter> <parameter name="upperRightLongitude" type="double"> </parameter> <parameter name="maxResults" type="int"> </parameter> <parameter name="params" type="android.location.GeocoderParams"> </parameter> <parameter name="addrs" type="java.util.List<android.location.Address>"> </parameter> </method> </class> <class name="LocationProvider" extends="java.lang.Object" abstract="true" static="false" final="false" deprecated="not deprecated" visibility="public" > <constructor name="LocationProvider" type="android.location.provider.LocationProvider" static="false" final="false" deprecated="not deprecated" visibility="public" > </constructor> <method name="getBinder" return="android.os.IBinder" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onAddListener" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="uid" type="int"> </parameter> </method> <method name="onDisable" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onEnable" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onEnableLocationTracking" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="enable" type="boolean"> </parameter> </method> <method name="onGetAccuracy" return="int" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetInternalState" return="java.lang.String" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetPowerRequirement" return="int" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onGetStatus" return="int" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="extras" type="android.os.Bundle"> </parameter> </method> <method name="onGetStatusUpdateTime" return="long" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onHasMonetaryCost" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onMeetsCriteria" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="criteria" type="android.location.Criteria"> </parameter> </method> <method name="onRemoveListener" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="uid" type="int"> </parameter> </method> <method name="onRequiresCell" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onRequiresNetwork" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onRequiresSatellite" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onSendExtraCommand" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="command" type="java.lang.String"> </parameter> <parameter name="extras" type="android.os.Bundle"> </parameter> </method> <method name="onSetMinTime" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="minTime" type="long"> </parameter> </method> <method name="onSupportsAltitude" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onSupportsBearing" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onSupportsSpeed" return="boolean" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > </method> <method name="onUpdateLocation" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="location" type="android.location.Location"> </parameter> </method> <method name="onUpdateNetworkState" return="void" abstract="true" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="state" type="int"> </parameter> <parameter name="info" type="android.net.NetworkInfo"> </parameter> </method> <method name="reportLocation" return="void" abstract="false" native="false" synchronized="false" static="false" final="false" deprecated="not deprecated" visibility="public" > <parameter name="location" type="android.location.Location"> </parameter> </method> </class> </package> <package name="android.media" > <class name="AsyncPlayer"
location/java/android/location/Criteria.java +0 −19 Original line number Diff line number Diff line Loading @@ -63,7 +63,6 @@ public class Criteria implements Parcelable { * For horizontal and vertical position this corresponds to an accuracy * greater than 500 meters. For speed and bearing, this corresponds * to greater than 5 meters/second velocity and 10 degrees for bearing. * {@hide} */ public static final int ACCURACY_LOW = 1; Loading @@ -74,7 +73,6 @@ public class Criteria implements Parcelable { * 100 and 500 meters, and between 200 and 500 meters for vertical accuracy. * For speed and bearing, this corresponds to 1 meter/second to 5 meters/second * velocity and and between 5 and 10 degrees for bearing. * {@hide} */ public static final int ACCURACY_MEDIUM = 2; Loading @@ -84,7 +82,6 @@ public class Criteria implements Parcelable { * For horizontal and vertical position this corresponds to an accuracy * less than 100 meters. For speed and bearing, this corresponds * to less 1 meter/second velocity less than 5 degrees for bearing. * {@hide} */ public static final int ACCURACY_HIGH = 3; Loading @@ -92,37 +89,31 @@ public class Criteria implements Parcelable { * a constant indicating the best accuracy that is available for any * location provider available * - may be used for horizontal, altitude, speed or bearing accuracy. * {@hide} */ public static final int ACCURACY_BEST = 4; /** * A constant indicating horizontal accuracy has the top priority * {@hide} */ public static final int HORIZONTAL_ACCURACY_PRIORITY = 1; /** * A constant indicating altitude accuracy has the top priority * {@hide} */ public static final int VERTICAL_ACCURACY_PRIORITY = 2; /** * A constant indicating speed accuracy has the top priority * {@hide} */ public static final int SPEED_ACCURACY_PRIORITY = 3; /** * A constant indicating bearing accuracy has the top priority * {@hide} */ public static final int BEARING_ACCURACY_PRIORITY = 4; /** * A constant indicating power requirement has the top priority * {@hide} */ public static final int POWER_REQUIREMENT_PRIORITY = 5; Loading Loading @@ -168,7 +159,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setHorizontalAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -181,7 +171,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired horizontal accuracy (latitude and longitude). * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getHorizontalAccuracy() { return mHorizontalAccuracy; Loading @@ -194,7 +183,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setVerticalAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -207,7 +195,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired vertical accuracy (altitude). * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getVerticalAccuracy() { return mVerticalAccuracy; Loading @@ -220,7 +207,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setSpeedAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -233,7 +219,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired speed accuracy * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getSpeedAccuracy() { return mSpeedAccuracy; Loading @@ -246,7 +231,6 @@ public class Criteria implements Parcelable { * More accurate location may consume more power and may take longer. * * @throws IllegalArgumentException if accuracy is not one of the supported constants * {@hide} */ public void setBearingAccuracy(int accuracy) { if (accuracy < NO_REQUIREMENT || accuracy > ACCURACY_BEST) { Loading @@ -259,7 +243,6 @@ public class Criteria implements Parcelable { * Returns a constant indicating the desired bearing accuracy. * Accuracy may be {@link #ACCURACY_LOW}, {@link #ACCURACY_MEDIUM}, * {@link #ACCURACY_HIGH}, {@link #ACCURACY_BEST}, * {@hide} */ public int getBearingAccuracy() { return mBearingAccuracy; Loading @@ -277,7 +260,6 @@ public class Criteria implements Parcelable { * {@link #HORIZONTAL_ACCURACY_PRIORITY}, {@link #POWER_REQUIREMENT_PRIORITY}, * {@link #VERTICAL_ACCURACY_PRIORITY}, {@link #SPEED_ACCURACY_PRIORITY}, * {@link #BEARING_ACCURACY_PRIORITY}. * {@hide} */ public void setPreferredPriority(int priority) { if (priority < HORIZONTAL_ACCURACY_PRIORITY || priority > POWER_REQUIREMENT_PRIORITY) { Loading @@ -292,7 +274,6 @@ public class Criteria implements Parcelable { * The value can be {@link #HORIZONTAL_ACCURACY_PRIORITY}, * {@link #VERTICAL_ACCURACY_PRIORITY}, {@link #SPEED_ACCURACY_PRIORITY}, * {@link #BEARING_ACCURACY_PRIORITY} or {@link #POWER_REQUIREMENT_PRIORITY}. * {@hide} */ public int getPriority() { return mPriority; Loading
location/java/android/location/GeocoderParams.java +0 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,6 @@ import java.util.Locale; * as well as the Geocoder client's package name for geocoder server * logging. This information is kept in a separate class to allow for * future expansion of the IGeocodeProvider interface. * * @hide */ public class GeocoderParams implements Parcelable { private Locale mLocale; Loading
location/java/android/location/LocationManager.java +0 −12 File changed.Preview size limit exceeded, changes collapsed. Show changes
location/java/android/location/provider/GeocodeProvider.java +0 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,6 @@ import java.util.List; * outside of the core android platform. * Geocode providers can be implemented as services and return the result of * {@link GeocodeProvider#getBinder()} in its getBinder() method. * * @hide */ public abstract class GeocodeProvider { Loading