Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
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/core/java/android/app/prediction/
DAppTargetEvent.java70 private final String mLocation; field in AppTargetEvent
76 mLocation = location; in AppTargetEvent()
82 mLocation = parcel.readString(); in AppTargetEvent()
99 return mLocation; in getLaunchLocation()
115 && mLocation.equals(other.mLocation) in equals()
121 int hashCode = Objects.hash(mTarget, mLocation); in hashCode()
134 dest.writeString(mLocation); in writeToParcel()
157 private String mLocation; field in AppTargetEvent.Builder
174 mLocation = location; in setLaunchLocation()
183 return new AppTargetEvent(mTarget, mLocation, mAction); in build()
/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/search/
DSearchTargetEvent.java72 private final String mLocation; field in SearchTargetEvent
134 mLocation = location; in SearchTargetEvent()
142 mLocation = parcel.readString(); in SearchTargetEvent()
168 return mLocation; in getLaunchLocation()
196 && mLocation == null ? other.mLocation == null : mLocation.equals(other.mLocation); in equals()
207 dest.writeString(mLocation); in writeToParcel()
233 private String mLocation; field in SearchTargetEvent.Builder
262 mLocation = location; in setLaunchLocation()
280 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.java41 @Nullable private Location mLocation; field in MockLocationProvider
58 mLocation = location; in setProviderLocation()
79 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.java1754 final IntentReceiverLeaked mLocation; field in LoadedApk.ReceiverDispatcher
1850 mLocation = new IntentReceiverLeaked(null); in ReceiverDispatcher()
1851 mLocation.fillInStackTrace(); in ReceiverDispatcher()
1870 return mLocation; in getLocation()
2026 private final ServiceConnectionLeaked mLocation; field in ServiceDispatcher
2066 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
2067 mLocation.fillInStackTrace(); in ServiceDispatcher()
2078 mLocation = new ServiceConnectionLeaked(null); in ServiceDispatcher()
2079 mLocation.fillInStackTrace(); in ServiceDispatcher()
2116 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ui/
DIconManager.java76 private final StatusBarLocation mLocation; field in IconManager
95 mLocation = location; in IconManager()
104 mWifiViewModel = wifiUiAdapter.bindGroup(mGroup, mLocation); in IconManager()
232 mMobileIconsViewModel.viewModelForSub(subId, mLocation) in onCreateModernStatusBarMobileView()
318 mLocation, in createDemoStatusIcons()
/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.java461 state.mLocation = location; in onExpansionChanged()
477 state.mLocation = nv.location; in onVisibilityChanged()
530 stateToBeLogged.mIsExpanded, stateToBeLogged.mLocation.ordinal()); in maybeNotifyOnNotificationExpansionChanged()
545 NotificationLocation mLocation; field in NotificationLogger.ExpansionStateLogger.State
553 this.mLocation = state.mLocation; in State()
558 && 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/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java62 private final StatusBarLocation mLocation; field in BatteryMeterViewController
115 pw.println(" location=" + mLocation);
146 mLocation = location; in BatteryMeterViewController()
/frameworks/base/core/java/android/view/
DSurfaceView.java172 final int[] mLocation = new int[2]; field in SurfaceView
570 getLocationInWindow(mLocation); in gatherTransparentRegion()
572 int l = mLocation[0]; in gatherTransparentRegion()
573 int t = mLocation[1]; in gatherTransparentRegion()
1127 getLocationInWindow(mLocation); in updateSurface()
1128 final boolean positionChanged = mWindowSpaceLeft != mLocation[0] in updateSurface()
1129 || mWindowSpaceTop != mLocation[1]; in updateSurface()
1150 + " left=" + (mWindowSpaceLeft != mLocation[0]) in updateSurface()
1151 + " top=" + (mWindowSpaceTop != mLocation[1]) in updateSurface()
1158 mWindowSpaceLeft = mLocation[0]; in updateSurface()
[all …]
DViewGroup.java9185 private final Rect mLocation = new Rect(); field in ViewGroup.ViewLocationHolder
9239 if (holder1.mLocation.bottom - holder2.mLocation.top <= 0) { in compareBoundsOfTree()
9243 if (holder1.mLocation.top - holder2.mLocation.bottom >= 0) { in compareBoundsOfTree()
9250 final int leftDifference = holder1.mLocation.left - holder2.mLocation.left; in compareBoundsOfTree()
9255 final int rightDifference = holder1.mLocation.right - holder2.mLocation.right; in compareBoundsOfTree()
9261 final int topDifference = holder1.mLocation.top - holder2.mLocation.top; in compareBoundsOfTree()
9266 final int heightDiference = holder1.mLocation.height() - holder2.mLocation.height(); in compareBoundsOfTree()
9271 final int widthDifference = holder1.mLocation.width() - holder2.mLocation.width(); in compareBoundsOfTree()
9315 Rect viewLocation = mLocation; in init()
9326 mLocation.set(0, 0, 0, 0); in clear()
DViewRootImpl.java570 final WindowLeaked mLocation; field in ViewRootImpl
1245 mLocation = new WindowLeaked(null); in ViewRootImpl()
1246 mLocation.fillInStackTrace(); in ViewRootImpl()
2078 return mLocation;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java61 private final StatusBarLocation mLocation; field in DemoStatusIcons
75 mLocation = location; in DemoStatusIcons()
251 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()

12