Searched refs:key (Results 1 – 4 of 4) sorted by relevance
27 val key = params.requestedInitialKey ?: 0 in loadInitial() constant28 val sublist = list.subList(key, minOf(key + params.requestedLoadSize, totalCount)) in loadInitial()33 callback.onResult(list.subList(params.key, params.key + params.requestedLoadSize)) in loadAfter()37 callback.onResult(list.subList(params.key - params.requestedLoadSize + 1, params.key + 1)) in loadBefore()
36 list.subList(params.key - params.requestedLoadSize + 1, params.key + 1), in loadBefore()37 params.key - 1 in loadBefore()43 list.subList(params.key, params.key + params.requestedLoadSize), in loadAfter()44 params.key + params.requestedLoadSize in loadAfter()
67 val key = params.key ?: 0 in getLoadResult() constant70 val start = (if (isPrepend) key - params.loadSize + 1 else key).coerceAtLeast(0) in getLoadResult()71 val end = (if (isPrepend) key + 1 else key + params.loadSize).coerceAtMost(items.size) in getLoadResult()
227 private fun Properties.getCanonicalPath(key: String): String { in getCanonicalPath()228 return File(getProperty(key)).canonicalPath in getCanonicalPath()231 private fun Properties.getOptionalCanonicalPath(key: String): String? { in getOptionalCanonicalPath()232 return if (containsKey(key)) { in getOptionalCanonicalPath()233 getCanonicalPath(key) in getOptionalCanonicalPath()