Lines Matching refs:mRS

25     private RenderScript mRS;
111 mRS = RenderScript.create(this,
116 mScript = new ScriptC_allocs(mRS);
120 Type.Builder typeI8Builder = new Type.Builder(mRS, Element.I8(mRS));
125 mCharAllocation = Allocation.createTyped(mRS, typeI8Builder.create());
126 mRS.finish();
127 mChar2Allocation = Allocation.createSized(mRS, Element.I8_2(mRS), mAllocSize / 2);
128 mRS.finish();
129 mChar3Allocation = Allocation.createSized(mRS, Element.I8_3(mRS), mAllocSize / 4);
130 mRS.finish();
131 mChar4Allocation = Allocation.createSized(mRS, Element.I8_4(mRS), mAllocSize / 4);
132 mRS.finish();
134 Type.Builder typeI16_2Builder = new Type.Builder(mRS, Element.I16_2(mRS));
139 mShortAllocation = Allocation.createSized(mRS, Element.I16(mRS), mAllocSize);
140 mRS.finish();
141 mShort2Allocation = Allocation.createTyped(mRS, typeI16_2Builder.create());
142 mRS.finish();
143 mShort3Allocation = Allocation.createSized(mRS, Element.I16_3(mRS), mAllocSize / 4);
144 mRS.finish();
145 mShort4Allocation = Allocation.createSized(mRS, Element.I16_4(mRS), mAllocSize / 4);
146 mRS.finish();
148 Type.Builder typeI32_3Builder = new Type.Builder(mRS, Element.I32_3(mRS));
152 mIntAllocation = Allocation.createSized(mRS, Element.I32(mRS), mAllocSize);
153 mRS.finish();
154 mInt2Allocation = Allocation.createSized(mRS, Element.I32_2(mRS), mAllocSize / 2);
155 mRS.finish();
156 mInt3Allocation = Allocation.createTyped(mRS, typeI32_3Builder.create());
157 mRS.finish();
158 mInt4Allocation = Allocation.createSized(mRS, Element.I32_4(mRS), mAllocSize / 4);
159 mRS.finish();
161 Type.Builder typeI64_4Builder = new Type.Builder(mRS, Element.I64_4(mRS));
165 mLongAllocation = Allocation.createSized(mRS, Element.I64(mRS), mAllocSize);
166 mRS.finish();
167 mLong2Allocation = Allocation.createSized(mRS, Element.I64_2(mRS), mAllocSize / 2);
168 mRS.finish();
169 mLong3Allocation = Allocation.createSized(mRS, Element.I64_3(mRS), mAllocSize / 4);
170 mRS.finish();
171 mLong4Allocation = Allocation.createTyped(mRS, typeI64_4Builder.create());
172 mRS.finish();
174 mBoolAllocation = Allocation.createSized(mRS, Element.BOOLEAN(mRS), mAllocSize);
175 mRS.finish();
217 Type.Builder typeU8_2Builder = new Type.Builder(mRS, Element.U8_2(mRS));
221 mUCharAllocation = Allocation.createSized(mRS, Element.U8(mRS), mAllocSize);
222 mRS.finish();
223 mUChar2Allocation = Allocation.createTyped(mRS, typeU8_2Builder.create());
224 mRS.finish();
225 mUChar3Allocation = Allocation.createSized(mRS, Element.U8_3(mRS), mAllocSize / 4);
226 mRS.finish();
227 mUChar4Allocation = Allocation.createSized(mRS, Element.U8_4(mRS), mAllocSize / 4);
228 mRS.finish();
230 Type.Builder typeU16_3Builder = new Type.Builder(mRS, Element.U16_3(mRS));
234 mUShortAllocation = Allocation.createSized(mRS, Element.U16(mRS), mAllocSize);
235 mRS.finish();
236 mUShort2Allocation = Allocation.createSized(mRS, Element.U16_2(mRS), mAllocSize / 2);
237 mRS.finish();
238 mUShort3Allocation = Allocation.createTyped(mRS, typeU16_3Builder.create());
239 mRS.finish();
240 mUShort4Allocation = Allocation.createSized(mRS, Element.U16_4(mRS), mAllocSize / 4);
241 mRS.finish();
243 Type.Builder typeU32_4Builder = new Type.Builder(mRS, Element.U32_4(mRS));
248 mUIntAllocation = Allocation.createSized(mRS, Element.U32(mRS), mAllocSize);
249 mRS.finish();
250 mUInt2Allocation = Allocation.createSized(mRS, Element.U32_2(mRS), mAllocSize / 2);
251 mRS.finish();
252 mUInt3Allocation = Allocation.createSized(mRS, Element.U32_3(mRS), mAllocSize / 4);
253 mRS.finish();
254 mUInt4Allocation = Allocation.createTyped(mRS, typeU32_4Builder.create());
255 mRS.finish();
257 Type.Builder typeU64Builder = new Type.Builder(mRS, Element.U64(mRS));
262 mULongAllocation = Allocation.createTyped(mRS, typeU64Builder.create());
263 mRS.finish();
264 mULong2Allocation = Allocation.createSized(mRS, Element.U64_2(mRS), mAllocSize / 2);
265 mRS.finish();
266 mULong3Allocation = Allocation.createSized(mRS, Element.U64_3(mRS), mAllocSize / 4);
267 mRS.finish();
268 mULong4Allocation = Allocation.createSized(mRS, Element.U64_4(mRS), mAllocSize / 4);
269 mRS.finish();
307 Type.Builder typeF16_3Builder = new Type.Builder(mRS, Element.F16_3(mRS));
311 mHalfAllocation = Allocation.createSized(mRS, Element.F16(mRS), mAllocSize);
312 mRS.finish();
313 mHalf2Allocation = Allocation.createSized(mRS, Element.F16_2(mRS), mAllocSize / 2);
314 mRS.finish();
315 mHalf3Allocation = Allocation.createTyped(mRS, typeF16_3Builder.create());
316 mRS.finish();
317 mHalf4Allocation = Allocation.createSized(mRS, Element.F16_4(mRS), mAllocSize / 4);
318 mRS.finish();
320 Type.Builder typeF32_4Builder = new Type.Builder(mRS, Element.F32_4(mRS));
324 mFloatAllocation = Allocation.createSized(mRS, Element.F32(mRS), mAllocSize);
325 mRS.finish();
326 mFloat2Allocation = Allocation.createSized(mRS, Element.F32_2(mRS), mAllocSize / 2);
327 mRS.finish();
328 mFloat3Allocation = Allocation.createSized(mRS, Element.F32_3(mRS), mAllocSize / 4);
329 mRS.finish();
330 mFloat4Allocation = Allocation.createTyped(mRS, typeF32_4Builder.create());
331 mRS.finish();
333 Type.Builder typeF64_2Builder = new Type.Builder(mRS, Element.F64_2(mRS));
338 mDoubleAllocation = Allocation.createSized(mRS, Element.F64(mRS), mAllocSize);
339 mRS.finish();
340 mDouble2Allocation = Allocation.createTyped(mRS, typeF64_2Builder.create());
341 mRS.finish();
343 Type.Builder typeF64_3Builder = new Type.Builder(mRS, Element.F64_3(mRS));
348 Type.Builder typeF64_4Builder = new Type.Builder(mRS, Element.F64_4(mRS));
353 mDouble3Allocation = Allocation.createTyped(mRS, typeF64_3Builder.create());
354 mRS.finish();
355 mDouble4Allocation = Allocation.createTyped(mRS, typeF64_4Builder.create());
356 mRS.finish();
394 complex_struct = new ScriptField_complexStruct(mRS, mAllocSize);
395 mRS.finish();
397 mRS.finish();
399 mRS.finish();
401 complex_struct = new ScriptField_complexStruct(mRS, mAllocSize);
402 mRS.finish();
404 mRS.finish();
406 mRS.finish();
424 mInAllocation = Allocation.createFromBitmap(mRS, mBitmapIn);
425 mRS.finish();
426 mOutAllocation = Allocation.createFromBitmap(mRS, mBitmapOut);
427 mRS.finish();
433 mRS.finish();
435 mRS.finish();
440 mRS.finish();
442 mRS.finish();
444 mRS.finish();
446 mRS.finish();
449 mRS.finish();
451 mRS.finish();
453 mRS.finish();
456 mRS.finish();
458 mRS.finish();
460 mRS.finish();
462 mRS.finish();
465 mRS.finish();
467 mRS.finish();
469 mRS.finish();
471 mRS.finish();
474 mRS.finish();
482 mRS.finish();
484 mRS.finish();
487 mRS.finish();
489 mRS.finish();
491 mRS.finish();
493 mRS.finish();
496 mRS.finish();
498 mRS.finish();
500 mRS.finish();
502 mRS.finish();
505 mRS.finish();
507 mRS.finish();
509 mRS.finish();
512 mRS.finish();
514 mRS.finish();
516 mRS.finish();
518 mRS.finish();
524 mRS.finish();
526 mRS.finish();
529 mRS.finish();
531 mRS.finish();
533 mRS.finish();
535 mRS.finish();
538 mRS.finish();
540 mRS.finish();
542 mRS.finish();
548 mRS.finish();
550 mRS.finish();