Searched refs:elementSize (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/transformation/ |
D | EdgeTranslate.kt | 42 val elementSize = sceneState.targetSize in transform() constant 43 if (elementSize == Element.SizeUnspecified) { in transform() 50 Offset(value.x, -elementSize.height.toFloat()) in transform() 56 Offset(-elementSize.width.toFloat(), value.y) in transform() 64 Offset(value.x, (sceneSize.height - elementSize.height).toFloat()) in transform() 70 Offset((sceneSize.width - elementSize.width).toFloat(), value.y) in transform()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableArray.java | 131 int elementSize = mComponentMarshaler.getNativeSize(); 133 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { 135 int arraySize = remaining / elementSize; 137 if (remaining % elementSize != 0) { 139 + " must be packed tighly into a multiple of " + elementSize 140 + "; but there are " + (remaining % elementSize) + " left over bytes"); 147 arraySize, elementSize, remaining, mClass)); 190 int elementSize = mComponentMarshaler.getNativeSize(); 193 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) { 195 return elementSize * arrayLength;
|
/frameworks/rs/toolkit/test/ |
D | BufferUtils.kt | 298 fun randomByteArray(seed: Long, sizeX: Int, sizeY: Int, elementSize: Int): ByteArray { in indexOfVector() 300 return ByteArray(sizeX * sizeY * elementSize) { (r.nextInt(255) - 128).toByte() } in indexOfVector() 312 elementSize: Int, in randomFloatArray() 316 return FloatArray(sizeX * sizeY * elementSize) { r.nextFloat() * factor } in randomFloatArray()
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 317 uint32_t elementSize = field->mHal.state.elementSizeBytes / sizeof(float); in logUniform() local 355 ALOGV("Element size %u data=%p", elementSize, fd); in logUniform() 356 fd += elementSize; in logUniform()
|
D | rsdAllocation.cpp | 1045 size_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData2D_alloc_script() local 1049 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData2D_alloc_script() 1062 uint32_t elementSize = dstAlloc->getType()->getElementSizeBytes(); in rsdAllocationData3D_alloc_script() local 1069 memcpy(dstPtr, srcPtr, w * elementSize); in rsdAllocationData3D_alloc_script()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 951 private int uploadBuffer(Buffer buffer, int elementSize) { in uploadBuffer() argument 957 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer, in uploadBuffer()
|