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

/frameworks/base/libs/hwui/utils/
H A DFatVector.h57 explicit InlineStdAllocator(Allocation& allocation) : mAllocation(allocation) {}
58 InlineStdAllocator(const InlineStdAllocator& other) : mAllocation(other.mAllocation) {}
62 if (!mAllocation.inUse && num <= SIZE) {
63 mAllocation.inUse = true;
64 return (T*)mAllocation.array;
71 if (p == (T*)mAllocation.array) {
72 mAllocation.inUse = false;
78 Allocation& mAllocation; member in class:android::uirenderer::InlineStdAllocator
92 InlineStdAllocator<T, SIZE>(mAllocation)) {
99 typename InlineStdAllocator<T, SIZE>::Allocation mAllocation; member in class:android::uirenderer::FatVector
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
H A DFakeExtensionController.java42 private final Object mAllocation; field in class:FakeExtensionController.FakeExtensionBuilder
45 mAllocation = o;
90 return new FakeExtension(mAllocation);
95 private final Object mAllocation; field in class:FakeExtensionController.FakeExtension
98 mAllocation = allocation;
119 mTracker.getLeakInfo(mAllocation).clearAllocations();
/frameworks/compile/slang/tests/P_reflection3264_divergent/
H A DScriptField_NonDivergent.java.expect76 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
94 obj.mAllocation = Allocation.createTyped(rs, t, usages);
109 obj.mAllocation = Allocation.createTyped(rs, t, usages);
131 mAllocation.setFromFieldPacker(index, fp);
151 mAllocation.setFromFieldPacker(index, 0, fp);
166 mAllocation.setFromFieldPacker(index, 1, fp);
183 mAllocation.setFromFieldPacker(0, mIOBuffer);
196 mAllocation.resize(newSize);
H A DScriptField_Divergent.java.expect86 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
104 obj.mAllocation = Allocation.createTyped(rs, t, usages);
119 obj.mAllocation = Allocation.createTyped(rs, t, usages);
144 mAllocation.setFromFieldPacker(index, fp);
164 mAllocation.setFromFieldPacker(index, 0, fp);
179 mAllocation.setFromFieldPacker(index, sIs64Bit ? 2 : 1, fp);
194 mAllocation.setFromFieldPacker(index, sIs64Bit ? 3 : 2, fp);
216 mAllocation.setFromFieldPacker(0, mIOBuffer);
229 mAllocation.resize(newSize);
H A DScriptField_DivergentNest.java.expect87 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
105 obj.mAllocation = Allocation.createTyped(rs, t, usages);
120 obj.mAllocation = Allocation.createTyped(rs, t, usages);
149 mAllocation.setFromFieldPacker(index, fp);
169 mAllocation.setFromFieldPacker(index, 0, fp);
192 mAllocation.setFromFieldPacker(index, sIs64Bit ? 2 : 1, fp);
207 mAllocation.setFromFieldPacker(index, sIs64Bit ? 3 : 2, fp);
229 mAllocation.setFromFieldPacker(0, mIOBuffer);
242 mAllocation.resize(newSize);
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
H A DScriptField_NonDivergent.java.expect73 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
91 obj.mAllocation = Allocation.createTyped(rs, t, usages);
106 obj.mAllocation = Allocation.createTyped(rs, t, usages);
128 mAllocation.setFromFieldPacker(index, fp);
148 mAllocation.setFromFieldPacker(index, 0, fp);
163 mAllocation.setFromFieldPacker(index, 1, fp);
180 mAllocation.setFromFieldPacker(0, mIOBuffer);
H A DScriptField_Divergent.java.expect83 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
101 obj.mAllocation = Allocation.createTyped(rs, t, usages);
116 obj.mAllocation = Allocation.createTyped(rs, t, usages);
141 mAllocation.setFromFieldPacker(index, fp);
161 mAllocation.setFromFieldPacker(index, 0, fp);
176 mAllocation.setFromFieldPacker(index, (RenderScript.getPointerSize() == 8) ? 2 : 1, fp);
191 mAllocation.setFromFieldPacker(index, (RenderScript.getPointerSize() == 8) ? 3 : 2, fp);
213 mAllocation.setFromFieldPacker(0, mIOBuffer);
H A DScriptField_DivergentNest.java.expect84 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
102 obj.mAllocation = Allocation.createTyped(rs, t, usages);
117 obj.mAllocation = Allocation.createTyped(rs, t, usages);
146 mAllocation.setFromFieldPacker(index, fp);
166 mAllocation.setFromFieldPacker(index, 0, fp);
189 mAllocation.setFromFieldPacker(index, (RenderScript.getPointerSize() == 8) ? 2 : 1, fp);
204 mAllocation.setFromFieldPacker(index, (RenderScript.getPointerSize() == 8) ? 3 : 2, fp);
226 mAllocation.setFromFieldPacker(0, mIOBuffer);
/frameworks/compile/slang/tests/P_struct_field/
H A DScriptField_InnerOne.java.expect78 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
96 obj.mAllocation = Allocation.createTyped(rs, t, usages);
111 obj.mAllocation = Allocation.createTyped(rs, t, usages);
134 mAllocation.setFromFieldPacker(index, fp);
154 mAllocation.setFromFieldPacker(index, 0, fp);
169 mAllocation.setFromFieldPacker(index, 1, fp);
184 mAllocation.setFromFieldPacker(index, 2, fp);
206 mAllocation.setFromFieldPacker(0, mIOBuffer);
219 mAllocation.resize(newSize);
H A DScriptField_InnerTwo.java.expect79 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
97 obj.mAllocation = Allocation.createTyped(rs, t, usages);
112 obj.mAllocation = Allocation.createTyped(rs, t, usages);
137 mAllocation.setFromFieldPacker(index, fp);
157 mAllocation.setFromFieldPacker(index, 0, fp);
176 mAllocation.setFromFieldPacker(index, 3, fp);
193 mAllocation.setFromFieldPacker(0, mIOBuffer);
206 mAllocation.resize(newSize);
H A DScriptField_Outer.java.expect105 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
123 obj.mAllocation = Allocation.createTyped(rs, t, usages);
138 obj.mAllocation = Allocation.createTyped(rs, t, usages);
191 mAllocation.setFromFieldPacker(index, fp);
215 mAllocation.setFromFieldPacker(index, 0, fp);
230 mAllocation.setFromFieldPacker(index, 2, fp);
249 mAllocation.setFromFieldPacker(index, 3, fp);
278 mAllocation.setFromFieldPacker(index, 4, fp);
307 mAllocation.setFromFieldPacker(index, 5, fp);
332 mAllocation
[all...]
/frameworks/compile/slang/tests/P_reduce_general_input/
H A DScriptField_MyStruct.java.expect77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
95 obj.mAllocation = Allocation.createTyped(rs, t, usages);
110 obj.mAllocation = Allocation.createTyped(rs, t, usages);
133 mAllocation.setFromFieldPacker(index, fp);
153 mAllocation.setFromFieldPacker(index, 0, fp);
168 mAllocation.setFromFieldPacker(index, 2, fp);
185 mAllocation.setFromFieldPacker(0, mIOBuffer);
198 mAllocation.resize(newSize);
/frameworks/compile/slang/tests/P_reduce_general_inputs/
H A DScriptField_MyStruct.java.expect77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
95 obj.mAllocation = Allocation.createTyped(rs, t, usages);
110 obj.mAllocation = Allocation.createTyped(rs, t, usages);
133 mAllocation.setFromFieldPacker(index, fp);
153 mAllocation.setFromFieldPacker(index, 0, fp);
168 mAllocation.setFromFieldPacker(index, 2, fp);
185 mAllocation.setFromFieldPacker(0, mIOBuffer);
198 mAllocation.resize(newSize);
/frameworks/compile/slang/tests/P_reduce_general_result/
H A DScriptField_MyStruct.java.expect77 obj.mAllocation = Allocation.createSized(rs, obj.mElement, dimX, usages);
95 obj.mAllocation = Allocation.createTyped(rs, t, usages);
110 obj.mAllocation = Allocation.createTyped(rs, t, usages);
133 mAllocation.setFromFieldPacker(index, fp);
153 mAllocation.setFromFieldPacker(index, 0, fp);
168 mAllocation.setFromFieldPacker(index, 2, fp);
185 mAllocation.setFromFieldPacker(0, mIOBuffer);
198 mAllocation.resize(newSize);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/d1new/
H A DRefocusFilterd1new.java85 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
86 scriptC.forEach_PackSharpImage(mAllocation);
88 mAllocation.copyTo(mBitmap);
98 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
99 scriptC.forEach_PackFuzzyImage(mAllocation);
101 mAllocation.copyTo(mBitmap);
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/f32/
H A DRefocusFilterF32.java83 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
84 scriptC.forEach_PackSharpImage(mAllocation);
86 mAllocation.copyTo(mBitmap);
96 Allocation mAllocation = Allocation.createFromBitmap(renderScript, mBitmap);
97 scriptC.forEach_PackFuzzyImage(mAllocation);
99 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.cpp56 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.java492 protected Allocation mAllocation; field in class:Script.FieldBase
495 mAllocation = Allocation.createSized(rs, mElement, dimx,
500 mAllocation =
513 return mAllocation.getType();
517 return mAllocation;
H A DScriptGroup.java48 Allocation mAllocation; field in class:ScriptGroup.IO
486 mInputs[ct].mAllocation = a;
508 mOutputs[ct].mAllocation = a;
/frameworks/rs/support/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 243 milliseconds