Searched refs:mIndexBuffer (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BlobCache.java | 110 private MappedByteBuffer mIndexBuffer; field in BlobCache 272 mIndexBuffer = mIndexChannel.map(FileChannel.MapMode.READ_WRITE, in loadIndex() 274 mIndexBuffer.order(ByteOrder.LITTLE_ENDIAN); in loadIndex() 346 mIndexBuffer.position(0); in updateIndexHeader() 347 mIndexBuffer.put(mIndexHeader); in updateIndexHeader() 353 mIndexBuffer.position(hashStart); in clearHash() 356 mIndexBuffer.put(zero, 0, todo); in clearHash() 407 mIndexBuffer.putLong(mSlotOffset, key); in insertInternal() 408 mIndexBuffer.putInt(mSlotOffset + 8, mActiveBytes); in insertInternal() 556 long candidateKey = mIndexBuffer.getLong(offset); in lookupInternal() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/ |
D | Cube.java | 84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length); in Cube() 85 mIndexBuffer.put(indices); in Cube() 86 mIndexBuffer.position(0); in Cube() 94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer); in draw() 99 private ByteBuffer mIndexBuffer; field in Cube
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | NinePatchTexture.java | 197 private ByteBuffer mIndexBuffer; field in NinePatchInstance 387 mIndexBuffer = allocateDirectNativeOrderBuffer(mIdxCount); in prepareVertexData() 391 mIndexBuffer.put(index, 0, idxCount).position(0); in prepareVertexData() 401 mIndexBufferName = canvas.uploadBuffer(mIndexBuffer); in prepareBuffers() 406 mIndexBuffer = null; in prepareBuffers()
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | FireflyRenderer.java | 86 final ShortBuffer mIndexBuffer; field in FireflyRenderer 112 mIndexBuffer = ibb.asShortBuffer(); in FireflyRenderer() 113 mIndexBuffer.put(mIndices); in FireflyRenderer() 114 mIndexBuffer.position(0); in FireflyRenderer() 418 mIndexBuffer); in draw()
|