public class

FieldPacker

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

Class Overview

Utility class for packing arguments and structures from Android system objects to Renderscript objects.

Summary

Public Constructors
FieldPacker(int len)
Public Methods
void addBoolean(boolean v)
void addF32(Float4 v)
void addF32(float v)
void addF32(Float3 v)
void addF32(Float2 v)
void addF64(Double3 v)
void addF64(double v)
void addF64(Double2 v)
void addF64(Double4 v)
void addI16(Short3 v)
void addI16(Short2 v)
void addI16(short v)
void addI16(Short4 v)
void addI32(Int2 v)
void addI32(Int3 v)
void addI32(int v)
void addI32(Int4 v)
void addI64(long v)
void addI64(Long4 v)
void addI64(Long3 v)
void addI64(Long2 v)
void addI8(byte v)
void addI8(Byte2 v)
void addI8(Byte3 v)
void addI8(Byte4 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(Long4 v)
void addU64(Long2 v)
void addU8(Short4 v)
void addU8(short v)
void addU8(Short3 v)
void addU8(Short2 v)
void align(int v)
final byte[] getData()
void reset(int i)
void reset()
void skip(int i)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FieldPacker (int len)

Since: API Level 11

Public Methods

public void addBoolean (boolean v)

Since: API Level 11

public void addF32 (Float4 v)

Since: API Level 11

public void addF32 (float v)

Since: API Level 11

public void addF32 (Float3 v)

Since: API Level 11

public void addF32 (Float2 v)

Since: API Level 11

public void addF64 (Double3 v)

Since: API Level 14

public void addF64 (double v)

Since: API Level 11

public void addF64 (Double2 v)

Since: API Level 14

public void addF64 (Double4 v)

Since: API Level 14

public void addI16 (Short3 v)

Since: API Level 11

public void addI16 (Short2 v)

Since: API Level 11

public void addI16 (short v)

Since: API Level 11

public void addI16 (Short4 v)

Since: API Level 11

public void addI32 (Int2 v)

Since: API Level 11

public void addI32 (Int3 v)

Since: API Level 11

public void addI32 (int v)

Since: API Level 11

public void addI32 (Int4 v)

Since: API Level 11

public void addI64 (long v)

Since: API Level 11

public void addI64 (Long4 v)

Since: API Level 14

public void addI64 (Long3 v)

Since: API Level 14

public void addI64 (Long2 v)

Since: API Level 14

public void addI8 (byte v)

Since: API Level 11

public void addI8 (Byte2 v)

Since: API Level 11

public void addI8 (Byte3 v)

Since: API Level 11

public void addI8 (Byte4 v)

Since: API Level 11

public void addMatrix (Matrix4f v)

Since: API Level 11

public void addMatrix (Matrix3f v)

Since: API Level 11

public void addMatrix (Matrix2f v)

Since: API Level 11

public void addObj (BaseObj obj)

Since: API Level 11

public void addU16 (Int4 v)

Since: API Level 11

public void addU16 (int v)

Since: API Level 11

public void addU16 (Int3 v)

Since: API Level 11

public void addU16 (Int2 v)

Since: API Level 11

public void addU32 (Long4 v)

Since: API Level 11

public void addU32 (Long2 v)

Since: API Level 11

public void addU32 (Long3 v)

Since: API Level 11

public void addU32 (long v)

Since: API Level 11

public void addU64 (Long3 v)

Since: API Level 14

public void addU64 (long v)

Since: API Level 11

public void addU64 (Long4 v)

Since: API Level 14

public void addU64 (Long2 v)

Since: API Level 14

public void addU8 (Short4 v)

Since: API Level 11

public void addU8 (short v)

Since: API Level 11

public void addU8 (Short3 v)

Since: API Level 11

public void addU8 (Short2 v)

Since: API Level 11

public void align (int v)

Since: API Level 11

public final byte[] getData ()

Since: API Level 11

public void reset (int i)

Since: API Level 11

public void reset ()

Since: API Level 11

public void skip (int i)

Since: API Level 11