Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 37) sorted by relevance

12

/ink/ink-authoring/src/androidInstrumentedTest/kotlin/androidx/ink/authoring/internal/
DStrokeInputPoolTest.kt149 StrokeInput.create( in <lambda>()
158 StrokeInput.create( in <lambda>()
167 StrokeInput.create( in <lambda>()
176 StrokeInput.create( in <lambda>()
185 StrokeInput.create( in <lambda>()
194 StrokeInput.create( in <lambda>()
203 StrokeInput.create( in <lambda>()
212 StrokeInput.create( in <lambda>()
226 StrokeInput.create( in <lambda>()
232 StrokeInput.create( in <lambda>()
[all …]
DInProgressStrokePoolTest.kt31 val pool = InProgressStrokePool.create() in obtain_whenCalledTwice_returnsDifferentInstances()
41 val pool = InProgressStrokePool.create() in obtain_whenCalledAfterRecycle_returnsSameInstance()
52 assertFailsWith<IllegalArgumentException> { InProgressStrokePool.create().trimToSize(-1) } in trimToSize_whenNegative_throws()
57 val pool = InProgressStrokePool.create() in trimToSize_whenZero_obtainReturnsNewInstance()
72 val pool = InProgressStrokePool.create() in trimToSize_whenLessThanCurrentPoolSize_obtainReturnsSameInstancesThenNewInstances()
/ink/ink-strokes/src/jvmAndroidTest/kotlin/androidx/ink/strokes/
DStrokeInputBatchTest.kt36 StrokeInput.create( in createStylusInputWithOptionals()
85 StrokeInput.create( in add_input_withBadValues_throwsIllegalArgumentException()
103 val badPressure = StrokeInput.create(1f, 1f, 1L, InputToolType.STYLUS, pressure = 10000f) in add_input_withBadValues_throwsIllegalArgumentException()
113 val badTilt = StrokeInput.create(1f, 1f, 1L, InputToolType.STYLUS, tiltRadians = 1000f) in add_input_withBadValues_throwsIllegalArgumentException()
123 StrokeInput.create(1f, 1f, 1L, InputToolType.STYLUS, orientationRadians = 10000f) in add_input_withBadValues_throwsIllegalArgumentException()
151 val firstInput = StrokeInput.create(1f, 2f, 3L, InputToolType.STYLUS, 0.5f, 0.5f, 0.5f) in add_explodedInput_withChainedCalls()
152 val secondInput = StrokeInput.create(2f, 4f, 6L, InputToolType.STYLUS, 0.5f, 0.5f, 0.5f) in add_explodedInput_withChainedCalls()
232 val firstInput = StrokeInput.create(1f, 2f, 3L, InputToolType.TOUCH, 0.5f, 0.5f, 0.5f) in add_withStrokeInputBatch_withDifferentToolType_throwsIllegalArgumentException()
233 val secondInput = StrokeInput.create(2f, 4f, 6L, InputToolType.TOUCH, 0.5f, 0.5f, 0.5f) in add_withStrokeInputBatch_withDifferentToolType_throwsIllegalArgumentException()
234 val thirdInput = StrokeInput.create(3f, 6f, 9L, InputToolType.STYLUS, 0.5f, 0.5f, 0.5f) in add_withStrokeInputBatch_withDifferentToolType_throwsIllegalArgumentException()
[all …]
DStrokeInputTest.kt91 StrokeInput.create( in equals_whenSame_shouldReturnTrueAndHaveSameHashCode()
102 StrokeInput.create( in equals_whenSame_shouldReturnTrueAndHaveSameHashCode()
126 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
138 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
152 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
166 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
180 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
194 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
208 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
222 StrokeInput.create( in equals_whenOneValueDifferent_shouldReturnFalse()
[all …]
/ink/ink-geometry/src/jvmAndroidTest/kotlin/androidx/ink/geometry/
DMeshAttributeUnpackingParamsTest.kt30 val transform = MeshAttributeUnpackingParams.create(1F, 2F) in create1_hasExpectedComponentFields()
40 MeshAttributeUnpackingParams.create( in createWithArrays_hasExpectedComponentFields()
59 MeshAttributeUnpackingParams.create(floatArrayOf(), floatArrayOf()) in createWithArrays_whenTooSmall_throws()
66 MeshAttributeUnpackingParams.create( in createWithArrays_whenTooBig_throws()
76 MeshAttributeUnpackingParams.create(floatArrayOf(1F, 2F), floatArrayOf(3F, 4F, 5F)) in createWithArrays_whenMixedSizes_throws()
84 MeshAttributeUnpackingParams.create(1F, 2F), in equals_whenSameInstance_returnsTrueAndHasSameHashCode()
118 MeshAttributeUnpackingParams.create(1F, 2F), in equals_whenDifferentClass_returnsFalse()
153 MeshAttributeUnpackingParams.create(1F, 2F), in equals_whenDifferentComponentCount_returnsFalse()
190 MeshAttributeUnpackingParams.create(1F, 2F), in equals_whenDifferentOffset_returnsFalse()
215 MeshAttributeUnpackingParams.create(10F, 2F), in equals_whenDifferentOffset_returnsFalse()
[all …]
/ink/ink-rendering/src/androidMain/kotlin/androidx/ink/rendering/android/canvas/
DCanvasStrokeRenderer.kt262 public fun create(): CanvasStrokeRenderer { in draw() method
264 return create(TextureBitmapStore { null }, forcePathRendering = false) in draw()
275 public fun create(textureStore: TextureBitmapStore): CanvasStrokeRenderer { in draw() method
277 return create(textureStore, forcePathRendering = false) in draw()
288 public fun create(forcePathRendering: Boolean): CanvasStrokeRenderer { in draw() method
290 return create(TextureBitmapStore { null }, forcePathRendering) in draw()
304 public fun create( in draw() method
/ink/ink-rendering/api/
Dcurrent.txt13 method public static androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create();
14 …public static androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create(androidx.ink.rende…
24 method public androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create();
25 …ushApi public androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create(androidx.ink.rende…
Drestricted_current.txt13 method public static androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create();
14 …public static androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create(androidx.ink.rende…
24 method public androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create();
25 …ushApi public androidx.ink.rendering.android.canvas.CanvasStrokeRenderer create(androidx.ink.rende…
/ink/ink-geometry/src/jvmAndroidMain/kotlin/androidx/ink/geometry/
DMeshAttributeUnpackingParams.kt59 public fun create(offset: Float, scale: Float): MeshAttributeUnpackingParams { in create() method
68 public fun create( in create() method
/ink/ink-strokes/api/
Dcurrent.txt92 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
93 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
94 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
95 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
96 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
97 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
134 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
135 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
136 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
137 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
[all …]
Drestricted_current.txt92 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
93 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
94 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
95 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
96 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
97 …method @VisibleForTesting public static androidx.ink.strokes.StrokeInput create(float x, float y, …
134 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
135 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
136 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
137 …method @VisibleForTesting public androidx.ink.strokes.StrokeInput create(float x, float y, @IntRan…
[all …]
/ink/ink-brush/src/jvmAndroidMain/kotlin/androidx/ink/brush/
DBrushCoat.kt55 ) : this(BrushCoatNative.create(tip.nativePointer, paint.nativePointer), tip, paint)
147 @UsedByNative public external fun create(tipNativePointer: Long, paintNativePointer: Long): Long in builder() method
DBrushFamily.kt73 BrushFamilyNative.create( in <lambda>()
290 public external fun create( method
DBrushPaint.kt64 BrushPaintNative.create(textureLayers.map { it.nativePointer }.toLongArray()), in <lambda>()
465 TextureLayerNative.create( in <lambda>()
800 @UsedByNative public external fun create(textureLayerNativePointers: LongArray): Long in create() method
823 public external fun create( in create() method
DBrush.kt108 BrushNative.create( in <lambda>()
464 public external fun create( method
/ink/ink-rendering/src/androidInstrumentedTest/kotlin/androidx/ink/rendering/android/canvas/
DCanvasStrokeRendererTestActivity.kt57 @OptIn(ExperimentalInkCustomBrushApi::class) CanvasStrokeRenderer.create(textureStore) in <lambda>()
63 CanvasStrokeRenderer.create(textureStore, forcePathRendering = true) in <lambda>()
64 private val defaultRenderer = CanvasStrokeRenderer.create() in <lambda>()
/ink/ink-authoring/src/androidMain/kotlin/androidx/ink/authoring/
DInProgressStrokeId.kt36 internal fun create() = InProgressStrokeId() method
/ink/ink-authoring/src/androidMain/kotlin/androidx/ink/authoring/internal/
DFrontBufferToHwuiHandoff.kt55 fun create( in setup() method
DInProgressStrokePool.kt29 fun create(): InProgressStrokePool = InProgressStrokePoolImpl() in obtain() method
/ink/ink-authoring/src/androidInstrumentedTest/kotlin/androidx/ink/authoring/
DInProgressStrokesViewTest.kt434 StrokeInput.create( in <lambda>()
445 StrokeInput.create( in <lambda>()
453 StrokeInput.create( in <lambda>()
464 StrokeInput.create( in <lambda>()
484 StrokeInput.create( in <lambda>()
501 StrokeInput.create( in <lambda>()
509 StrokeInput.create( in <lambda>()
520 StrokeInput.create( in <lambda>()
/ink/ink-strokes/src/jvmAndroidMain/kotlin/androidx/ink/strokes/
DStrokeInputBatch.kt159 ImmutableStrokeInputBatch(StrokeInputBatchNative.create()) in asImmutable()
185 public class MutableStrokeInputBatch : StrokeInputBatch(StrokeInputBatchNative.create()) {
420 @UsedByNative external fun create(): Long in toString() method
DStrokeInput.kt216 public fun create( in create() method
/ink/ink-storage/src/jvmAndroidTest/kotlin/androidx/ink/storage/
DStrokeInputBatchExtensionsTest.kt42 StrokeInput.create( in <lambda>()
53 StrokeInput.create( in <lambda>()
/ink/ink-rendering/src/androidInstrumentedTest/kotlin/androidx/ink/rendering/android/view/
DViewStrokeRendererTestActivity.kt36 private val strokeRenderer = CanvasStrokeRenderer.create() in <lambda>()
/ink/ink-rendering/src/androidMain/kotlin/androidx/ink/rendering/android/canvas/internal/
DCanvasPathRenderer.kt224 PartitionedMeshPathData.create(shape, strokeToScreenTransform).also { in obtainPath()
337 fun create( in create() method

12