added in API level 11

Short2

public class Short2
extends Object

java.lang.Object
   ↳ android.renderscript.Short2


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