/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | ScrollbarHelper.java | 30 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollOffset() argument 32 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null in computeScrollOffset() 36 final int minPosition = Math.min(lm.getPosition(startChild), in computeScrollOffset() 37 lm.getPosition(endChild)); in computeScrollOffset() 38 final int maxPosition = Math.max(lm.getPosition(startChild), in computeScrollOffset() 39 lm.getPosition(endChild)); in computeScrollOffset() 48 final int itemRange = Math.abs(lm.getPosition(startChild) in computeScrollOffset() 49 - lm.getPosition(endChild)) + 1; in computeScrollOffset() 61 View startChild, View endChild, RecyclerView.LayoutManager lm, in computeScrollExtent() argument 63 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null in computeScrollExtent() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollbarHelper.java | 31 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/support/fragment/java/android/support/v4/app/ |
D | FragmentHostCallback.java | 221 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in inactivateFragment() local 222 if (lm != null && !lm.mRetaining) { in inactivateFragment() 223 lm.doDestroy(); in inactivateFragment() 296 LoaderManagerImpl lm = loaders[i]; in reportLoaderStart() local 297 lm.finishRetain(); in reportLoaderStart() 298 lm.doReportStart(); in reportLoaderStart() 307 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in getLoaderManager() local 308 if (lm == null && create) { in getLoaderManager() 309 lm = new LoaderManagerImpl(who, this, started); in getLoaderManager() 310 mAllLoaderManagers.put(who, lm); in getLoaderManager() [all …]
|
/frameworks/base/core/java/android/app/ |
D | FragmentHostCallback.java | 251 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in inactivateFragment() local 252 if (lm != null && !lm.mRetaining) { in inactivateFragment() 253 lm.doDestroy(); in inactivateFragment() 314 LoaderManagerImpl lm = loaders[i]; in reportLoaderStart() local 315 lm.finishRetain(); in reportLoaderStart() 316 lm.doReportStart(); in reportLoaderStart() 325 LoaderManagerImpl lm = (LoaderManagerImpl) mAllLoaderManagers.get(who); in getLoaderManager() local 326 if (lm == null && create) { in getLoaderManager() 327 lm = new LoaderManagerImpl(who, this, started); in getLoaderManager() 328 mAllLoaderManagers.put(who, lm); in getLoaderManager() [all …]
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | BaseRecyclerViewAnimationsTest.java | 244 AnimationLayoutManager lm, RecyclerView.State state) { in beforePreLayout() argument 246 for (int i = 0; i < lm.getChildCount(); i++) { in beforePreLayout() 247 View v = lm.getChildAt(i); in beforePreLayout() 248 if (lm.getLp(v).isItemRemoved()) { in beforePreLayout() 254 void doLayout(RecyclerView.Recycler recycler, AnimationLayoutManager lm, in doLayout() argument 259 lm.detachAndScrapAttachedViews(recycler); in doLayout() 263 lm.layoutRange(recycler, start, start + count); in doLayout() 265 count, lm.getChildCount()); in doLayout() 266 lm.assertVisibleItemPositions(); in doLayout() 275 private void assertNoPreLayoutPosition(RecyclerView.LayoutManager lm) { in assertNoPreLayoutPosition() argument [all …]
|
D | RecyclerViewLayoutTest.java | 257 final TestLayoutManager lm = new LayoutAllLayoutManager(true); in setAdapterNotifyItemRangeInsertedCrashTest() local 258 lm.setSupportsPredictive(true); in setAdapterNotifyItemRangeInsertedCrashTest() 259 rv.setLayoutManager(lm); in setAdapterNotifyItemRangeInsertedCrashTest() 261 lm.expectLayouts(1); in setAdapterNotifyItemRangeInsertedCrashTest() 263 lm.waitForLayout(2); in setAdapterNotifyItemRangeInsertedCrashTest() 264 lm.expectLayouts(1); in setAdapterNotifyItemRangeInsertedCrashTest() 274 lm.waitForLayout(2); in setAdapterNotifyItemRangeInsertedCrashTest() 280 final TestLayoutManager lm = new LayoutAllLayoutManager(true); in swapAdapterNotifyItemRangeInsertedCrashTest() local 281 lm.setSupportsPredictive(true); in swapAdapterNotifyItemRangeInsertedCrashTest() 282 rv.setLayoutManager(lm); in swapAdapterNotifyItemRangeInsertedCrashTest() [all …]
|
D | RecyclerViewAnimationsTest.java | 137 void doLayout(RecyclerView.Recycler recycler, AnimationLayoutManager lm, in changeAndDisappearTest() 140 super.doLayout(recycler, lm, state); in changeAndDisappearTest() 142 lm.detachAndScrapAttachedViews(recycler); in changeAndDisappearTest() 150 lm.addDisappearingView(view); in changeAndDisappearTest() 228 AnimationLayoutManager lm, RecyclerView.State state) { in dontLayoutReusedViewWithoutPredictive() 281 AnimationLayoutManager lm, RecyclerView.State state) { in dontLayoutReusedViewWithPredictive() 283 super.beforePreLayout(recycler, lm, state); in dontLayoutReusedViewWithPredictive() 405 AnimationLayoutManager lm, RecyclerView.State state) { in reuseHiddenViewWithProperPredictive() 407 super.beforePreLayout(recycler, lm, state); in reuseHiddenViewWithProperPredictive() 717 AnimationLayoutManager lm, RecyclerView.State state) { in preLayoutPositionCleanup() [all …]
|
D | RecyclerViewAccessibilityLifecycleTest.java | 57 LayoutAllLayoutManager lm = new LayoutAllLayoutManager(); in dontDispatchChangeDuringLayout() local 90 recyclerView.setLayoutManager(lm); in dontDispatchChangeDuringLayout() 91 lm.expectLayouts(1); in dontDispatchChangeDuringLayout() 93 lm.waitForLayout(1); in dontDispatchChangeDuringLayout() 95 lm.expectLayouts(1); in dontDispatchChangeDuringLayout() 97 lm.waitForLayout(2); in dontDispatchChangeDuringLayout()
|
D | GridLayoutManagerWrapContentTest.java | 67 GridLayoutManager lm = new GridLayoutManager(getActivity(), mSpanCount); in createLayoutManager() local 68 lm.setOrientation(mHorizontal ? HORIZONTAL : VERTICAL); in createLayoutManager() 69 return lm; in createLayoutManager()
|
D | ItemAnimatorV2ApiTest.java | 110 AnimationLayoutManager lm, RecyclerView.State state) { in changeMovedOutsideWithPredictiveAndTwoViewHolders() 111 super.onLayoutChildren(recycler, lm, state); in changeMovedOutsideWithPredictiveAndTwoViewHolders() 157 AnimationLayoutManager lm, RecyclerView.State state) { in changeMovedOutsideWithPredictive() 158 super.onLayoutChildren(recycler, lm, state); in changeMovedOutsideWithPredictive()
|
D | BaseRecyclerViewInstrumentationTest.java | 206 TestLayoutManager lm = (TestLayoutManager) mRecyclerView.getLayoutManager(); in postExceptionToInstrumentation() local 208 if (lm.layoutLatch != null) { in postExceptionToInstrumentation() 209 while (lm.layoutLatch.getCount() > 0) { in postExceptionToInstrumentation() 210 lm.layoutLatch.countDown(); in postExceptionToInstrumentation()
|
D | RecyclerViewFocusRecoveryTest.java | 756 FocusLayoutManager lm = new FocusLayoutManager() { in testDoNotOverrideLayoutManagerRequestedFocus() local 776 setupBasic(adapter, lm); in testDoNotOverrideLayoutManagerRequestedFocus()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
D | GridLayoutManagerActivity.java | 37 GridLayoutManager lm = new GridLayoutManager(this, 3); in createLayoutManager() local 38 lm.setReverseLayout(true); in createLayoutManager() 39 lm.setSpanSizeLookup(mSpanSizeLookup); in createLayoutManager() 40 return lm; in createLayoutManager()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
D | TrackerService.java | 116 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/core/java/android/os/ |
D | PatternMatcher.java | 517 private static int matchChars(String match, int im, final int lm, int tokenType, 523 && matchChar(match, im + matched, lm, tokenType, parsedPattern, tokenStart, 531 private static boolean matchChar(String match, int im, final int lm, int tokenType, 533 if (im >= lm) { // we've overrun the string, no match
|
/frameworks/base/location/java/android/location/ |
D | Geocoder.java | 61 ILocationManager lm = ILocationManager.Stub.asInterface(b); in isPresent() local 63 return lm.geocoderIsPresent(); in isPresent()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchHelper.java | 710 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/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
D | ItemTouchHelper.java | 708 RecyclerView.LayoutManager lm = mRecyclerView.getLayoutManager(); in scrollIfNecessary() local 714 lm.calculateItemDecorationsForChild(mSelected.itemView, mTmpRect); in scrollIfNecessary() 715 if (lm.canScrollHorizontally()) { in scrollIfNecessary() 729 if (lm.canScrollVertically()) { in scrollIfNecessary() 778 final RecyclerView.LayoutManager lm = mRecyclerView.getLayoutManager(); in findSwapTargets() local 779 final int childCount = lm.getChildCount(); in findSwapTargets() 781 View other = lm.getChildAt(i); in findSwapTargets() 912 final RecyclerView.LayoutManager lm = mRecyclerView.getLayoutManager(); in findSwipedView() local 925 if (absDx > absDy && lm.canScrollHorizontally()) { in findSwipedView() 927 } else if (absDy > absDx && lm.canScrollVertically()) { in findSwipedView()
|
/frameworks/compile/libbcc/tools/bcc_strip_attr/ |
D | Android.bp | 26 host_ldlibs: ["-lm"],
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | RankingHelper.java | 666 LogMaker lm = getChannelLog(channel, pkg); in deleteNotificationChannel() local 667 lm.setType(MetricsProto.MetricsEvent.TYPE_CLOSE); in deleteNotificationChannel() 668 MetricsLogger.action(lm); in deleteNotificationChannel()
|
/frameworks/compile/mclinker/include/mcld/Config/ |
D | Config.h.cmake | 219 /* Define to 1 if you have the `m' library (-lm). */
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 8223 LogMaker lm = new LogMaker(MetricsEvent.ACTION_PICTURE_IN_PICTURE_ASPECT_RATIO_CHANGED); in logPictureInPictureArgs() local 8224 lm.addTaggedData(MetricsEvent.PICTURE_IN_PICTURE_ASPECT_RATIO, params.getAspectRatio()); in logPictureInPictureArgs() 8225 MetricsLogger.action(lm); in logPictureInPictureArgs()
|