Home
last modified time | relevance | path

Searched refs:lm (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DScrollbarHelper.java31 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollOffset() argument
33 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null in computeScrollOffset()
37 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset()
38 lm.getPosition(endChild)); in computeScrollOffset()
39 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset()
40 lm.getPosition(endChild)); in computeScrollOffset()
49 final int itemRange = Math.abs(lm.getPosition(startChild) in computeScrollOffset()
50 - lm.getPosition(endChild)) + 1; in computeScrollOffset()
62 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollExtent() argument
64 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null in computeScrollExtent()
[all …]
/frameworks/base/core/java/android/app/
DFragmentHostCallback.java257 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in inactivateFragment() local
258 if (lm != null && !lm.mRetaining) { in inactivateFragment()
259 lm.doDestroy(); in inactivateFragment()
320 LoaderManagerImpl lm = loaders[i]; in reportLoaderStart() local
321 lm.finishRetain(); in reportLoaderStart()
322 lm.doReportStart(); in reportLoaderStart()
331 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in getLoaderManager() local
332 if (lm == null && create) { in getLoaderManager()
333 lm = new LoaderManagerImpl(who, this, started); in getLoaderManager()
334 mAllLoaderManagers.put(who, lm); in getLoaderManager()
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java116 LocationManager lm = getLocationManager(); in initLocationListeners() local
120 List<String> locationProviders = lm.getAllProviders(); in initLocationListeners()
138 lm.requestLocationUpdates(providerName, minUpdateTime, in initLocationListeners()
241 LocationManager lm = getLocationManager(); in stopListeners() local
244 lm.removeUpdates(listener); in stopListeners()
/frameworks/base/location/java/android/location/
DGeocoder.java61 ILocationManager lm = ILocationManager.Stub.asInterface(b); in isPresent() local
63 return lm.geocoderIsPresent(); in isPresent()
/frameworks/base/core/java/android/os/
DPatternMatcher.java527 private static int matchChars(String match, int im, final int lm, int tokenType,
533 && matchChar(match, im + matched, lm, tokenType, parsedPattern, tokenStart,
541 private static boolean matchChar(String match, int im, final int lm, int tokenType,
543 if (im >= lm) { // we've overrun the string, no match
/frameworks/base/core/java/com/android/internal/widget/helper/
DItemTouchHelper.java710 RecyclerView.LayoutManager lm = mRecyclerView.getLayoutManager(); in scrollIfNecessary() local
716 lm.calculateItemDecorationsForChild(mSelected.itemView, mTmpRect); in scrollIfNecessary()
717 if (lm.canScrollHorizontally()) { in scrollIfNecessary()
731 if (lm.canScrollVertically()) { in scrollIfNecessary()
780 final RecyclerView.LayoutManager lm = mRecyclerView.getLayoutManager(); in findSwapTargets() local
781 final int childCount = lm.getChildCount(); in findSwapTargets()
783 View other = lm.getChildAt(i); in findSwapTargets()
914 final RecyclerView.LayoutManager lm = mRecyclerView.getLayoutManager(); in findSwipedView() local
927 if (absDx > absDy && lm.canScrollHorizontally()) { in findSwipedView()
929 } else if (absDy > absDx && lm.canScrollVertically()) { in findSwipedView()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1276 LogMaker lm = sbn.getLogMaker() in getLogMaker() local
1285 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_EXPLANATION, in getLogMaker()
1293 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_INITIAL_EXPLANATION, in getLogMaker()
1295 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_INITIAL, in getLogMaker()
1301 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_IMPORTANCE_ASST, in getLogMaker()
1308 lm.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_ASSISTANT_SERVICE_HASH, in getLogMaker()
1311 return lm; in getLogMaker()
DPreferencesHelper.java830 LogMaker lm = getChannelLog(channel, pkg); in deleteNotificationChannel() local
831 lm.setType(com.android.internal.logging.nano.MetricsProto.MetricsEvent.TYPE_CLOSE); in deleteNotificationChannel()
832 MetricsLogger.action(lm); in deleteNotificationChannel()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/tests/
Dbasic.rb427 length_methods.each do |lm|
428 assert l.send(lm) == 0
435 length_methods.each do |lm|
436 assert l.send(lm) == 1
444 length_methods.each do |lm|
445 assert l.send(lm) == 2
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake219 /* Define to 1 if you have the `m' library (-lm). */
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java4210 LogMaker lm = new LogMaker(MetricsEvent.ACTION_PICTURE_IN_PICTURE_ASPECT_RATIO_CHANGED); in logPictureInPictureArgs() local
4211 lm.addTaggedData(MetricsEvent.PICTURE_IN_PICTURE_ASPECT_RATIO, params.getAspectRatio()); in logPictureInPictureArgs()
4212 MetricsLogger.action(lm); in logPictureInPictureArgs()