| /xr/runtime/runtime/src/test/kotlin/androidx/xr/runtime/math/ |
| D | Vector2Test.kt | 28 val underTest = Vector2() in constructor_noArguments_returnsZeroVector() 36 val underTest = Vector2(1f, 2f) in equals_sameValues_returnsTrue() 37 val underTest2 = Vector2(1f, 2f) in equals_sameValues_returnsTrue() 44 val underTest = Vector2(1f, 2f) in equals_differentValues_returnsFalse() 45 val underTest2 = Vector2(9f, 10f) in equals_differentValues_returnsFalse() 54 val underTest = Vector2(1f, 2f) in hashCodeEquals_sameValues_returnsTrue() 55 val underTest2 = Vector2(1f, 2f) in hashCodeEquals_sameValues_returnsTrue() 62 val underTest = Vector2(1f, 2f) in hashCodeEquals_differentValues_returnsFalse() 63 val underTest2 = Vector2(9f, 10f) in hashCodeEquals_differentValues_returnsFalse() 64 val underTest3 = Vector2() in hashCodeEquals_differentValues_returnsFalse() [all …]
|
| D | Vector3Test.kt | 45 val underTest3 = Vector2() in equals_differentValues_returnsFalse()
|
| D | QuaternionTest.kt | 49 val underTest3 = Vector2() in equals_differentValues_returnsFalse()
|
| /xr/runtime/runtime/src/main/kotlin/androidx/xr/runtime/math/ |
| D | Vector2.kt | 33 public class Vector2 @JvmOverloads constructor(public val x: Float = 0F, public val y: Float = 0F) { class 43 public constructor(other: Vector2) : this(other.x, other.y) 46 public inline operator fun unaryMinus(): Vector2 = Vector2(-x, -y) in unaryMinus() 49 public operator fun plus(other: Vector2): Vector2 = Vector2(this.x + other.x, this.y + other.y) in unaryMinus() 52 public inline operator fun minus(other: Vector2): Vector2 = in unaryMinus() 53 Vector2(this.x - other.x, this.y - other.y) in unaryMinus() 56 public inline operator fun times(c: Float): Vector2 = Vector2(x * c, y * c) in unaryMinus() 59 public inline operator fun times(other: Vector2): Vector2 = in unaryMinus() 60 Vector2(this.x * other.x, this.y * other.y) in unaryMinus() 63 public inline operator fun div(c: Float): Vector2 = Vector2(x / c, y / c) in unaryMinus() [all …]
|
| /xr/runtime/runtime-openxr/src/main/kotlin/androidx/xr/runtime/openxr/ |
| D | PlaneState.kt | 22 import androidx.xr.runtime.math.Vector2 40 val extents: Vector2 = Vector2.Zero, 41 val vertices: Array<Vector2> = emptyArray(),
|
| D | OpenXrPlane.kt | 25 import androidx.xr.runtime.math.Vector2 42 override var vertices: List<Vector2> = emptyList() 45 override var extents: Vector2 = Vector2.Zero
|
| /xr/runtime/runtime-testing/src/main/kotlin/androidx/xr/runtime/testing/ |
| D | FakeRuntimePlane.kt | 24 import androidx.xr.runtime.math.Vector2 33 override var extents: Vector2 = Vector2.Zero, 34 override var vertices: List<Vector2> = emptyList(),
|
| /xr/runtime/runtime/src/main/kotlin/androidx/xr/runtime/internal/ |
| D | Plane.kt | 21 import androidx.xr.runtime.math.Vector2 36 public val extents: Vector2 44 public val vertices: List<Vector2>
|
| /xr/runtime/runtime/api/ |
| D | current.txt | 317 public final class Vector2 { 318 ctor public Vector2(); 319 ctor public Vector2(androidx.xr.runtime.math.Vector2 other); 320 ctor public Vector2(optional float x); 321 ctor public Vector2(optional float x, optional float y); 322 …method public static androidx.xr.runtime.math.Vector2 abs(androidx.xr.runtime.math.Vector2 vector); 323 …atic float angularDistance(androidx.xr.runtime.math.Vector2 vector1, androidx.xr.runtime.math.Vect… 324 …d public androidx.xr.runtime.math.Vector2 clamp(androidx.xr.runtime.math.Vector2 min, androidx.xr.… 325 method public inline androidx.xr.runtime.math.Vector2 copy(); 326 method public inline androidx.xr.runtime.math.Vector2 copy(optional float x); [all …]
|
| D | restricted_current.txt | 840 method public androidx.xr.runtime.math.Vector2 getExtents(); 844 method public java.util.List<androidx.xr.runtime.math.Vector2> getVertices(); 846 property public abstract androidx.xr.runtime.math.Vector2 extents; 850 property public abstract java.util.List<androidx.xr.runtime.math.Vector2> vertices; 1646 public final class Vector2 { 1647 ctor public Vector2(); 1648 ctor public Vector2(androidx.xr.runtime.math.Vector2 other); 1649 ctor public Vector2(optional float x); 1650 ctor public Vector2(optional float x, optional float y); 1651 …method public static androidx.xr.runtime.math.Vector2 abs(androidx.xr.runtime.math.Vector2 vector); [all …]
|
| /xr/runtime/runtime-openxr/src/androidTest/kotlin/androidx/xr/runtime/openxr/ |
| D | OpenXrPlaneTest.kt | 29 import androidx.xr.runtime.math.Vector2 146 assertThat(underTest.extents).isEqualTo(Vector2(1.0f, 2.0f)) in <lambda>() 160 assertThat(underTest.vertices[0]).isEqualTo(Vector2(2.0f, 0.0f)) in <lambda>() 161 assertThat(underTest.vertices[1]).isEqualTo(Vector2(2.0f, 2.0f)) in <lambda>() 162 assertThat(underTest.vertices[2]).isEqualTo(Vector2(0.0f, 0.0f)) in <lambda>() 163 assertThat(underTest.vertices[3]).isEqualTo(Vector2(0.0f, 2.0f)) in <lambda>()
|
| /xr/arcore/arcore/src/test/kotlin/androidx/xr/arcore/ |
| D | PlaneTest.kt | 31 import androidx.xr.runtime.math.Vector2 in <lambda>() 223 val extents = Vector2(1.0f, 2.0f) in <lambda>() 230 val newExtents = Vector2(3.0f, 4.0f) in <lambda>() 242 val vertices = listOf(Vector2(1.0f, 2.0f), Vector2(3.0f, 4.0f)) in <lambda>() 249 val newVertices = listOf(Vector2(3.0f, 4.0f), Vector2(5.0f, 6.0f)) in <lambda>()
|
| /xr/arcore/arcore/src/main/kotlin/androidx/xr/arcore/ |
| D | Plane.kt | 26 import androidx.xr.runtime.math.Vector2 in <lambda>() 85 public val extents: Vector2, in <lambda>() 87 public val vertices: List<Vector2>, in <lambda>()
|
| /xr/arcore/integration-tests/whitebox/src/main/kotlin/androidx/xr/arcore/apps/whitebox/helloar/rendering/ |
| D | PlaneRenderer.kt | 33 import androidx.xr.runtime.math.Vector2 in <lambda>() 168 private fun convertMetersToPixels(input: Vector2): Vector2 = input * PX_PER_METER in <lambda>()
|
| /xr/arcore/arcore/api/ |
| D | restricted_current.txt | 148 …androidx.xr.runtime.math.Vector2 extents, androidx.xr.arcore.Plane? subsumedBy, java.util.List<and… 150 method public androidx.xr.runtime.math.Vector2 getExtents(); 154 method public java.util.List<androidx.xr.runtime.math.Vector2> getVertices(); 156 property public androidx.xr.runtime.math.Vector2 extents; 160 property public java.util.List<androidx.xr.runtime.math.Vector2> vertices;
|
| /xr/runtime/runtime-openxr/api/ |
| D | restricted_current.txt | 95 method public androidx.xr.runtime.math.Vector2 getExtents(); 100 method public java.util.List<androidx.xr.runtime.math.Vector2> getVertices(); 103 property public androidx.xr.runtime.math.Vector2 extents; 108 property public java.util.List<androidx.xr.runtime.math.Vector2> vertices;
|
| /xr/runtime/runtime-testing/api/ |
| D | restricted_current.txt | 384 …Pose, optional androidx.xr.runtime.math.Vector2 extents, optional java.util.List<androidx.xr.runti… 389 method public androidx.xr.runtime.math.Vector2 getExtents(); 394 method public java.util.List<androidx.xr.runtime.math.Vector2> getVertices(); 397 method public void setExtents(androidx.xr.runtime.math.Vector2); 400 method public void setVertices(java.util.List<androidx.xr.runtime.math.Vector2>); 403 property public androidx.xr.runtime.math.Vector2 extents; 408 property public java.util.List<androidx.xr.runtime.math.Vector2> vertices;
|