Home
last modified time | relevance | path

Searched refs:indexCount (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/libs/hwui/
DVertexBuffer.h80 TYPE* allocIndices(int indexCount) { in allocIndices() argument
81 mAllocatedIndexCount = indexCount; in allocIndices()
82 mIndexCount = indexCount; in allocIndices()
83 mIndices = (void*)new TYPE[indexCount]; in allocIndices()
DSkiaCanvas.cpp571 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() local
576 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, ptCount, indexCount, flags); in drawBitmapMesh()
630 SkASSERT(indexPtr - indices == indexCount); in drawBitmapMesh()
636 for (int i = 0; i < indexCount; i++) { in drawBitmapMesh()
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
DTestView.java131 int indexCount = quadCount * 6; in Grid() local
132 mIndexCount = indexCount; in Grid()
133 mIndexBuffer = ByteBuffer.allocateDirect(CHAR_SIZE * indexCount) in Grid()
/frameworks/base/opengl/java/android/opengl/
DVisibility.java51 int indicesOffset, int indexCount); in visibilityTest() argument
/frameworks/base/core/jni/android/opengl/
Dutil.cpp68 unsigned short* pIndices, int indexCount) { in visibilityTest() argument
71 if ( indexCount < 3 ) { in visibilityTest()
83 for(int i = 0; i < indexCount; i++) { in visibilityTest()
118 for (int i = 0; i < indexCount; i += 3) { in visibilityTest()
516 jcharArray indices_ref, jint indicesOffset, jint indexCount) { in util_visibilityTest() argument
528 if (indices.mLength < indexCount) { in util_visibilityTest()
539 indices.mData, indexCount); in util_visibilityTest()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLCanvas.java97 int uvBuffer, int indexBuffer, int indexCount); in drawMesh() argument
DGLES20Canvas.java717 int indexBuffer, int indexCount) { in drawMesh() argument
745 GLES20.glDrawElements(GLES20.GL_TRIANGLE_STRIP, indexCount, GLES20.GL_UNSIGNED_BYTE, 0); in drawMesh()
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java595 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, in drawVertices() argument
605 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
610 indices, indexOffset, indexCount, paint.getNativeInstance()); in drawVertices()
735 short[] indices, int indexOffset, int indexCount, long nativePaint); in nDrawVertices() argument
DBaseRecordingCanvas.java563 int indexCount, @NonNull Paint paint) { in drawVertices() argument
572 checkRange(indices.length, indexOffset, indexCount); in drawVertices()
576 indices, indexOffset, indexCount, paint.getNativeInstance()); in drawVertices()
674 short[] indices, int indexOffset, int indexCount, long nativePaint); in nDrawVertices() argument
DCanvas.java2249 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, in drawVertices() argument
2252 colors, colorOffset, indices, indexOffset, indexCount, paint); in drawVertices()
/frameworks/ml/nn/runtime/
DModelBuilder.cpp439 auto setArguments = [&](std::vector<uint32_t>* indexVector, uint32_t indexCount, in identifyInputsAndOutputs()
441 indexVector->resize(indexCount); in identifyInputsAndOutputs()
442 for (uint32_t i = 0; i < indexCount; i++) { in identifyInputsAndOutputs()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java250 int indexOffset, int indexCount, Paint paint) { in drawVertices() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp369 jint indexCount, jlong paintHandle) { in drawVertices() argument
376 AutoJavaShortArray indexA(env, jindices, indexIndex + indexCount); in drawVertices()
396 indexCount, indices).get(), in drawVertices()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java525 int indexCount, long nPaint) { in nDrawVertices() argument
/frameworks/native/vulkan/libvulkan/
Dapi_gen.cpp452 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc…
1196 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc… in CmdDrawIndexed() argument
1197 …GetData(commandBuffer).dispatch.CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstInde… in CmdDrawIndexed()
2038 VKAPI_ATTR void vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t insta… in vkCmdDrawIndexed() argument
2039 …vulkan::api::CmdDrawIndexed(commandBuffer, indexCount, instanceCount, firstIndex, vertexOffset, fi… in vkCmdDrawIndexed()
/frameworks/native/vulkan/nulldrv/
Dnull_driver_gen.h138 VKAPI_ATTR void CmdDrawIndexed(VkCommandBuffer commandBuffer, uint32_t indexCount, uint32_t instanc…
Dnull_driver.cpp1388 void CmdDrawIndexed(VkCommandBuffer cmdBuffer, uint32_t indexCount, uint32_t instanceCount, uint32_… in CmdDrawIndexed() argument
/frameworks/base/core/java/android/view/
DView.java6214 final int indexCount = t.getIndexCount();
6215 for (int j = 0; j < indexCount; ++j) {
6224 final int indexCount = t.getIndexCount();
6225 final String[] attributes = new String[(attrsCount + indexCount) * 2];
6239 for (int j = 0; j < indexCount; ++j) {
/frameworks/native/vulkan/api/
Dvulkan.api4701 u32 indexCount
7376 u32 indexCount
9473 u32 indexCount,