Searched refs:format (Results 1 – 20 of 20) sorted by relevance
29 val meshFormat = Mesh().format in isPackedEquivalent_withSameInstance_returnsTrue()35 val meshFormat = Mesh().format in isPackedEquivalent_withEquivalent_returnsTrue()36 assertThat(meshFormat.isPackedEquivalent(Mesh().format)).isTrue() in isPackedEquivalent_withEquivalent_returnsTrue()41 val meshFormat = Mesh().format in isUnpackedEquivalent_withSameInstance_returnsTrue()47 val meshFormat = Mesh().format in isUnpackedEquivalent_withEquivalent_returnsTrue()48 assertThat(meshFormat.isUnpackedEquivalent(Mesh().format)).isTrue() in isUnpackedEquivalent_withEquivalent_returnsTrue()
150 assertThat(meshes[0].format.isUnpackedEquivalent(shapeFormat)).isTrue() in meshFormat_forTestShape_isEquivalentToMeshFormatOfFirstMesh()
1 // Signature format: 4.0
271 inkMesh.format, in drawFromStroke()297 inkMesh.format, in drawFromStroke()393 val meshSpec = obtainShaderMetadata(inkMesh.format, isPacked = true).meshSpecification in createAndroidMesh()640 val format = stroke.shape.renderGroupFormat(groupIndex) in canDraw() constant641 if (!nativeIsMeshFormatRenderable(format.nativePointer, isPacked = true)) { in canDraw()1065 for ((format, item) in cache) { in getCachedValue() method1066 if (isPacked && format.isPackedEquivalent(key)) { in getCachedValue()1068 } else if (!isPacked && format.isUnpackedEquivalent(key)) { in getCachedValue()
52 public val format: MeshFormat = MeshFormat.wrapNative(MeshNative.newCopyOfFormat(nativePointer)) constant in androidx.ink.geometry.Mesh
136 format: Int, in surfaceCreated()
60 // in PNG format.