Android APIs
public class

FieldPacker

extends Object
java.lang.Object
   ↳ android.support.v8.renderscript.FieldPacker

Class Overview

Utility class for packing arguments and structures from Android system objects to RenderScript objects. This class is only intended to be used to support the reflected code generated by the RS tool chain. It should not be called directly.

Summary

Public Constructors
FieldPacker(int len)
FieldPacker(byte[] data)
Public Methods
void addBoolean(boolean v)
void addF32(Float2 v)
void addF32(float v)
void addF32(Float4 v)
void addF32(Float3 v)
void addF64(Double4 v)
void addF64(Double3 v)
void addF64(double v)
void addF64(Double2 v)
void addI16(Short3 v)
void addI16(short v)
void addI16(Short2 v)
void addI16(Short4 v)
void addI32(Int3 v)
void addI32(Int2 v)
void addI32(int v)
void addI32(Int4 v)
void addI64(Long3 v)
void addI64(long v)
void addI64(Long2 v)
void addI64(Long4 v)
void addI8(byte v)
void addI8(Byte3 v)
void addI8(Byte4 v)
void addI8(Byte2 v)
void addMatrix(Matrix4f v)
void addMatrix(Matrix3f v)
void addMatrix(Matrix2f v)
void addObj(BaseObj obj)
void addU16(Int4 v)
void addU16(int v)
void addU16(Int3 v)
void addU16(Int2 v)
void addU32(Long4 v)
void addU32(Long2 v)
void addU32(Long3 v)
void addU32(long v)
void addU64(Long3 v)
void addU64(long v)
void addU64(Long2 v)
void addU64(Long4 v)
void addU8(Short4 v)
void addU8(short v)
void addU8(Short2 v)
void addU8(Short3 v)
void align(int v)
final byte[] getData()
void reset(int i)
void reset()
void skip(int i)
boolean subBoolean()
Byte2 subByte2()
Byte3 subByte3()
Byte4 subByte4()
Double2 subDouble2()
Double3 subDouble3()
Double4 subDouble4()
float subF32()
double subF64()
Float2 subFloat2()
Float3 subFloat3()
Float4 subFloat4()
short subI16()
int subI32()
long subI64()
byte subI8()
Int2 subInt2()
Int3 subInt3()
Int4 subInt4()
Long2 subLong2()
Long3 subLong3()
Long4 subLong4()
Matrix2f subMatrix2f()
Matrix3f subMatrix3f()
Matrix4f subMatrix4f()
Short2 subShort2()
Short3 subShort3()
Short4 subShort4()
void subalign(int v)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FieldPacker (int len)

public FieldPacker (byte[] data)

Public Methods

public void addBoolean (boolean v)

public void addF32 (Float2 v)

public void addF32 (float v)

public void addF32 (Float4 v)

public void addF32 (Float3 v)

public void addF64 (Double4 v)

public void addF64 (Double3 v)

public void addF64 (double v)

public void addF64 (Double2 v)

public void addI16 (Short3 v)

public void addI16 (short v)

public void addI16 (Short2 v)

public void addI16 (Short4 v)

public void addI32 (Int3 v)

public void addI32 (Int2 v)

public void addI32 (int v)

public void addI32 (Int4 v)

public void addI64 (Long3 v)

public void addI64 (long v)

public void addI64 (Long2 v)

public void addI64 (Long4 v)

public void addI8 (byte v)

public void addI8 (Byte3 v)

public void addI8 (Byte4 v)

public void addI8 (Byte2 v)

public void addMatrix (Matrix4f v)

public void addMatrix (Matrix3f v)

public void addMatrix (Matrix2f v)

public void addObj (BaseObj obj)

public void addU16 (Int4 v)

public void addU16 (int v)

public void addU16 (Int3 v)

public void addU16 (Int2 v)

public void addU32 (Long4 v)

public void addU32 (Long2 v)

public void addU32 (Long3 v)

public void addU32 (long v)

public void addU64 (Long3 v)

public void addU64 (long v)

public void addU64 (Long2 v)

public void addU64 (Long4 v)

public void addU8 (Short4 v)

public void addU8 (short v)

public void addU8 (Short2 v)

public void addU8 (Short3 v)

public void align (int v)

public final byte[] getData ()

public void reset (int i)

public void reset ()

public void skip (int i)

public boolean subBoolean ()

public Byte2 subByte2 ()

public Byte3 subByte3 ()

public Byte4 subByte4 ()

public Double2 subDouble2 ()

public Double3 subDouble3 ()

public Double4 subDouble4 ()

public float subF32 ()

public double subF64 ()

public Float2 subFloat2 ()

public Float3 subFloat3 ()

public Float4 subFloat4 ()

public short subI16 ()

public int subI32 ()

public long subI64 ()

public byte subI8 ()

public Int2 subInt2 ()

public Int3 subInt3 ()

public Int4 subInt4 ()

public Long2 subLong2 ()

public Long3 subLong3 ()

public Long4 subLong4 ()

public Matrix2f subMatrix2f ()

public Matrix3f subMatrix3f ()

public Matrix4f subMatrix4f ()

public Short2 subShort2 ()

public Short3 subShort3 ()

public Short4 subShort4 ()

public void subalign (int v)