| /ink/ink-strokes/src/jvmAndroidTest/kotlin/androidx/ink/strokes/ |
| D | StrokeInputBatchTest.kt | 49 val batch = MutableStrokeInputBatch().asImmutable() in createStylusInputWithOptionals() 62 val batch = builder.asImmutable() in add_input() 75 val batch = builder.asImmutable() in add_input_withChainedCalls() 100 assertThat(builder.asImmutable().size).isEqualTo(0) in add_input_withBadValues_throwsIllegalArgumentException() 110 assertThat(builder.asImmutable().size).isEqualTo(0) in add_input_withBadValues_throwsIllegalArgumentException() 119 assertThat(builder.asImmutable().size).isEqualTo(0) in add_input_withBadValues_throwsIllegalArgumentException() 132 assertThat(builder.asImmutable().size).isEqualTo(0) in add_input_withBadValues_throwsIllegalArgumentException() 143 val batch = builder.asImmutable() in add_explodedInput() 162 val batch = builder.asImmutable() in add_explodedInput_withChainedCalls() 177 val batch = builder.asImmutable() in add_explodedInput_withBadValues_throwsIllegalArgumentException() [all …]
|
| D | StrokeTest.kt | 302 val batch = buildStrokeInputBatchFromPoints(floatArrayOf(10f, 3f, 20f, 5f)).asImmutable() in <lambda>() 321 .asImmutable() in <lambda>()
|
| /ink/ink-geometry/src/jvmAndroidMain/kotlin/androidx/ink/geometry/ |
| D | ImmutableTriangle.kt | 27 @Suppress("Immutable") override val p0: Vec = p0.asImmutable() 28 @Suppress("Immutable") override val p1: Vec = p1.asImmutable() 29 @Suppress("Immutable") override val p2: Vec = p2.asImmutable() 31 @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) override fun asImmutable(): ImmutableTriangle = this method
|
| D | ImmutableSegment.kt | 27 @Suppress("Immutable") override val start: Vec = start.asImmutable() 28 @Suppress("Immutable") override val end: Vec = end.asImmutable() 30 @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) override fun asImmutable(): ImmutableSegment = this method
|
| D | ImmutableVec.kt | 36 @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) override fun asImmutable(): ImmutableVec = this in asImmutable() method in androidx.ink.geometry.ImmutableVec
|
| D | MutableSegment.kt | 50 override fun asImmutable(): ImmutableSegment = ImmutableSegment(this.start, this.end) method in androidx.ink.geometry.MutableSegment
|
| D | MutableVec.kt | 42 override fun asImmutable(): ImmutableVec = ImmutableVec(x, y) in asImmutable() method in androidx.ink.geometry.MutableVec
|
| D | MutableTriangle.kt | 55 override fun asImmutable(): ImmutableTriangle = ImmutableTriangle(this.p0, this.p1, this.p2) method in androidx.ink.geometry.MutableTriangle
|
| D | ImmutableBox.kt | 45 @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) override fun asImmutable(): ImmutableBox = this in asImmutable() method
|
| D | MutableBox.kt | 109 override fun asImmutable(): ImmutableBox = method
|
| D | ImmutableAffineTransform.kt | 86 public override fun asImmutable(): ImmutableAffineTransform = this in asImmutable() method in androidx.ink.geometry.ImmutableAffineTransform
|
| D | Box.kt | 128 @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public abstract fun asImmutable(): ImmutableBox in contains() method in androidx.ink.geometry.Box
|
| D | Segment.kt | 145 @RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) public abstract fun asImmutable(): ImmutableSegment in asImmutable() method in androidx.ink.geometry.Segment
|
| /ink/ink-geometry/src/jvmAndroidTest/kotlin/androidx/ink/geometry/ |
| D | PartitionedMeshTest.kt | 233 buildStrokeInputBatchFromPoints(floatArrayOf(15f, 3f, 15f, 5f)).asImmutable(), in computeCoverage_forTwoPartitionedMeshes_callsJniAndReturnsFloat() 239 buildStrokeInputBatchFromPoints(floatArrayOf(100f, 3f, 200f, 5f)).asImmutable(), in computeCoverage_forTwoPartitionedMeshes_callsJniAndReturnsFloat() 353 buildStrokeInputBatchFromPoints(floatArrayOf(15f, 3f, 15f, 5f)).asImmutable(), in computeCoverageIsGreaterThan_forTwoPartitionedMeshes_callsJniAndReturnsBoolean() 359 buildStrokeInputBatchFromPoints(floatArrayOf(100f, 3f, 200f, 5f)).asImmutable(), in computeCoverageIsGreaterThan_forTwoPartitionedMeshes_callsJniAndReturnsBoolean() 398 buildStrokeInputBatchFromPoints(floatArrayOf(10f, 3f, 20f, 5f)).asImmutable(), in buildTestStrokeShape()
|
| D | MutableVecTest.kt | 219 assertThat(vec.asImmutable()).isNotSameInstanceAs(vec) in asImmutable_returnsNewEquivalentImmutableVec() 220 assertThat(vec.asImmutable()).isEqualTo(vec) in asImmutable_returnsNewEquivalentImmutableVec()
|
| D | ImmutableSegmentTest.kt | 85 val output = segment.asImmutable() in asImmutable_withSameValues_returnsSelf()
|
| D | MutableSegmentTest.kt | 99 val output = segment.asImmutable() in asImmutable_returnsImmutableCopy()
|
| /ink/ink-strokes/src/jvmAndroidMain/kotlin/androidx/ink/strokes/ |
| D | Stroke.kt | 92 inputs.asImmutable(), 103 inputs.asImmutable(),
|
| D | StrokeInputBatch.kt | 126 public abstract fun asImmutable(): ImmutableStrokeInputBatch in asImmutable() method 145 public override fun asImmutable(): ImmutableStrokeInputBatch = this in asImmutable() method 400 public override fun asImmutable(): ImmutableStrokeInputBatch = in setNoiseSeed() method in MutableStrokeInputBatch
|
| /ink/ink-rendering/src/androidInstrumentedTest/kotlin/androidx/ink/rendering/android/canvas/internal/ |
| D | CanvasMeshRendererTest.kt | 67 .asImmutable(), 96 .asImmutable(), in obtainShaderMetadata_whenCalledTwiceWithEquivalentPackedFormat_returnsCachedValue() 287 .asImmutable(), in drawStroke_whenAndroidU_withTextureAnimation_shouldSaveRecentlyDrawnMesh() 343 .asImmutable(), in drawStroke_whenAndroidU_withoutTextureAnimation_shouldIgnoreTextureProgressForMeshReuse()
|
| D | CanvasMeshRendererRobolectricTest.kt | 55 .asImmutable(),
|
| D | CanvasMeshRendererScreenshotTestActivity.kt | 57 .asImmutable()
|
| /ink/ink-rendering/src/androidInstrumentedTest/kotlin/androidx/ink/rendering/android/view/ |
| D | ViewStrokeRendererTestActivity.kt | 64 .asImmutable() in <lambda>()
|
| /ink/ink-geometry/src/androidInstrumentedTest/kotlin/androidx/ink/geometry/ |
| D | AndroidGraphicsConversionExtensionsTest.kt | 277 buildStrokeInputBatchFromPoints(floatArrayOf(10f, 3f, 20f, 5f)).asImmutable(), in buildTestStrokeShape() 283 return Stroke(TEST_BRUSH, buildStrokeInputBatchFromPoints(floatArrayOf()).asImmutable()) in buildEmptyTestStrokeShape()
|
| D | AndroidGraphicsConversionExtensionsEmulatorTest.kt | 94 buildStrokeInputBatchFromPoints(floatArrayOf(10f, 3f, 20f, 5f)).asImmutable(), in buildTestStrokeShape()
|