Searched refs:mAllocation (Results 1 - 9 of 9) 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
H A DrsAdapter.cpp41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes, 0);
113 mAllocation->data(rsc, x, y, mLOD, mFace, w, h, data, sizeBytes, 0);
/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.cpp58 mAllocation = Allocation::createSized(rs, mElement, dimx, RS_ALLOCATION_USAGE_SCRIPT | usages);
H A DrsCppStructs.h1435 sp<Allocation> mAllocation; member in class:android::RSC::Script::FieldBase
1445 return mAllocation->getType();
1449 return mAllocation;
/frameworks/base/rs/java/android/renderscript/
H A DScript.java441 protected Allocation mAllocation; field in class:Script.FieldBase
444 mAllocation = Allocation.createSized(rs, mElement, dimx,
449 mAllocation =
462 return mAllocation.getType();
466 return mAllocation;
H A DScriptGroup.java48 Allocation mAllocation; field in class:ScriptGroup.IO
461 mInputs[ct].mAllocation = a;
483 mOutputs[ct].mAllocation = a;
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java428 protected Allocation mAllocation; field in class:Script.FieldBase
431 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT);
435 mAllocation = Allocation.createSized(rs, mElement, dimx, Allocation.USAGE_SCRIPT | usages);
446 return mAllocation.getType();
450 return mAllocation;
H A DScriptGroup.java55 Allocation mAllocation; field in class:ScriptGroup.IO
79 Allocation mAllocation; field in class:ScriptGroup.ConnectLine
482 mInputs[ct].mAllocation = a;
506 mOutputs[ct].mAllocation = a;
536 if (l.mAllocation !=null) {
545 l.mAllocation = alloc;
548 n.mOutputs.get(ct3).mAllocation = alloc;
560 ain = nodeInput.mAllocation;
566 ain = sgInput.mAllocation;
572 aout = nodeOutput.mAllocation;
[all...]

Completed in 1521 milliseconds