Home
last modified time | relevance | path

Searched refs:getID (Results 1 – 25 of 73) sorted by relevance

123

/frameworks/base/graphics/java/android/renderscript/
DScript.java64 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID()
107 int id = mRS.nScriptFieldIDCreate(getID(mRS), slot); in createFieldID()
124 mRS.nScriptInvoke(getID(mRS), slot); in invoke()
135 mRS.nScriptInvokeV(getID(mRS), slot, v.getData()); in invoke()
137 mRS.nScriptInvoke(getID(mRS), slot); in invoke()
156 in_id = ain.getID(mRS); in forEach()
160 out_id = aout.getID(mRS); in forEach()
166 mRS.nScriptForEach(getID(mRS), slot, in_id, out_id, params); in forEach()
190 in_id = ain.getID(mRS); in forEach()
194 out_id = aout.getID(mRS); in forEach()
[all …]
DProgram.java150 a.getType().getID(mRS) != mConstants[slot].getID(mRS)) { in bindConstants()
153 int id = a != null ? a.getID(mRS) : 0; in bindConstants()
154 mRS.nProgramBindConstants(getID(mRS), slot, id); in bindConstants()
175 int id = va != null ? va.getID(mRS) : 0; in bindTexture()
176 mRS.nProgramBindTexture(getID(mRS), slot, id); in bindTexture()
195 int id = vs != null ? vs.getID(mRS) : 0; in bindSampler()
196 mRS.nProgramBindSampler(getID(mRS), slot, id); in bindSampler()
DAllocation.java203 return mAdaptedAllocation.getID(mRS); in getIDSafe()
205 return getID(mRS); in getIDSafe()
344 int typeID = mRS.nAllocationGetType(getID(mRS)); in updateFromNative()
401 mRS.nAllocationIoSend(getID(mRS)); in ioSend()
422 mRS.nAllocationIoReceive(getID(mRS)); in ioReceive()
439 i[ct] = d[ct].getID(mRS); in copyFrom()
657 mRS.nAllocationCopyFromBitmap(getID(mRS), b); in copyFrom()
753 mRS.nAllocationGenerateMipmaps(getID(mRS)); in generateMipmaps()
881 count, 1, data.getID(mRS), dataOff, 0, in copy1DRangeFrom()
979 w, h, data.getID(mRS), dataXoff, dataYoff, in copy2DRangeFrom()
[all …]
DScriptGroup.java107 mRS.nScriptGroupSetInput(getID(mRS), s.getID(mRS), mRS.safeID(a)); in setInput()
127 mRS.nScriptGroupSetOutput(getID(mRS), s.getID(mRS), mRS.safeID(a)); in setOutput()
140 mRS.nScriptGroupExecute(getID(mRS)); in execute()
396 kernels[idx++] = kid.getID(mRS); in create()
430 src[ct] = cl.mFrom.getID(mRS); in create()
432 dstk[ct] = cl.mToK.getID(mRS); in create()
435 dstf[ct] = cl.mToF.getID(mRS); in create()
437 types[ct] = cl.mAllocationType.getID(mRS); in create()
DProgramFragment.java74 tmp[idx++] = mInputs[i].getID(mRS); in create()
78 tmp[idx++] = mOutputs[i].getID(mRS); in create()
82 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramVertex.java135 tmp[idx++] = mInputs[i].getID(mRS); in create()
139 tmp[idx++] = mOutputs[i].getID(mRS); in create()
143 tmp[idx++] = mConstants[i].getID(mRS); in create()
DMesh.java154 int vtxCount = mRS.nMeshGetVertexBufferCount(getID(mRS)); in updateFromNative()
155 int idxCount = mRS.nMeshGetIndexCount(getID(mRS)); in updateFromNative()
161 mRS.nMeshGetVertices(getID(mRS), vtxIDs, vtxCount); in updateFromNative()
162 mRS.nMeshGetIndices(getID(mRS), idxIDs, primitives, idxCount); in updateFromNative()
370 vtx[ct] = alloc.getID(mRS); in create()
381 int allocID = (alloc == null) ? 0 : alloc.getID(mRS); in create()
520 vtx[ct] = entry.a.getID(mRS); in create()
525 int allocID = (entry.a == null) ? 0 : entry.a.getID(mRS); in create()
DBaseObj.java51 int getID(RenderScript rs) { in getID() method in BaseObj
147 mName = mRS.nGetName(getID(mRS)); in updateFromNative()
DFileA3D.java178 int numFileEntries = mRS.nFileA3DGetNumIndexEntries(getID(mRS)); in initEntries()
187 mRS.nFileA3DGetIndexEntries(getID(mRS), numFileEntries, ids, names); in initEntries()
190 … mFileEntries[i] = new IndexEntry(mRS, i, getID(mRS), names[i], EntryType.toEntryType(ids[i])); in initEntries()
DProgramFragmentFixedFunction.java61 tmp[idx++] = mInputs[i].getID(mRS); in create()
65 tmp[idx++] = mOutputs[i].getID(mRS); in create()
69 tmp[idx++] = mConstants[i].getID(mRS); in create()
DProgramVertexFixedFunction.java88 tmp[idx++] = mInputs[i].getID(mRS); in create()
92 tmp[idx++] = mOutputs[i].getID(mRS); in create()
96 tmp[idx++] = mConstants[i].getID(mRS); in create()
DType.java196 mRS.nTypeGetNativeData(getID(mRS), dataBuffer); in updateFromNative()
332 int id = mRS.nTypeCreate(mElement.getID(mRS), in create()
DScriptIntrinsicYuvToRGB.java46 int id = rs.nScriptIntrinsicCreate(6, e.getID(rs)); in create()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScript.java83 int id = mRS.nScriptKernelIDCreate(getID(mRS), slot, sig); in createKernelID()
139 int id = mRS.nScriptFieldIDCreate(getID(mRS), slot); in createFieldID()
161 mRS.nScriptInvoke(getID(mRS), slot); in invoke()
177 mRS.nScriptInvokeV(getID(mRS), slot, v.getData()); in invoke()
179 mRS.nScriptInvoke(getID(mRS), slot); in invoke()
197 mRS.nScriptBindAllocation(getID(mRS), va.getID(mRS), slot); in bindAllocation()
199 mRS.nScriptBindAllocation(getID(mRS), 0, slot); in bindAllocation()
211 mRS.nScriptSetTimeZone(getID(mRS), timeZone.getBytes("UTF-8")); in setTimeZone()
238 in_id = ain.getID(mRS); in forEach()
242 out_id = aout.getID(mRS); in forEach()
[all …]
DScriptGroup.java107 mRS.nScriptGroupSetInput(getID(mRS), s.getID(mRS), mRS.safeID(a)); in setInput()
127 mRS.nScriptGroupSetOutput(getID(mRS), s.getID(mRS), mRS.safeID(a)); in setOutput()
140 mRS.nScriptGroupExecute(getID(mRS)); in execute()
420 kernels[idx++] = kid.getID(mRS); in create()
454 src[ct] = cl.mFrom.getID(mRS); in create()
456 dstk[ct] = cl.mToK.getID(mRS); in create()
459 dstf[ct] = cl.mToF.getID(mRS); in create()
461 types[ct] = cl.mAllocationType.getID(mRS); in create()
DAllocation.java176 return mAdaptedAllocation.getID(mRS); in getIDSafe()
178 return getID(mRS); in getIDSafe()
344 mRS.nAllocationIoSend(getID(mRS)); in ioSend()
365 mRS.nAllocationIoReceive(getID(mRS)); in ioReceive()
382 i[ct] = d[ct].getID(mRS); in copyFrom()
600 mRS.nAllocationCopyFromBitmap(getID(mRS), b); in copyFrom()
696 mRS.nAllocationGenerateMipmaps(getID(mRS)); in generateMipmaps()
824 count, 1, data.getID(mRS), dataOff, 0, in copy1DRangeFrom()
922 w, h, data.getID(mRS), dataXoff, dataYoff, in copy2DRangeFrom()
1076 w, h, d, data.getID(mRS), dataXoff, dataYoff, dataZoff, in copy3DRangeFrom()
[all …]
/frameworks/rs/cpp/
DScript.cpp26 rsScriptInvokeV(mRS->getContext(), getID(), slot, v, len); in invoke()
36 rsScriptForEach(mRS->getContext(), getID(), slot, in_id, out_id, usr, usrLen, NULL, 0); in forEach()
45 rsScriptBindAllocation(mRS->getContext(), getID(), BaseObj::getObjID(va), slot); in bindAllocation()
50 rsScriptSetVarObj(mRS->getContext(), getID(), index, (o == NULL) ? 0 : o->getID()); in setVar()
54 rsScriptSetVarV(mRS->getContext(), getID(), index, v, len); in setVar()
DBaseObj.cpp23 void * BaseObj::getID() const { in getID() function in BaseObj
31 return o.get() == NULL ? NULL : o->getID(); in getObjID()
DAllocation.cpp24 return getID(); in getIDSafe()
124 const void *typeID = rsaAllocationGetType(mRS->getContext(), getID()); in updateFromNative()
152 rsAllocationIoSend(mRS->getContext(), getID()); in ioSendOutput()
161 rsAllocationIoReceive(mRS->getContext(), getID()); in ioGetInput()
166 rsAllocationGenerateMipmaps(mRS->getContext(), getID()); in generateMipmaps()
308 void *id = rsAllocationCreateTyped(rs->getContext(), type->getID(), mips, usage, 0); in createTyped()
319 void *id = rsAllocationCreateTyped(rs->getContext(), type->getID(), mips, usage, in createTyped()
DType.cpp96 void * id = rsTypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); in create()
163 void * id = rsTypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, in create()
/frameworks/base/core/tests/coretests/src/android/util/
DTimeUtilsTest.java45 assertEquals(name, guess.getID()); in testMainstream()
49 assertEquals(name, guess.getID()); in testMainstream()
66 assertEquals(name, guess.getID()); in testWeird()
82 assertEquals(name, guess.getID()); in testOld()
396 assertEquals(name, guess.getID()); in testWorld()
400 assertEquals(name, guess.getID()); in testWorld()
420 assertEquals(name, guess.getID()); in testWorldWeird()
/frameworks/compile/mclinker/lib/LD/
DDiagnostic.cpp33 llvm::StringRef desc = m_Engine.infoMap().getDescription(getID(), false); in format()
108 llvm::Twine(getID())); in format()
116 llvm::Twine(getID()) + llvm::Twine(": ") + in format()
129 llvm::Twine(getID()) + in format()
140 llvm::Twine(getID()) + in format()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DSetTimeZonePermissionsTest.java37 mCurrentZone = TimeZone.getDefault().getID(); in setUp()
64 String newZone = TimeZone.getDefault().getID(); in testSetTimeZonePermissions()
/frameworks/base/core/java/android/util/
DTimeUtils.java71 String currentName = current.getID(); in getTimeZone()
80 if (tz.getID().equals(currentName)) { in getTimeZone()
135 zone.getRawOffset() + " zone.getID=" + zone.getID()); in getTimeZonesWithUniqueOffsets()
193 if (tz.getID().startsWith("GMT") == false) { in getTimeZones()
198 + ((tz != null) ? tz.getID() : "<no tz>")); in getTimeZones()
/frameworks/base/core/java/android/gesture/
DInstance.java77 instance = new Instance(gesture.getID(), pts, label); in createInstance()
81 instance = new Instance(gesture.getID(), pts, label); in createInstance()

123