Searched defs:location (Results 126 - 150 of 195) sorted by relevance

12345678

/frameworks/support/transition/ics/android/support/transition/
H A DViewOverlay.java218 // it is in the same location on the screen
346 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { argument
348 dirty.offset(location[0], location[1]);
350 location[0] = 0;
351 location[1] = 0;
355 return super.invalidateChildInParent(location, dirty);
356 // return ((ViewGroup) mHostView).invalidateChildInParent(location, dirty);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java33 * scrolls back to 0 and we don't keep history location information, edges of
48 * Offset to previous item location.
366 protected final int appendVisibleItemToRow(int itemIndex, int rowIndex, int location) { argument
383 offset = location - mProvider.getEdge(mLastVisibleIndex);
405 mProvider.addItem(item, itemIndex, loc.size, rowIndex, location);
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java17 package android.hardware.location;
21 import android.location.IFusedGeofenceHardware;
22 import android.location.IGpsGeofenceHardware;
23 import android.location.Location;
472 Location location,
477 if(location == null) {
478 Log.e(TAG, String.format("Invalid Geofence Transition: location=null"));
484 "GeofenceTransition| " + location + ", transition:" + transition +
493 location,
510 Location location,
470 reportGeofenceTransition( int geofenceId, Location location, int transition, long transitionTimestamp, int monitoringType, int sourcesUsed) argument
507 reportGeofenceMonitorStatus( int monitoringType, int monitoringStatus, Location location, int source) argument
806 GeofenceTransition( int geofenceId, int transition, long timestamp, Location location, int monitoringType, int sourcesUsed) argument
[all...]
H A DContextHubInfo.java16 package android.hardware.location;
H A DContextHubService.java17 package android.hardware.location;
/frameworks/base/location/java/android/location/
H A DLocationManager.java17 package android.location;
19 import com.android.internal.location.ProviderProperties;
43 * This class provides access to the system location services. These
45 * device's geographical location, or to fire an application-specified
47 * geographical location.
58 * access to the GPS or passive location providers. Other providers will still
59 * return location results, but the update rate will be throttled and the exact
60 * location will be obfuscated to a coarse level of accuracy.
87 * Name of the network location provider.
88 * <p>This provider determines location base
256 onLocationChanged(Location location) argument
[all...]
H A DGnssClock.java17 package android.location;
H A DGpsClock.java17 package android.location;
H A DLocationRequest.java17 package android.location;
32 * for location updates from the Location Manager.
34 * <p>For example, if your application wants high accuracy location
35 * it should create a location request with {@link #setQuality} set to
38 * appropriate for mapping applications that are showing your location
42 * impact, but to still receive location updates when available, then use
45 * power blame) any location updates, but will receive locations
47 * applications that have no firm requirement for location, but can
60 * many location aware applications, including background usage. Do be
64 * <p>Activities should strongly consider removing all location
[all...]
H A DAddress.java17 package android.location;
29 * A class representing an Address, i.e, a set of Strings describing a location.
H A DLocation.java17 package android.location;
31 * A data class representing a geographic location.
33 * <p>A location can consist of a latitude, longitude, timestamp,
64 * Bundle key for a version of the location that has been fed through
65 * LocationFudger. Allows location providers to flag locations as being
73 * Bundle key for a version of the location containing no GPS data.
74 * Allows location providers to flag locations as being safe to
98 * Bit mask for mFieldsMask indicating location is from a mock provider.
130 * <p>By default time, latitude and longitude are 0, and the location
133 * @param provider the name of the provider that generated this location
[all...]
H A DGnssMeasurement.java17 package android.location;
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp81 media_status_t AMediaExtractor_setDataSource(AMediaExtractor *mData, const char *location) { argument
82 ALOGV("setDataSource(%s)", location);
108 jstring jloc = env->NewStringUTF(location);
119 status_t err = mData->mImpl->setDataSource(httpService, location, NULL);
/frameworks/base/core/java/android/hardware/camera2/
H A DDngCreator.java26 import android.location.Location;
249 * Set image location metadata.
252 * The given location object must contain at least a valid time, latitude, and longitude
253 * (equivalent to the values returned by {@link android.location.Location#getTime()},
254 * {@link android.location.Location#getLatitude()}, and
255 * {@link android.location.Location#getLongitude()} methods).
258 * @param location an {@link android.location.Location} object to set.
261 * @throws java.lang.IllegalArgumentException if the given location object doesn't
262 * contain enough information to set location metadat
265 setLocation(@onNull Location location) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewParent.java67 * <p>The location array is an array of two int values which respectively
75 * <p>When this method returns a non-null value, the location array must
78 * @param location An array of 2 ints containing the left and top
84 public ViewParent invalidateChildInParent(int[] location, Rect r); argument
/frameworks/base/telephony/java/android/telephony/
H A DPhoneStateListener.java106 * Listen for changes to the device's cell location. Note that
112 * If you need regular location updates but want more control over
113 * the update interval or location precision, you can set up a listener
114 * through the {@link android.location.LocationManager location manager}
383 * Callback invoked when device cell location changes.
385 public void onCellLocationChanged(CellLocation location) { argument
576 CellLocation location = CellLocation.newFromBundle(bundle);
577 send(LISTEN_CELL_LOCATION, 0, 0, location);
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java98 public void addPartition(int location, Partition partition) { argument
99 mPartitions.add(location, partition);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java923 protected long enqueueDownloadRequest(byte[] body, int location) throws Exception { argument
926 return doEnqueue(location);
938 protected long enqueueDownloadRequest(File body, int location) throws Exception { argument
941 return doEnqueue(location);
952 private long doEnqueue(int location) throws Exception { argument
955 if (location == DOWNLOAD_TO_SYSTEM_CACHE) {
1023 protected long doBasicDownload(byte[] blobData, int location) throws Exception { argument
1024 long dlRequest = enqueueDownloadRequest(blobData, location);
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java17 package com.android.internal.location;
28 import android.location.LocationManager;
29 import android.location.INetInitiatedListener;
100 // parent gps location provider
164 if (DEBUG) Log.d(TAG, "location enabled :" + getLocationEnabled());
221 * Updates Location enabler based on location setting.
228 * Checks if user agreed to use location.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQSTileHost.java120 BluetoothController bluetooth, LocationController location,
131 mLocation = location;
429 else if (tileSpec.equals("location")) return new LocationTile(this);
119 QSTileHost(Context context, PhoneStatusBar statusBar, BluetoothController bluetooth, LocationController location, RotationLockController rotation, NetworkController network, ZenModeController zen, HotspotController hotspot, CastController cast, FlashlightController flashlight, UserSwitcherController userSwitcher, UserInfoController userInfo, KeyguardMonitor keyguard, SecurityController security, BatteryController battery, StatusBarIconController iconController, NextAlarmController nextAlarmController) argument
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
H A DExprModel.java92 Location location = null;
94 location = new Location(mCurrentParserContext);
95 location.setParentLocation(mCurrentLocationInFile);
106 if (location != null) {
107 existing.addLocation(location);
113 if (location != null) {
114 expr.addLocation(location);
258 public StaticIdentifierExpr addImport(String alias, String type, Location location) { argument
264 if (location != null) {
265 id.addLocation(location);
629 setCurrentLocationInFile(Location location) argument
[all...]
/frameworks/rs/driver/runtime/
H A Drs_sample.c447 uint32_t location = wrapI(wrapS, iPixel, sourceW); local
449 return getBilinearSample1D(alloc, weights, location, next, dk, dt, lod);
460 uint32_t location = wrapI(wrapS, iPixel, sourceW); local
462 return getNearestSample(alloc, location, dk, dt, lod);
527 uint2 location; local
528 location.x = wrapI(wrapS, iPixel.x, sourceW);
529 location.y = wrapI(wrapT, iPixel.y, sourceH);
530 return getNearestSample(alloc, location, dk, dt, lod);
580 rsSample(rs_allocation a, rs_sampler s, float location) { argument
581 return rsSample(a, s, location,
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHeadsetClient.java935 * Places a call to the number under specified memory location.
938 * @param location valid memory location
945 public boolean dialMemory(BluetoothDevice device, int location) { argument
950 return mService.dialMemory(device, location);
/frameworks/base/core/java/android/net/
H A DUri.java2344 public void checkFileUriExposed(String location) { argument
2346 StrictMode.onFileUriExposed(this, location);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DFusedPrintersProvider.java27 import android.location.Criteria;
28 import android.location.Location;
29 import android.location.LocationListener;
30 import android.location.LocationManager;
31 import android.location.LocationRequest;
90 /** Interval of location updated in ms */
93 /** Maximum acceptable age of the location in ms */
116 /** Last known location, can be null or out of date */
123 /** Reference to the system's location manager */
127 * Get a reference to the current location
335 updatePrinters(List<PrinterInfo> printers, List<Pair<PrinterInfo, Location>> favoritePrinters, Location location) argument
412 isLocationAcceptable(Location location) argument
421 onLocationChanged(Location location) argument
[all...]

Completed in 995 milliseconds

12345678