Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DImageTile.java43 private final Rect mLocation; field in ImageTile
56 mLocation = requireNonNull(location); in ImageTile()
67 final int w = Math.min(mImage.getWidth(), mLocation.width()); in getDisplayList()
68 final int h = Math.min(mImage.getHeight(), mLocation.height()); in getDisplayList()
73 canvas.clipRect(0, 0, mLocation.width(), mLocation.height()); in getDisplayList()
82 return mLocation; in getLocation()
86 return mLocation.left; in getLeft()
90 return mLocation.top; in getTop()
94 return mLocation.right; in getRight()
98 return mLocation.bottom; in getBottom()
[all …]
/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.java69 private final String mLocation; field in AppTargetEvent
75 mLocation = location; in AppTargetEvent()
81 mLocation = parcel.readString(); in AppTargetEvent()
98 return mLocation; in getLaunchLocation()
114 && mLocation.equals(other.mLocation) in equals()
126 dest.writeString(mLocation); in writeToParcel()
149 private String mLocation; field in AppTargetEvent.Builder
166 mLocation = location; in setLaunchLocation()
175 return new AppTargetEvent(mTarget, mLocation, mAction); in build()
/frameworks/base/core/java/android/app/search/
DSearchTargetEvent.java70 private final String mLocation; field in SearchTargetEvent
122 mLocation = location; in SearchTargetEvent()
130 mLocation = parcel.readString(); in SearchTargetEvent()
156 return mLocation; in getLaunchLocation()
184 && mLocation == null ? other.mLocation == null : mLocation.equals(other.mLocation); in equals()
195 dest.writeString(mLocation); in writeToParcel()
221 private String mLocation; field in SearchTargetEvent.Builder
250 mLocation = location; in setLaunchLocation()
268 return new SearchTargetEvent(mTargetIds, mLocation, mAction, mFlags); 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.java673 " Location: " + geofenceTransition.mLocation + ":" + mGeofences);
680 geofenceTransition.mLocation, geofenceTransition.mTimestamp,
803 private Location mLocation; field in GeofenceHardwareImpl.GeofenceTransition
817 mLocation = location; in GeofenceTransition()
/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/base/services/core/java/com/android/server/location/provider/
DMockLocationProvider.java40 @Nullable private Location mLocation; field in MockLocationProvider
57 mLocation = location; in setProviderLocation()
74 pw.println("last mock location=" + mLocation); in dump()
/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.java1725 final IntentReceiverLeaked mLocation; field in LoadedApk.ReceiverDispatcher
1827 mLocation = new IntentReceiverLeaked(null); in ReceiverDispatcher()
1828 mLocation.fillInStackTrace(); in ReceiverDispatcher()
1847 return mLocation; in getLocation()
2004 private final ServiceConnectionLeaked mLocation; field in ServiceDispatcher
2044 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
2045 mLocation.fillInStackTrace(); in ServiceDispatcher()
2056 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
2057 mLocation.fillInStackTrace(); in ServiceDispatcher()
2094 return mLocation; in getLocation()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java256 private @Nullable Location mLocation = null; field in FusedLocationProvider.ChildLocationListener
267 return mLocation; in getLocation()
279 mLocation = null; in clearLocation()
321 mLocation = location; in onLocationChanged()
334 mLocation = null; in onProviderDisabled()
/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.java161 private int mLocation; field in MicrophoneInfo
177 mLocation = location; in MicrophoneInfo()
247 return mLocation; in getLocation()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
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.java476 state.mLocation = location; in onExpansionChanged()
492 state.mLocation = nv.location; in onVisibilityChanged()
545 stateToBeLogged.mIsExpanded, stateToBeLogged.mLocation.ordinal()); in maybeNotifyOnNotificationExpansionChanged()
560 NotificationVisibility.NotificationLocation mLocation; field in NotificationLogger.ExpansionStateLogger.State
568 this.mLocation = state.mLocation; in State()
573 && mLocation != null; in isFullySet()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java118 private Location mLocation; field in FusedPrintersProvider
131 return mLocation; in getCurrentLocation()
426 && !location.equals(mLocation) in onLocationChanged()
427 && (mLocation == null in onLocationChanged()
429 .getElapsedRealtimeNanos() > mLocation.getElapsedRealtimeNanos() in onLocationChanged()
431 || (!mLocation.hasAccuracy() in onLocationChanged()
432 || location.getAccuracy() < mLocation.getAccuracy()))) { in onLocationChanged()
434 mLocation = location; in onLocationChanged()
437 updatePrinters(mDiscoverySession.getPrinters(), mFavoritePrinters, mLocation); in onLocationChanged() local
/frameworks/base/core/java/android/view/
DSurfaceView.java119 final int[] mLocation = new int[2]; field in SurfaceView
464 getLocationInWindow(mLocation); in gatherTransparentRegion()
466 int l = mLocation[0]; in gatherTransparentRegion()
467 int t = mLocation[1]; in gatherTransparentRegion()
918 getLocationInSurface(mLocation); in updateSurface()
919 final boolean positionChanged = mWindowSpaceLeft != mLocation[0] in updateSurface()
920 || mWindowSpaceTop != mLocation[1]; in updateSurface()
929 getLocationInWindow(mLocation); in updateSurface()
938 + " left=" + (mWindowSpaceLeft != mLocation[0]) in updateSurface()
939 + " 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.java443 final WindowLeaked mLocation; field in ViewRootImpl
942 mLocation = new WindowLeaked(null); in ViewRootImpl()
943 mLocation.fillInStackTrace(); in ViewRootImpl()
1678 return mLocation;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java377 private final StatusBarLocation mLocation; field in StatusBarIconController.IconManager
400 mLocation = location; in IconManager()
414 mWifiViewModel = wifiUiAdapter.bindGroup(mGroup, mLocation); in IconManager()
598 mMobileIconsViewModel.viewModelForSub(subId, mLocation) in onCreateModernStatusBarMobileView()
733 mLocation, in createDemoStatusIcons()
DDemoStatusIcons.java67 private final StatusBarLocation mLocation; field in DemoStatusIcons
80 mLocation = location; in DemoStatusIcons()
301 mMobileIconsViewModel.viewModelForSub(subId, mLocation) in addModernMobileView()
/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()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7312 Landroid/app/LoadedApk$ReceiverDispatcher;->mLocation:Landroid/app/IntentReceiverLeaked;
7343 Landroid/app/LoadedApk$ServiceDispatcher;->mLocation:Landroid/app/ServiceConnectionLeaked;
7517 Landroid/app/NativeActivity;->mLocation:[I
21162 Landroid/hardware/location/GeofenceHardwareImpl$GeofenceTransition;->mLocation:Landroid/location/Lo…
21242 Landroid/hardware/location/GeofenceHardwareMonitorEvent;->mLocation:Landroid/location/Location;
28949 Landroid/media/MicrophoneInfo;->mLocation:I
55253 Landroid/telephony/SmsCbMessage;->mLocation:Landroid/telephony/SmsCbLocation;
62208 Landroid/view/SurfaceView;->mLocation:[I
64064 Landroid/view/ViewGroup$ViewLocationHolder;->mLocation:Landroid/graphics/Rect;
64781 Landroid/view/ViewRootImpl;->mLocation:Landroid/view/WindowLeaked;