Searched refs:mAllocation (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DFatVector.h57 : mAllocation(allocation) {}
59 : mAllocation(other.mAllocation) {}
63 if (!mAllocation.inUse && num <= SIZE) {
64 mAllocation.inUse = true;
65 return (T*) mAllocation.array;
72 if (p == (T*)mAllocation.array) {
73 mAllocation.inUse = false;
79 Allocation& mAllocation; member in class:android::uirenderer::InlineStdAllocator
92 InlineStdAllocator<T, SIZE>(mAllocation)) {
101 typename InlineStdAllocator<T, SIZE>::Allocation mAllocation; member in class:android::uirenderer::FatVector
[all...]
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptField_MyStruct.java.expect74 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
92 obj.mAllocation = Allocation.createTyped(rs, t, usages);
107 obj.mAllocation = Allocation.createTyped(rs, t, usages);
130 mAllocation.setFromFieldPacker(index, fp);
150 mAllocation.setFromFieldPacker(index, 0, fp);
165 mAllocation.setFromFieldPacker(index, 2, fp);
182 mAllocation.setFromFieldPacker(0, mIOBuffer);
195 mAllocation.resize(newSize);
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptField_MyStruct.java.expect74 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
92 obj.mAllocation = Allocation.createTyped(rs, t, usages);
107 obj.mAllocation = Allocation.createTyped(rs, t, usages);
130 mAllocation.setFromFieldPacker(index, fp);
150 mAllocation.setFromFieldPacker(index, 0, fp);
165 mAllocation.setFromFieldPacker(index, 2, fp);
182 mAllocation.setFromFieldPacker(0, mIOBuffer);
195 mAllocation.resize(newSize);
/frameworks/compile/slang/tests/P_reduce_general_result/
H A DScriptField_MyStruct.java.expect74 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
92 obj.mAllocation = Allocation.createTyped(rs, t, usages);
107 obj.mAllocation = Allocation.createTyped(rs, t, usages);
130 mAllocation.setFromFieldPacker(index, fp);
150 mAllocation.setFromFieldPacker(index, 0, fp);
165 mAllocation.setFromFieldPacker(index, 2, fp);
182 mAllocation.setFromFieldPacker(0, mIOBuffer);
195 mAllocation.resize(newSize);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/d1new/
H A DRefocusFilterd1new.java81 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
82 scriptC.forEach_PackSharpImage(mAllocation);
84 mAllocation.copyTo(mBitmap);
94 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
95 scriptC.forEach_PackFuzzyImage(mAllocation);
97 mAllocation.copyTo(mBitmap);
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/f32/
H A DRefocusFilterF32.java79 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
80 scriptC.forEach_PackSharpImage(mAllocation);
82 mAllocation.copyTo(mBitmap);
92 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
93 scriptC.forEach_PackFuzzyImage(mAllocation);
95 mAllocation.copyTo(mBitmap);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DBackingStore.java799 private Allocation mAllocation = null; field in class:BackingStore.AllocationBacking
823 mAllocation = Allocation.createTyped(mRenderScript, imageType);
848 mAllocation.copyFrom(pixels.array());
851 mAllocation.copyFrom(bitmap);
866 mAllocation.copyFromUnchecked(bytes);
876 return mAllocation;
895 if (mAllocation != null) {
896 mAllocation.destroy();
897 mAllocation = null;
/frameworks/rs/cpp/
H A DScript.cpp57 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DrsCppStructs.h1735 sp<Allocation> mAllocation; member in class:android::RSC::Script::FieldBase
1745 return mAllocation->getType();
1749 return mAllocation;
/frameworks/base/rs/java/android/renderscript/
H A DScript.java494 protected Allocation mAllocation; field in class:Script.FieldBase
497 mAllocation = Allocation.createSized(rs, mElement, dimx,
502 mAllocation =
515 return mAllocation.getType();
519 return mAllocation;
H A DScriptGroup.java48 Allocation mAllocation; field in class:ScriptGroup.IO
486 mInputs[ct].mAllocation = a;
508 mOutputs[ct].mAllocation = a;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java536 protected Allocation mAllocation; field in class:Script.FieldBase
539 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
543 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
554 return mAllocation.getType();
558 return mAllocation;
H A DScriptGroup.java55 Allocation mAllocation; field in class:ScriptGroup.IO
79 Allocation mAllocation; field in class:ScriptGroup.ConnectLine
483 mInputs[ct].mAllocation = a;
508 mOutputs[ct].mAllocation = a;
539 if (l.mAllocation !=null) {
548 l.mAllocation = alloc;
551 n.mOutputs.get(ct3).mAllocation = alloc;
563 ain = nodeInput.mAllocation;
569 ain = sgInput.mAllocation;
575 aout = nodeOutput.mAllocation;
[all...]

Completed in 501 milliseconds