Home
last modified time | relevance | path

Searched refs:elementId (Results 1 – 3 of 3) sorted by relevance

/tools/metalava/metalava-reporter/src/main/java/com/android/tools/metalava/reporter/
DBaselineKey.kt29 fun elementId(pathTransformer: (String) -> String = { it }): String in elementId() method
40 fun forElementId(elementId: String): BaselineKey { in forElementId()
41 return ElementIdBaselineKey(elementId) in forElementId()
54 private data class ElementIdBaselineKey(val elementId: String) : BaselineKey { constant in com.android.tools.metalava.reporter.BaselineKey.ElementIdBaselineKey
55 override fun elementId(pathTransformer: (String) -> String): String { in elementId() method in com.android.tools.metalava.reporter.BaselineKey.ElementIdBaselineKey
56 return elementId in elementId()
62 override fun elementId(pathTransformer: (String) -> String): String { in elementId() method in com.android.tools.metalava.reporter.BaselineKey.PathBaselineKey
DBaseline.kt88 val elementId = key.elementId(pathTransformer = this::transformBaselinePath) in <lambda>() constant
89 return mark(elementId, message, issue) in <lambda>()
92 private fun MutableMap<String, String>.findOldMessageByElementId(elementId: String): String? { in <lambda>()
93 get(elementId)?.let { in <lambda>()
100 private fun mark(elementId: String, message: String, issue: Issues.Issue): Boolean { in <lambda>()
113 idMap?.findOldMessageByElementId(elementId)?.let { in <lambda>()
120 idMap?.set(elementId, message) in <lambda>()
173 val elementId = line.substring(idEnd + 2, elementEnd).trim() in <lambda>() constant
188 newIdMap[elementId] = message in <lambda>()
206 idMap?.keys?.sorted()?.forEach { elementId -> in <lambda>() method
[all …]
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFileLocation.kt176 val elementId = getElementId(element) in getBaselineKey() constant
177 BaselineKey.forElementId(elementId) in getBaselineKey()