Lines Matching refs:Allocation
26 import android.renderscript.Allocation;
43 private Allocation mOutPixelsAllocation;
46 TextureViewUpdater(Allocation outAlloc, Sampler sampler) {
76 private Allocation mTwoByTwoAlloc;
77 private Allocation mCityAlloc;
98 mTwoByTwoAlloc = Allocation.createFromBitmap(mRS, mBitmapTwoByTwo,
99 Allocation.MipmapControl.MIPMAP_NONE,
100 Allocation.USAGE_SCRIPT);
102 mCityAlloc = Allocation.createFromBitmap(mRS, mBitmapCity,
103 Allocation.MipmapControl.MIPMAP_NONE,
104 Allocation.USAGE_SCRIPT);
108 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_OUTPUT;
114 Allocation outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
120 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
126 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
132 outAlloc = Allocation.createTyped(mRS, b.setX(outX).setY(outY).create(), usage);
151 private synchronized void filterAlloc(Allocation alloc, Sampler sampler) {