Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# Double4\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 31](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDouble4\n=======\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/renderscript/Double4 \"View this page in Java\") \n\n```\nopen class Double4\n```\n\n|---|-----------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.renderscript.Double4](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 31.**\n|\n| Renderscript has been deprecated in API level 31. Please refer to the [migration guide](https://developer.android.com/guide/topics/renderscript/migration-guide) for the proposed alternatives.\n\nVector version of the basic double type. Provides four double fields packed.\n\nSummary\n-------\n\n| Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [Double4](#Double4())`()` \u003cbr /\u003e |\n| [Double4](#Double4(kotlin.Double,%20kotlin.Double,%20kotlin.Double,%20kotlin.Double))`(`x:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `y:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `z:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`, `w:` `[Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)`)` \u003cbr /\u003e |\n\n| Properties ||\n|----------------------------------------------------------------------------------|------------------------------|\n| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [w](#w:kotlin.Double) \u003cbr /\u003e |\n| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [x](#x:kotlin.Double) \u003cbr /\u003e |\n| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [y](#y:kotlin.Double) \u003cbr /\u003e |\n| [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html) | [z](#z:kotlin.Double) \u003cbr /\u003e |\n\nPublic constructors\n-------------------\n\n### Double4\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nDouble4()\n``` \n\n### Double4\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nDouble4(\n x: Double, \n y: Double, \n z: Double, \n w: Double)\n```\n\nProperties\n----------\n\n### w\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar w: Double\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### x\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar x: Double\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### y\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar y: Double\n```\n\n**Deprecated:** *Deprecated in Java.* \n\n### z\n\nAdded in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nvar z: Double\n```\n\n**Deprecated:** *Deprecated in Java.*"]]