| /ink/ink-brush/src/jvmAndroidMain/kotlin/androidx/ink/brush/ |
| D | BrushBehavior.kt | 219 override fun hashCode(): Int { in <lambda>() method 220 return terminalNodes.hashCode() in <lambda>() 350 override fun hashCode(): Int = value.hashCode() in <lambda>() method in Source 627 override fun hashCode(): Int = value.hashCode() in <lambda>() method in Target 757 override fun hashCode(): Int = value.hashCode() in <lambda>() method in PolarTarget 812 override fun hashCode(): Int = value.hashCode() in <lambda>() method in OutOfRange 855 override fun hashCode(): Int = value.hashCode() in <lambda>() method in OptionalInputProperty 885 override fun hashCode(): Int = value.hashCode() in <lambda>() method in BinaryOp 915 override fun hashCode(): Int = value.hashCode() in <lambda>() method in DampingSource 956 override fun hashCode(): Int = value.hashCode() in <lambda>() method in Interpolation [all …]
|
| D | BrushPaint.kt | 75 override fun hashCode(): Int { in <lambda>() method 76 return textureLayers.hashCode() in <lambda>() 106 override fun hashCode(): Int = value.hashCode() in <lambda>() method 139 override fun hashCode(): Int = value.hashCode() in <lambda>() method in TextureOrigin 174 override fun hashCode(): Int = value.hashCode() in <lambda>() method in TextureSizeUnit 209 override fun hashCode(): Int = value.hashCode() in <lambda>() method in TextureWrap 257 override fun hashCode(): Int = value.hashCode() in <lambda>() method in BlendMode 625 override fun hashCode(): Int { in <lambda>() method in TextureLayer 626 var result = clientTextureId.hashCode() in <lambda>() 627 result = 31 * result + sizeX.hashCode() in <lambda>() [all …]
|
| D | EasingFunction.kt | 83 override fun hashCode(): Int = value.hashCode() in <lambda>() method in androidx.ink.brush.EasingFunction 192 override fun hashCode(): Int { in <lambda>() method 193 var result = x1.hashCode() in <lambda>() 194 result = 31 * result + x2.hashCode() in <lambda>() 195 result = 31 * result + y1.hashCode() in <lambda>() 196 result = 31 * result + y2.hashCode() in <lambda>() 267 override fun hashCode(): Int { in <lambda>() method 268 return points.hashCode() in <lambda>() 318 override fun hashCode(): Int { in <lambda>() method 319 var result = stepCount.hashCode() in <lambda>() [all …]
|
| D | BrushTip.kt | 336 override fun hashCode(): Int { in <lambda>() method 337 var result = scaleX.hashCode() in <lambda>() 338 result = 31 * result + scaleY.hashCode() in <lambda>() 339 result = 31 * result + pinch.hashCode() in <lambda>() 340 result = 31 * result + cornerRounding.hashCode() in <lambda>() 341 result = 31 * result + slant.hashCode() in <lambda>() 342 result = 31 * result + rotation.hashCode() in <lambda>() 343 result = 31 * result + opacityMultiplier.hashCode() in <lambda>() 344 result = 31 * result + particleGapDistanceScale.hashCode() in <lambda>() 345 result = 31 * result + particleGapDurationMillis.hashCode() in <lambda>() [all …]
|
| D | BrushCoat.kt | 105 override fun hashCode(): Int { in hashCode() method in androidx.ink.brush.BrushCoat 106 var result = tip.hashCode() in hashCode() 107 result = 31 * result + paint.hashCode() in hashCode()
|
| D | InputToolType.kt | 53 public override fun hashCode(): Int = value.hashCode() in hashCode() method in androidx.ink.brush.InputToolType
|
| D | BrushFamily.kt | 211 override fun hashCode(): Int { in <lambda>() method 212 var result = coats.hashCode() in <lambda>() 213 result = 31 * result + clientBrushFamilyId.hashCode() in <lambda>() 214 result = 31 * result + inputModel.hashCode() in <lambda>()
|
| /ink/ink-strokes/src/jvmAndroidMain/kotlin/androidx/ink/strokes/ |
| D | StrokeInput.kt | 184 public override fun hashCode(): Int { in hashCode() method in androidx.ink.strokes.StrokeInput 185 var result = x.hashCode() in hashCode() 186 result = 31 * result + y.hashCode() in hashCode() 187 result = 31 * result + elapsedTimeMillis.hashCode() in hashCode() 188 result = 31 * result + toolType.hashCode() in hashCode() 189 result = 31 * result + strokeUnitLengthCm.hashCode() in hashCode() 190 result = 31 * result + pressure.hashCode() in hashCode() 191 result = 31 * result + tiltRadians.hashCode() in hashCode() 192 result = 31 * result + orientationRadians.hashCode() in hashCode()
|
| /ink/ink-brush/src/jvmAndroidTest/kotlin/androidx/ink/brush/ |
| D | EasingFunctionTest.kt | 65 assertThat(EasingFunction.Predefined.LINEAR.hashCode()) in predefinedHashCode_withIdenticalValues_matches() 66 .isEqualTo(EasingFunction.Predefined.LINEAR.hashCode()) in predefinedHashCode_withIdenticalValues_matches() 68 assertThat(EasingFunction.Predefined.LINEAR.hashCode()) in predefinedHashCode_withIdenticalValues_matches() 69 .isNotEqualTo(EasingFunction.Predefined.STEP_END.hashCode()) in predefinedHashCode_withIdenticalValues_matches() 129 assertThat(EasingFunction.CubicBezier(1f, 2f, 0.3f, 4f).hashCode()) in cubicBezierHashCode_withIdenticalValues_matches() 130 .isEqualTo(EasingFunction.CubicBezier(1f, 2f, 0.3f, 4f).hashCode()) in cubicBezierHashCode_withIdenticalValues_matches() 189 assertThat(EasingFunction.Linear(listOf(ImmutableVec(0.25f, 0.1f))).hashCode()) in linearHashCode_withIdenticalValues_matches() 190 .isEqualTo(EasingFunction.Linear(listOf(ImmutableVec(0.25f, 0.1f))).hashCode()) in linearHashCode_withIdenticalValues_matches() 267 assertThat(EasingFunction.StepPosition.JUMP_START.hashCode()) in stepPositionHashCode_withIdenticalValues_matches() 268 .isEqualTo(EasingFunction.StepPosition.JUMP_START.hashCode()) in stepPositionHashCode_withIdenticalValues_matches() [all …]
|
| D | BrushBehaviorTest.kt | 81 assertThat(BrushBehavior.Source.NORMALIZED_PRESSURE.hashCode()) in sourceHashCode_withIdenticalValues_match() 82 .isEqualTo(BrushBehavior.Source.NORMALIZED_PRESSURE.hashCode()) in sourceHashCode_withIdenticalValues_match() 84 assertThat(BrushBehavior.Source.TILT_IN_RADIANS.hashCode()) in sourceHashCode_withIdenticalValues_match() 85 .isNotEqualTo(BrushBehavior.Source.NORMALIZED_PRESSURE.hashCode()) in sourceHashCode_withIdenticalValues_match() 258 assertThat(BrushBehavior.Target.WIDTH_MULTIPLIER.hashCode()) in targetHashCode_withIdenticalValues_match() 259 .isEqualTo(BrushBehavior.Target.WIDTH_MULTIPLIER.hashCode()) in targetHashCode_withIdenticalValues_match() 261 assertThat(BrushBehavior.Target.WIDTH_MULTIPLIER.hashCode()) in targetHashCode_withIdenticalValues_match() 262 .isNotEqualTo(BrushBehavior.Target.HEIGHT_MULTIPLIER.hashCode()) in targetHashCode_withIdenticalValues_match() 332 .hashCode() in polarTargetHashCode_withIdenticalValues_match() 337 .hashCode() in polarTargetHashCode_withIdenticalValues_match() [all …]
|
| D | BrushPaintTest.kt | 80 assertThat(BrushPaint(listOf(makeTestTextureLayer())).hashCode()) in hashCode_withIdenticalValues_matches() 81 .isEqualTo(BrushPaint(listOf(makeTestTextureLayer())).hashCode()) in hashCode_withIdenticalValues_matches() 241 assertThat(makeTestTextureLayer().hashCode()).isEqualTo(makeTestTextureLayer().hashCode()) in textureLayerHashCode_withIdenticalValues_matches() 395 assertThat(BrushPaint.TextureSizeUnit.STROKE_COORDINATES.hashCode()) in sizeUnitHashCode_withIdenticalValues_match() 396 .isEqualTo(BrushPaint.TextureSizeUnit.STROKE_COORDINATES.hashCode()) in sizeUnitHashCode_withIdenticalValues_match() 433 assertThat(BrushPaint.TextureOrigin.FIRST_STROKE_INPUT.hashCode()) in originHashCode_withIdenticalValues_match() 434 .isEqualTo(BrushPaint.TextureOrigin.FIRST_STROKE_INPUT.hashCode()) in originHashCode_withIdenticalValues_match() 466 assertThat(BrushPaint.TextureMapping.TILING.hashCode()) in mappingHashCode_withIdenticalValues_match() 467 .isEqualTo(BrushPaint.TextureMapping.TILING.hashCode()) in mappingHashCode_withIdenticalValues_match() 500 assertThat(BrushPaint.TextureWrap.MIRROR.hashCode()) in wrapHashCode_withIdenticalValues_match() [all …]
|
| D | InputToolTypeTest.kt | 51 assertThat(InputToolType.MOUSE.hashCode()).isEqualTo(InputToolType.MOUSE.hashCode()) in hashCode_withIdenticalValues_matches() 53 assertThat(InputToolType.MOUSE.hashCode()).isNotEqualTo(InputToolType.TOUCH.hashCode()) in hashCode_withIdenticalValues_matches()
|
| D | BrushFamilyTest.kt | 40 assertThat(newCustomBrushFamily().hashCode()).isEqualTo(newCustomBrushFamily().hashCode()) in hashCode_withIdenticalValues_matches() 45 assertThat(BrushFamily.SPRING_MODEL.hashCode()) in inputModelHashCode_isSameForIdenticalModels() 46 .isEqualTo(BrushFamily.SPRING_MODEL.hashCode()) in inputModelHashCode_isSameForIdenticalModels()
|
| D | BrushTest.kt | 177 assertThat(differentFamilyBrush.hashCode()).isNotEqualTo(brush.hashCode()) in hashCode_differsIfAnyFieldsDiffer() 184 assertThat(differentcolorBrush.hashCode()).isNotEqualTo(brush.hashCode()) in hashCode_differsIfAnyFieldsDiffer() 187 assertThat(differentSizeBrush.hashCode()).isNotEqualTo(brush.hashCode()) in hashCode_differsIfAnyFieldsDiffer() 190 assertThat(differentEpsilonBrush.hashCode()).isNotEqualTo(brush.hashCode()) in hashCode_differsIfAnyFieldsDiffer()
|
| /ink/ink-geometry/src/jvmAndroidMain/kotlin/androidx/ink/geometry/ |
| D | MeshAttributeUnpackingParams.kt | 46 override fun hashCode(): Int { in hashCode() method in androidx.ink.geometry.ComponentUnpackingParams 47 return 31 * offset.hashCode() + scale.hashCode() in hashCode() 92 override fun hashCode(): Int { in hashCode() method 93 return components.hashCode() in hashCode()
|
| D | Triangle.kt | 167 31 * p0.x.hashCode() + in asImmutable() 168 p0.y.hashCode() + in asImmutable() 169 31 * p1.x.hashCode() + in asImmutable() 170 p1.y.hashCode() + in asImmutable() 171 31 * p2.x.hashCode() + in asImmutable() 172 p2.y.hashCode() in asImmutable()
|
| D | Parallelogram.kt | 325 var result = parallelogram.center.hashCode() in isAlmostEqual() 326 result = 31 * result + parallelogram.width.hashCode() in isAlmostEqual() 327 result = 31 * result + parallelogram.height.hashCode() in isAlmostEqual() 328 result = 31 * result + parallelogram.rotation.hashCode() in isAlmostEqual() 329 result = 31 * result + parallelogram.shearFactor.hashCode() in isAlmostEqual()
|
| D | Box.kt | 154 var result = xMin.hashCode() in contains() 155 result = 31 * result + yMin.hashCode() in contains() 156 result = 31 * result + xMax.hashCode() in contains() 157 result = 31 * result + yMax.hashCode() in contains()
|
| D | AffineTransform.kt | 402 var result = m00.hashCode() in isAlmostEqual() 403 result = 31 * result + m10.hashCode() in isAlmostEqual() 404 result = 31 * result + m20.hashCode() in isAlmostEqual() 405 result = 31 * result + m01.hashCode() in isAlmostEqual() 406 result = 31 * result + m11.hashCode() in isAlmostEqual() 407 result = 31 * result + m21.hashCode() in isAlmostEqual()
|
| /ink/ink-geometry/src/jvmAndroidTest/kotlin/androidx/ink/geometry/ |
| D | ImmutableBoxTest.kt | 107 assertThat(immutableBox.hashCode()).isEqualTo(immutableBox.hashCode()) in equals_whenSameInstance_returnsTrueAndSameHashCode() 125 assertThat(immutableBox.hashCode()).isEqualTo(mutableBox.hashCode()) in equals_whenSameInterfacePropertiesAndDifferentType_returnsTrue() 134 assertThat(immutableBox.hashCode()).isEqualTo(other.hashCode()) in equals_whenSameValues_returnsTrueAndSameHashCode() 143 assertThat(immutableBox.hashCode()).isEqualTo(other.hashCode()) in equals_whenSameValuesOutOfOrder_returnsTrueAndSameHashCode()
|
| D | ImmutableSegmentTest.kt | 32 assertThat(segment.hashCode()).isEqualTo(segment.hashCode()) in equals_whenSameInstance_returnsTrueAndSameHashCode() 49 assertThat(segment.hashCode()).isEqualTo(other.hashCode()) in equals_whenSameValues_returnsTrueAndSameHashCode()
|
| D | MutableSegmentTest.kt | 52 assertThat(segment.hashCode()).isEqualTo(segment.hashCode()) in equals_whenSameInstance_returnsTrueAndSameHashCode() 69 assertThat(segment.hashCode()).isEqualTo(other.hashCode()) in equals_whenSameValues_returnsTrueAndSameHashCode()
|
| D | ImmutableVecTest.kt | 33 assertThat(vec.hashCode()).isEqualTo(vec.hashCode()) in equals_whenSameInstance_returnsTrueAndSameHashCode() 57 assertThat(vec.hashCode()).isEqualTo(other.hashCode()) in equals_whenSameValues_returnsTrueAndSameHashCode()
|
| D | ImmutableParallelogramTest.kt | 121 assertThat(parallelogram.hashCode()).isEqualTo(parallelogram.hashCode()) in equals_whenSameInstance_returnsTrueAndSameHashCode() 144 assertThat(parallelogram.hashCode()).isEqualTo(other.hashCode()) in equals_whenSameValues_returnsTrueAndSameHashCode()
|
| /ink/ink-strokes/src/jvmAndroidTest/kotlin/androidx/ink/strokes/ |
| D | StrokeInputTest.kt | 116 assertThat(input1.hashCode()).isEqualTo(input1.hashCode()) in equals_whenSame_shouldReturnTrueAndHaveSameHashCode() 117 assertThat(input2.hashCode()).isEqualTo(input2.hashCode()) in equals_whenSame_shouldReturnTrueAndHaveSameHashCode() 120 assertThat(input1.hashCode()).isEqualTo(input2.hashCode()) in equals_whenSame_shouldReturnTrueAndHaveSameHashCode()
|