Home
last modified time | relevance | path

Searched refs:elementSize (Results 1 – 5 of 5) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java497 private int uploadBuffer(Buffer buffer, int elementSize) { in uploadBuffer() argument
503 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer, in uploadBuffer()
/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h178 bool sizeOfTensorDataOverflowsUInt32(uint32_t elementSize, const std::vector<uint32_t>& dimensions);
/packages/modules/NeuralNetworks/runtime/test/
DTestGpuNnapi.cpp156 const uint32_t elementSize = sizeof(typename TestTypeHelper<dataType>::ElementType); in chooseDispatchSize() local
157 const uint32_t numberOfElementsPerInvocation = sizeof(uint32_t) / elementSize; in chooseDispatchSize()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java971 private int uploadBuffer(Buffer buf, int elementSize) { in uploadBuffer() argument
976 mGL.glBufferData(GL11.GL_ARRAY_BUFFER, buf.capacity() * elementSize, buf, in uploadBuffer()
DGLES20Canvas.java951 private int uploadBuffer(Buffer buffer, int elementSize) { in uploadBuffer() argument
957 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer, in uploadBuffer()