Home
last modified time | relevance | path

Searched refs:lastItem (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/spa/core/instrumentation/
DMetricsDataModel.kt34 val lastItem = pageTimeStampList.findLast { it.pageId == pageId } in getPageDuration() constant
35 if (removed && lastItem != null) { in getPageDuration()
36 pageTimeStampList.remove(lastItem) in getPageDuration()
38 return if (lastItem == null) "0" in getPageDuration()
39 else (System.currentTimeMillis() - lastItem.timeStamp).toString() in getPageDuration()
/packages/apps/Settings/src/com/android/settings/utils/
DLocaleUtils.java37 final CharSequence lastItem = items.get(items.size() - 1); in getConcatenatedString() local
45 return formatted.subSequence(0, TextUtils.indexOf(formatted, lastItem) + lastItem.length()); in getConcatenatedString()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/composable/
DShareouselLazyListPrefetchStrategy.kt54 val lastItem = layoutInfo.visibleItemsInfo.last() in onScroll() constant
57 lastItem.offset + lastItem.size + spacing - layoutInfo.viewportEndOffset in onScroll()
60 prefetchHandles.get(lastItem.index + 1)?.markAsUrgent() in onScroll()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/
DPhotosTabAdapterTest.java111 final Item lastItem = generateJpegItem(lastItemId, dateTakenMs, /* generationModified */ 1); in test_exceedMinCount_sameDay_hasRecentItemNoDateItem() local
112 mediaItems.add(lastItem); in test_exceedMinCount_sameDay_hasRecentItemNoDateItem()
/packages/apps/Settings/src/com/android/settings/accessibility/
DPaletteListPreference.java179 final GradientDrawable lastItem = in updateFirstAndLastItemsBackground() local
182 lastItem.setCornerRadii(new float[]{0, 0, 0, 0, radius, radius, radius, radius}); in updateFirstAndLastItemsBackground()