Home
last modified time | relevance | path

Searched refs:mLocation (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerEntry.java37 private Location mLocation; field in TrackerEntry
84 mLocation = null; in TrackerEntry()
89 mLocation = new Location(loc); in TrackerEntry()
132 mLocation = location; in setLocation()
144 return mLocation; in getLocation()
175 cValues.put(LATITUDE, mLocation.getLatitude()); in getAsContentValues()
176 cValues.put(LONGITUDE, mLocation.getLongitude()); in getAsContentValues()
177 if (mLocation.hasAccuracy()) { in getAsContentValues()
178 cValues.put(ACCURACY, mLocation.getAccuracy()); in getAsContentValues()
180 if (mLocation.hasAltitude()) { in getAsContentValues()
[all …]
/frameworks/base/core/java/android/app/prediction/
DAppTargetEvent.java61 private final String mLocation; field in AppTargetEvent
67 mLocation = location; in AppTargetEvent()
73 mLocation = parcel.readString(); in AppTargetEvent()
90 return mLocation; in getLaunchLocation()
106 && mLocation.equals(other.mLocation) in equals()
118 dest.writeString(mLocation); in writeToParcel()
142 private String mLocation; field in AppTargetEvent.Builder
159 mLocation = location; in setLaunchLocation()
168 return new AppTargetEvent(mTarget, mLocation, mAction); in build()
/frameworks/base/services/core/java/com/android/server/location/
DMockProvider.java40 @Nullable private Location mLocation; field in MockProvider
50 mLocation = null; in MockProvider()
66 mLocation = new Location(l); in setLocation()
67 if (!mLocation.isFromMockProvider()) { in setLocation()
68 mLocation.setIsFromMockProvider(true); in setLocation()
71 reportLocation(mLocation); in setLocation()
84 pw.println(" last location=" + mLocation); in dump()
DGeofenceState.java36 private final Location mLocation; field in GeofenceState
58 mLocation = new Location(""); in GeofenceState()
59 mLocation.setLatitude(fence.getLatitude()); in GeofenceState()
60 mLocation.setLongitude(fence.getLongitude()); in GeofenceState()
68 mDistanceToCenter = mLocation.distanceTo(location); in processLocation()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareMonitorEvent.java34 private final Location mLocation; field in GeofenceHardwareMonitorEvent
44 mLocation = location; in GeofenceHardwareMonitorEvent()
72 return mLocation; in getLocation()
108 parcel.writeParcelable(mLocation, flags); in writeToParcel()
118 mLocation); in toString()
DGeofenceHardwareImpl.java672 " Location: " + geofenceTransition.mLocation + ":" + mGeofences);
679 geofenceTransition.mLocation, geofenceTransition.mTimestamp,
802 private Location mLocation; field in GeofenceHardwareImpl.GeofenceTransition
816 mLocation = location; in GeofenceTransition()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbMessage.java117 private final SmsCbLocation mLocation; field in SmsCbMessage
150 mLocation = location; in SmsCbMessage()
164 mLocation = new SmsCbLocation(in); in SmsCbMessage()
200 mLocation.writeToParcel(dest, flags); in writeToParcel()
262 return mLocation; in getLocation()
367 + mSerialNumber + ", location=" + mLocation + ", serviceCategory=" in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java206 private final SmsCbLocation mLocation; field in GsmCellBroadcastHandler.SmsCbConcatInfo
210 mLocation = location; in SmsCbConcatInfo()
215 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
227 && mLocation.equals(other.mLocation); in equals()
244 return mLocation.isInLocationArea(plmn, lac, cid); in matchesLocation()
/frameworks/base/core/java/android/view/
DSurfaceView.java108 final int[] mLocation = new int[2]; field in SurfaceView
384 getLocationInWindow(mLocation); in gatherTransparentRegion()
386 int l = mLocation[0]; in gatherTransparentRegion()
387 int t = mLocation[1]; in gatherTransparentRegion()
574 getLocationInWindow(mLocation); in updateSurface()
580 + " left=" + (mWindowSpaceLeft != mLocation[0]) in updateSurface()
581 + " top=" + (mWindowSpaceTop != mLocation[1])); in updateSurface()
585 mWindowSpaceLeft = mLocation[0]; in updateSurface()
586 mWindowSpaceTop = mLocation[1]; in updateSurface()
805 getLocationInSurface(mLocation); in updateSurface()
[all …]
DViewGroup.java8759 private final Rect mLocation = new Rect(); field in ViewGroup.ViewLocationHolder
8813 if (holder1.mLocation.bottom - holder2.mLocation.top <= 0) { in compareBoundsOfTree()
8817 if (holder1.mLocation.top - holder2.mLocation.bottom >= 0) { in compareBoundsOfTree()
8824 final int leftDifference = holder1.mLocation.left - holder2.mLocation.left; in compareBoundsOfTree()
8829 final int rightDifference = holder1.mLocation.right - holder2.mLocation.right; in compareBoundsOfTree()
8835 final int topDifference = holder1.mLocation.top - holder2.mLocation.top; in compareBoundsOfTree()
8840 final int heightDiference = holder1.mLocation.height() - holder2.mLocation.height(); in compareBoundsOfTree()
8845 final int widthDifference = holder1.mLocation.width() - holder2.mLocation.width(); in compareBoundsOfTree()
8889 Rect viewLocation = mLocation; in init()
8900 mLocation.set(0, 0, 0, 0); in clear()
DViewRootImpl.java300 final WindowLeaked mLocation; field in ViewRootImpl
596 mLocation = new WindowLeaked(null); in ViewRootImpl()
597 mLocation.fillInStackTrace(); in ViewRootImpl()
1212 return mLocation; in getLocation()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDisplayCutoutView.java38 private final int[] mLocation = new int[2]; field in DisplayCutoutView
60 getLocationOnScreen(mLocation); in onDraw()
61 canvas.translate(-mLocation[0], -mLocation[1]); in onDraw()
/frameworks/base/core/java/android/app/
DNativeActivity.java80 final int[] mLocation = new int[2]; field in NativeActivity
302 mNativeContentView.getLocationInWindow(mLocation); in onGlobalLayout()
305 if (mLocation[0] != mLastContentX || mLocation[1] != mLastContentY in onGlobalLayout()
307 mLastContentX = mLocation[0]; in onGlobalLayout()
308 mLastContentY = mLocation[1]; in onGlobalLayout()
DLoadedApk.java1492 final IntentReceiverLeaked mLocation; field in LoadedApk.ReceiverDispatcher
1587 mLocation = new IntentReceiverLeaked(null); in ReceiverDispatcher()
1588 mLocation.fillInStackTrace(); in ReceiverDispatcher()
1607 return mLocation; in getLocation()
1764 private final ServiceConnectionLeaked mLocation; field in ServiceDispatcher
1804 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
1805 mLocation.fillInStackTrace(); in ServiceDispatcher()
1816 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
1817 mLocation.fillInStackTrace(); in ServiceDispatcher()
1854 return mLocation; in getLocation()
/frameworks/compile/slang/
Dslang_rs_export_reduce.h44 clang::SourceLocation mLocation;
89 mLocation(Location), in RSExportReduce()
142 const clang::SourceLocation &getLocation() const { return mLocation; } in getLocation()
Dslang_rs_export_reduce.cpp177 S.RSC.ReportError(mLocation, in lookupFunction()
190 S.RSC.ReportError(mLocation, in lookupFunction()
763 << " (" << mLocation.printToString(PP.getSourceManager()) << ")"; in analyzeTranslationUnit()
/frameworks/base/media/java/android/media/
DMicrophoneInfo.java160 private int mLocation; field in MicrophoneInfo
176 mLocation = location; in MicrophoneInfo()
246 return mLocation; in getLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java446 state.mLocation = location; in onExpansionChanged()
462 state.mLocation = nv.location; in onVisibilityChanged()
515 stateToBeLogged.mIsExpanded, stateToBeLogged.mLocation.ordinal()); in maybeNotifyOnNotificationExpansionChanged()
530 NotificationVisibility.NotificationLocation mLocation; field in NotificationLogger.ExpansionStateLogger.State
538 this.mLocation = state.mLocation; in State()
543 && mLocation != null; in isFullySet()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationBasedCountryDetectorTest.java41 private final Location mLocation; field in LocationBasedCountryDetectorTest.TestCountryDetector
53 mLocation = new Location(provider); in TestCountryDetector()
68 if (mLocation.getProvider().endsWith(location.getProvider())) { in getCountryFromLocation()
77 return mLocation; in getLastKnownLocation()
131 listener.onLocationChanged(mLocation); in notifyLocationFound()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java828 private final int[] mLocation = new int[2]; field in ScreenDecorations.DisplayCutoutView
872 getLocationOnScreen(mLocation); in onDraw()
873 canvas.translate(-mLocation[0], -mLocation[1]); in onDraw()
1068 rootView.getLocationOnScreen(mLocation); in getInterceptRegion()
1069 cutoutBounds.translate(-mLocation[0], -mLocation[1]); in getInterceptRegion()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DImageShader.java186 private int mLocation; field in ImageShader.ProgramUniform
201 mLocation = GLES20.glGetUniformLocation(program, mName); in ProgramUniform()
216 return mLocation; in getLocation()