Lines Matching refs:Allocation
22 import android.renderscript.Allocation;
36 private Allocation mInputAllocation;
37 private Allocation mOutputAllocation;
49 mInputAllocation = Allocation.createTyped(rs, yuvTypeBuilder.create(),
50 Allocation.USAGE_IO_INPUT | Allocation.USAGE_SCRIPT);
56 mOutputAllocation = Allocation.createTyped(rs, rgbTypeBuilder.create(),
57 Allocation.USAGE_IO_OUTPUT | Allocation.USAGE_SCRIPT);
81 class ProcessingTask implements Runnable, Allocation.OnBufferAvailableListener {
84 private Allocation mInputAllocation;
86 public ProcessingTask(Allocation input) {
92 public void onBufferAvailable(Allocation a) {