Searched defs:mAllocation (Results 1 - 7 of 7) sorted by relevance

/frameworks/rs/
H A DrsAdapter.h36 void setAllocation(Allocation *a) {mAllocation.set(a);}
38 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);}
40 const Type * getBaseType() const {return mAllocation->getType();}
54 ObjectBaseRef<Allocation> mAllocation; member in class:android::renderscript::Adapter1D
70 uint32_t getDimX() const {return mAllocation->getType()->getLODDimX(mLOD);}
71 uint32_t getDimY() const {return mAllocation->getType()->getLODDimY(mLOD);}
72 const Type * getBaseType() const {return mAllocation->getType();}
74 void setAllocation(Allocation *a) {mAllocation.set(a);}
87 ObjectBaseRef<Allocation> mAllocation; member in class:android::renderscript::Adapter2D
/frameworks/base/rs/java/android/renderscript/
H A DScriptGroup.java50 Allocation mAllocation; field in class:ScriptGroup.IO
107 mInputs[ct].mAllocation = a;
127 mOutputs[ct].mAllocation = a;
H A DScript.java378 protected Allocation mAllocation; field in class:Script.FieldBase
381 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
385 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
396 return mAllocation.getType();
400 return mAllocation;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptGroup.java52 Allocation mAllocation; field in class:ScriptGroup.IO
109 mInputs[ct].mAllocation = a;
129 mOutputs[ct].mAllocation = a;
H A DScript.java436 protected Allocation mAllocation; field in class:Script.FieldBase
439 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
443 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
454 return mAllocation.getType();
458 return mAllocation;
/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 DrsCppStructs.h1363 sp<Allocation> mAllocation; member in class:android::RSC::Script::FieldBase
1373 return mAllocation->getType();
1377 return mAllocation;

Completed in 133 milliseconds