to top
Android APIs
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

? Examples
FieldPacker(int len)
Public Methods

? Examples
void addBoolean(boolean v)

? Examples
void addF32( Float4 v)

? Examples
void addF32(float v)

? Examples
void addF32( Float3 v)

? Examples
void addF32( Float2 v)

? Examples
void addF64( Double3 v)

? Examples
void addF64(double v)

? Examples
void addF64( Double2 v)

? Examples
void addF64( Double4 v)

? Examples
void addI16( Short3 v)

? Examples
void addI16( Short2 v)

? Examples
void addI16(short v)

? Examples
void addI16( Short4 v)

? Examples
void addI32( Int2 v)

? Examples
void addI32( Int3 v)

? Examples
void addI32(int v)

? Examples
void addI32( Int4 v)

? Examples
void addI64(long v)

? Examples
void addI64( Long4 v)

? Examples
void addI64( Long3 v)

? Examples
void addI64( Long2 v)

? Examples
void addI8(byte v)

? Examples
void addI8( Byte2 v)

? Examples
void addI8( Byte3 v)

? Examples
void addI8( Byte4 v)

? Examples
void addMatrix( Matrix4f v)

? Examples
void addMatrix( Matrix3f v)

? Examples
void addMatrix( Matrix2f v)

? Examples
void addObj( BaseObj obj)

? Examples
void addU16( Int4 v)

? Examples
void addU16(int v)

? Examples
void addU16( Int3 v)

? Examples
void addU16( Int2 v)

? Examples
void addU32( Long4 v)

? Examples
void addU32( Long2 v)

? Examples
void addU32( Long3 v)

? Examples
void addU32(long v)

? Examples
void addU64( Long3 v)

? Examples
void addU64(long v)

? Examples
void addU64( Long4 v)

? Examples
void addU64( Long2 v)

? Examples
void addU8( Short4 v)

? Examples
void addU8(short v)

? Examples
void addU8( Short3 v)

? Examples
void addU8( Short2 v)

? Examples
void align(int v)

? Examples
final byte[] getData()

? Examples
void reset(int i)

? Examples
void reset()

? Examples
void skip(int i)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FieldPacker (int len)

Added in API level 11

Public Methods

public void addBoolean (boolean v)

Added in API level 11

public void addF32 (Float4 v)

Added in API level 11

public void addF32 (float v)

Added in API level 11

public void addF32 (Float3 v)

Added in API level 11

public void addF32 (Float2 v)

Added in API level 11

public void addF64 (Double3 v)

Added in API level 14

public void addF64 (double v)

Added in API level 11

public void addF64 (Double2 v)

Added in API level 14

public void addF64 (Double4 v)

Added in API level 14

public void addI16 (Short3 v)

Added in API level 11

public void addI16 (Short2 v)

Added in API level 11

public void addI16 (short v)

Added in API level 11

public void addI16 (Short4 v)

Added in API level 11

public void addI32 (Int2 v)

Added in API level 11

public void addI32 (Int3 v)

Added in API level 11

public void addI32 (int v)

Added in API level 11

public void addI32 (Int4 v)

Added in API level 11

public void addI64 (long v)

Added in API level 11

public void addI64 (Long4 v)

Added in API level 14

public void addI64 (Long3 v)

Added in API level 14

public void addI64 (Long2 v)

Added in API level 14

public void addI8 (byte v)

Added in API level 11

public void addI8 (Byte2 v)

Added in API level 11

public void addI8 (Byte3 v)

Added in API level 11

public void addI8 (Byte4 v)

Added in API level 11

public void addMatrix (Matrix4f v)

Added in API level 11

public void addMatrix (Matrix3f v)

Added in API level 11

public void addMatrix (Matrix2f v)

Added in API level 11

public void addObj (BaseObj obj)

Added in API level 11

public void addU16 (Int4 v)

Added in API level 11

public void addU16 (int v)

Added in API level 11

public void addU16 (Int3 v)

Added in API level 11

public void addU16 (Int2 v)

Added in API level 11

public void addU32 (Long4 v)

Added in API level 11

public void addU32 (Long2 v)

Added in API level 11

public void addU32 (Long3 v)

Added in API level 11

public void addU32 (long v)

Added in API level 11

public void addU64 (Long3 v)

Added in API level 14

public void addU64 (long v)

Added in API level 11

public void addU64 (Long4 v)

Added in API level 14

public void addU64 (Long2 v)

Added in API level 14

public void addU8 (Short4 v)

Added in API level 11

public void addU8 (short v)

Added in API level 11

public void addU8 (Short3 v)

Added in API level 11

public void addU8 (Short2 v)

Added in API level 11

public void align (int v)

Added in API level 11

public final byte[] getData ()

Added in API level 11

public void reset (int i)

Added in API level 11

public void reset ()

Added in API level 11

public void skip (int i)

Added in API level 11

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.