[ Web Proxy ]
URL:
Viewing: http://developer.android.com/reference/android/renderscript/Short2 [Back]  [Original]

Short2  |  API reference  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]
Stay organized with collections Save and categorize content based on your preferences.
Added in API level 11
Deprecated in API level 31

Short2


public class Short2
extends Object

java.lang.Object
   ↳ android.renderscript.Short2


This class was deprecated in API level 31.
Renderscript has been deprecated in API level 31. Please refer to the migration guide for the proposed alternatives.

Class for exposing the native RenderScript Short2 type back to the Android system. Vector version of the basic short type. Provides two short fields packed.

Summary

Fields

public short x

public short y

Public constructors

Short2()
Short2(short x, short y)

Inherited methods

Fields

x

Added in API level 11
public short x

y

Added in API level 11
public short y

Public constructors

Short2

Added in API level 11
public Short2 ()

Short2

Added in API level 14
public Short2 (short x, 
                short y)

Parameters
x short

y short

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 2026-08-03 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-03 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page