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.java66 private final String mLocation; field in AppTargetEvent
72 mLocation = location; in AppTargetEvent()
78 mLocation = parcel.readString(); in AppTargetEvent()
95 return mLocation; in getLaunchLocation()
111 && mLocation.equals(other.mLocation) in equals()
123 dest.writeString(mLocation); in writeToParcel()
147 private String mLocation; field in AppTargetEvent.Builder
164 mLocation = location; in setLaunchLocation()
173 return new AppTargetEvent(mTarget, mLocation, mAction); in build()
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareMonitorEvent.java35 private final Location mLocation; field in GeofenceHardwareMonitorEvent
45 mLocation = location; in GeofenceHardwareMonitorEvent()
73 return mLocation; in getLocation()
109 parcel.writeParcelable(mLocation, flags); in writeToParcel()
120 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/services/core/java/com/android/server/location/
DGeofenceState.java36 private final Location mLocation; field in GeofenceState
54 mLocation = new Location(""); in GeofenceState()
55 mLocation.setLatitude(fence.getLatitude()); in GeofenceState()
56 mLocation.setLongitude(fence.getLongitude()); in GeofenceState()
64 mDistanceToCenter = mLocation.distanceTo(location); in processLocation()
DMockProvider.java39 @Nullable private Location mLocation; field in MockProvider
56 mLocation = location; in setProviderLocation()
68 pw.println("last mock location=" + mLocation); in dump()
/frameworks/base/telephony/java/android/telephony/
DSmsCbMessage.java167 private final SmsCbLocation mLocation; field in SmsCbMessage
244 mLocation = location; in SmsCbMessage()
267 mLocation = new SmsCbLocation(in); in SmsCbMessage()
310 mLocation.writeToParcel(dest, flags); in writeToParcel()
381 return mLocation; in getLocation()
546 + mSerialNumber + ", location=" + mLocation + ", serviceCategory=" in toString()
577 if (mLocation.getPlmn() != null) { in getContentValues()
578 cv.put(CellBroadcasts.PLMN, mLocation.getPlmn()); in getContentValues()
580 if (mLocation.getLac() != -1) { in getContentValues()
581 cv.put(CellBroadcasts.LAC, mLocation.getLac()); in getContentValues()
[all …]
/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.java1498 final IntentReceiverLeaked mLocation; field in LoadedApk.ReceiverDispatcher
1593 mLocation = new IntentReceiverLeaked(null); in ReceiverDispatcher()
1594 mLocation.fillInStackTrace(); in ReceiverDispatcher()
1613 return mLocation; in getLocation()
1770 private final ServiceConnectionLeaked mLocation; field in ServiceDispatcher
1810 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
1811 mLocation.fillInStackTrace(); in ServiceDispatcher()
1822 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
1823 mLocation.fillInStackTrace(); in ServiceDispatcher()
1860 return mLocation; in getLocation()
/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/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/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/statusbar/notification/logging/
DNotificationLogger.java523 state.mLocation = location; in onExpansionChanged()
539 state.mLocation = nv.location; in onVisibilityChanged()
592 stateToBeLogged.mIsExpanded, stateToBeLogged.mLocation.ordinal()); in maybeNotifyOnNotificationExpansionChanged()
607 NotificationVisibility.NotificationLocation mLocation; field in NotificationLogger.ExpansionStateLogger.State
615 this.mLocation = state.mLocation; in State()
620 && mLocation != null; in isFullySet()
/frameworks/base/core/java/android/view/
DSurfaceView.java115 final int[] mLocation = new int[2]; field in SurfaceView
579 getLocationInWindow(mLocation); in gatherTransparentRegion()
581 int l = mLocation[0]; in gatherTransparentRegion()
582 int t = mLocation[1]; in gatherTransparentRegion()
933 getLocationInSurface(mLocation); in updateSurface()
934 final boolean positionChanged = mWindowSpaceLeft != mLocation[0] in updateSurface()
935 || mWindowSpaceTop != mLocation[1]; in updateSurface()
943 getLocationInWindow(mLocation); in updateSurface()
951 + " left=" + (mWindowSpaceLeft != mLocation[0]) in updateSurface()
952 + " top=" + (mWindowSpaceTop != mLocation[1])); in updateSurface()
[all …]
DViewGroup.java9058 private final Rect mLocation = new Rect(); field in ViewGroup.ViewLocationHolder
9112 if (holder1.mLocation.bottom - holder2.mLocation.top <= 0) { in compareBoundsOfTree()
9116 if (holder1.mLocation.top - holder2.mLocation.bottom >= 0) { in compareBoundsOfTree()
9123 final int leftDifference = holder1.mLocation.left - holder2.mLocation.left; in compareBoundsOfTree()
9128 final int rightDifference = holder1.mLocation.right - holder2.mLocation.right; in compareBoundsOfTree()
9134 final int topDifference = holder1.mLocation.top - holder2.mLocation.top; in compareBoundsOfTree()
9139 final int heightDiference = holder1.mLocation.height() - holder2.mLocation.height(); in compareBoundsOfTree()
9144 final int widthDifference = holder1.mLocation.width() - holder2.mLocation.width(); in compareBoundsOfTree()
9188 Rect viewLocation = mLocation; in init()
9199 mLocation.set(0, 0, 0, 0); in clear()
DViewRootImpl.java365 final WindowLeaked mLocation; field in ViewRootImpl
732 mLocation = new WindowLeaked(null); in ViewRootImpl()
733 mLocation.fillInStackTrace(); in ViewRootImpl()
1386 return mLocation; in getLocation()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java117 private Location mLocation; field in FusedPrintersProvider
130 return mLocation; in getCurrentLocation()
421 && !location.equals(mLocation) in onLocationChanged()
422 && (mLocation == null in onLocationChanged()
424 .getElapsedRealtimeNanos() > mLocation.getElapsedRealtimeNanos() in onLocationChanged()
426 || (!mLocation.hasAccuracy() in onLocationChanged()
427 || location.getAccuracy() < mLocation.getAccuracy()))) { in onLocationChanged()
429 mLocation = location; in onLocationChanged()
432 updatePrinters(mDiscoverySession.getPrinters(), mFavoritePrinters, mLocation); in onLocationChanged() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java789 private final int[] mLocation = new int[2]; field in ScreenDecorations.DisplayCutoutView
832 getLocationOnScreen(mLocation); in onDraw()
833 canvas.translate(-mLocation[0], -mLocation[1]); in onDraw()
1105 rootView.getLocationOnScreen(mLocation); in getInterceptRegion()
1106 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()