/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 1085 * @param stride Number of colors in the array between rows (must be >= 1095 public static Bitmap createBitmap(@NonNull @ColorInt int[] colors, int offset, int stride, argument 1097 return createBitmap(null, colors, offset, stride, width, height, config); 1112 * @param stride Number of colors in the array between rows (must be >= 1123 @NonNull @ColorInt int[] colors, int offset, int stride, 1127 if (Math.abs(stride) < width) { 1128 throw new IllegalArgumentException("abs(stride) must be >= width"); 1130 int lastScanline = offset + (height - 1) * stride; 1139 Bitmap bm = nativeCreate(colors, offset, stride, width, height, 1734 * a packed int representing a {@link Color}. The stride paramete 1122 createBitmap(@onNull DisplayMetrics display, @NonNull @ColorInt int[] colors, int offset, int stride, int width, int height, @NonNull Config config) argument 1757 getPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 1799 checkPixelsAccess(int x, int y, int width, int height, int offset, int stride, int pixels[]) argument 1874 setPixels(@olorInt int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 2035 nativeCreate(int[] colors, int offset, int stride, int width, int height, int nativeConfig, boolean mutable, @Nullable @Size(9) float[] xyzD50, @Nullable ColorSpace.Rgb.TransferParameters p) argument 2057 nativeGetPixels(long nativeBitmap, int[] pixels, int offset, int stride, int x, int y, int width, int height) argument 2062 nativeSetPixels(long nativeBitmap, int[] colors, int offset, int stride, int x, int y, int width, int height) argument [all...] |
/frameworks/rs/support/jni/ |
H A D | android_rscompat_usage_io_driver.cpp | 29 alloc->mHal.drvState.lod[0].stride = drv->wndBuffer->stride * alloc->mHal.state.elementSizeBytes;
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES10Ext.cpp | 48 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride, 50 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride, 53 GLsizei stride, const GLvoid *pointer, GLsizei count); 55 GLsizei stride, const GLvoid *pointer, GLsizei count); 57 GLsizei stride, const GLvoid *pointer, GLsizei count); 59 GLsizei stride, const GLvoid *pointer, GLsizei count); 61 GLsizei stride, const GLvoid *pointer, GLsizei count); 65 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) { 66 glVertexAttribPointer(indx, size, type, normalized, stride, pointer); 71 GLsizei stride, cons 64 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 70 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestBuffer.cpp | 335 /* Sets the pixel of a buffer given the location, format, stride and color. 338 android_pixel_format_t format, uint32_t stride, uint8_t* img, uint8_t r, 343 img[(y * stride + x) * 4 + 0] = r; 344 img[(y * stride + x) * 4 + 1] = g; 345 img[(y * stride + x) * 4 + 2] = b; 346 img[(y * stride + x) * 4 + 3] = a; 418 uint32_t stride = mGraphicBuffer->getStride(); local 440 setColor(x, y, mFormat, stride, img, max, min, min, 255); 444 setColor(x, y, mFormat, stride, img, min, max, min, 255); 448 setColor(x, y, mFormat, stride, im 337 setColor(int32_t x, int32_t y, android_pixel_format_t format, uint32_t stride, uint8_t* img, uint8_t r, uint8_t g, uint8_t b, uint8_t a) argument 481 uint32_t stride = graphicBuffer->getStride(); local [all...] |
H A D | Hwc2TestPixelComparator.h | 48 uint32_t getPixel(int32_t x, int32_t y, uint32_t stride, uint8_t* img) const;
|
/frameworks/base/libs/hwui/ |
H A D | Glop.h | 110 GLsizei stride; member in struct:android::uirenderer::Glop::Mesh::Vertices
|
/frameworks/native/libs/nativebase/include/nativebase/ |
H A D | nativebase.h | 89 int stride; member in struct:ANativeWindowBuffer
|
/frameworks/native/libs/nativewindow/include/android/ |
H A D | native_window.h | 96 int32_t stride; member in struct:ANativeWindow_Buffer
|
H A D | hardware_buffer.h | 206 uint32_t stride; ///< Row stride in pixels, ignored for AHardwareBuffer_allocate() member in struct:AHardwareBuffer_Desc
|
/frameworks/native/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 152 sur.stride= native_buffer->stride; 182 surface.stride = s; 214 mipmap.stride = s;
|
H A D | texture.cpp | 270 (dst.stride == src.stride) && 273 (dst.stride > 0) && 279 const size_t size = src.height * src.stride * pixelFormat.size; 365 // figure out the size we need as well as the stride 370 const int32_t stride = bpr / pixelFormat.size; local 376 width, height, stride, formatIdx, compressedFormat, bpr); 387 width, height, stride, formatIdx, compressedFormat, bpr); 441 void *surface, int stride, int format) 487 uint8_t* p = (uint8_t*)surface + y*stride* 440 decodePalette4(const GLvoid *data, int level, int width, int height, void *surface, int stride, int format) argument [all...] |
H A D | array.cpp | 310 GLint size, GLenum type, GLsizei stride, 313 if (!stride) { 314 stride = size; 318 stride *= 2; 322 stride *= 4; 328 this->stride = stride; 968 const size_t stride = c->arrays.vertex.stride; local 978 vp += stride; 309 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument 1237 glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument 1258 glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument 1278 glNormalPointer( GLenum type, GLsizei stride, const GLvoid *pointer) argument 1299 glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) argument [all...] |
/frameworks/rs/driver/ |
H A D | rsdAllocation.h | 118 const void *data, size_t sizeBytes, size_t stride); 123 size_t stride); 133 void *data, size_t sizeBytes, size_t stride); 138 size_t stride);
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 307 meshState().bindPositionVertexPointer(vertices.position, vertices.stride); 335 meshState().bindTexCoordsVertexPointer(vertices.texCoord, vertices.stride); 343 glVertexAttribPointer(colorLocation, 4, GL_FLOAT, GL_FALSE, vertices.stride, 352 glVertexAttribPointer(alphaLocation, 1, GL_FLOAT, GL_FALSE, vertices.stride, alphaCoords); 419 meshState().bindPositionVertexPointer(vertexData, vertices.stride); 422 vertices.stride); 432 vertexData += vertexCount * vertices.stride;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11Ext.java | 879 // C function void glMatrixIndexPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 884 int stride, 892 int stride, 898 stride, 909 (stride >= 0)) { 914 // C function void glWeightPointerOES ( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 919 int stride, 927 int stride, 933 stride, 881 glMatrixIndexPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 889 glMatrixIndexPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument 916 glWeightPointerOESBounds( int size, int type, int stride, java.nio.Buffer pointer, int remaining ) argument 924 glWeightPointerOES( int size, int type, int stride, java.nio.Buffer pointer ) argument
|
H A D | GLErrorWrapper.java | 161 public void glColorPointer(int size, int type, int stride, Buffer pointer) { argument 163 mgl.glColorPointer(size, type, stride, pointer); 601 public void glNormalPointer(int type, int stride, Buffer pointer) { argument 603 mgl.glNormalPointer(type, stride, pointer); 737 int stride, Buffer pointer) { 739 mgl.glTexCoordPointer(size, type, stride, pointer); 834 int stride, Buffer pointer) { 836 mgl.glVertexPointer(size, type, stride, pointer); 985 public void glColorPointer(int size, int type, int stride, int offset) { argument 987 mgl11.glColorPointer(size, type, stride, offse 736 glTexCoordPointer(int size, int type, int stride, Buffer pointer) argument 833 glVertexPointer(int size, int type, int stride, Buffer pointer) argument 1232 glNormalPointer(int type, int stride, int offset) argument 1274 glPointSizePointerOES(int type, int stride, Buffer pointer) argument 1280 glTexCoordPointer(int size, int type, int stride, int offset) argument 1335 glVertexPointer(int size, int type, int stride, int offset) argument 1353 glMatrixIndexPointerOES(int size, int type, int stride, Buffer pointer) argument 1360 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument 1367 glWeightPointerOES(int size, int type, int stride, Buffer pointer) argument 1374 glWeightPointerOES(int size, int type, int stride, int offset) argument [all...] |
H A D | GLLogWrapper.java | 242 private void argPointer(int size, int type, int stride, Buffer pointer) { argument 245 arg("stride", stride); 1072 builder.append("invalid stride"); 1076 int stride = pointer.getStride(); 1081 int byteOffset = stride * index; 1328 public void glColorPointer(int size, int type, int stride, Buffer pointer) { argument 1330 argPointer(size, type, stride, pointer); 1332 mColorPointer = new PointerInfo(size, type, stride, pointer); 1334 mgl.glColorPointer(size, type, stride, pointe 2146 glNormalPointer(int type, int stride, Buffer pointer) argument 2385 glTexCoordPointer(int size, int type, int stride, Buffer pointer) argument 2566 glVertexPointer(int size, int type, int stride, Buffer pointer) argument 3238 glPointSizePointerOES(int type, int stride, Buffer pointer) argument 3334 glColorPointer(int size, int type, int stride, int offset) argument 3365 glNormalPointer(int type, int stride, int offset) argument 3374 glTexCoordPointer(int size, int type, int stride, int offset) argument 3384 glVertexPointer(int size, int type, int stride, int offset) argument 3409 glMatrixIndexPointerOES(int size, int type, int stride, Buffer pointer) argument 3418 glMatrixIndexPointerOES(int size, int type, int stride, int offset) argument 3430 glWeightPointerOES(int size, int type, int stride, Buffer pointer) argument 3439 glWeightPointerOES(int size, int type, int stride, int offset) argument 3908 PointerInfo(int size, int type, int stride, Buffer pointer) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 198 int stride, 430 int stride, 468 int stride, 475 int stride, 546 int stride, 195 glColorPointer( int size, int type, int stride, int offset ) argument 428 glNormalPointer( int type, int stride, int offset ) argument 466 glPointSizePointerOES( int type, int stride, java.nio.Buffer pointer ) argument 472 glTexCoordPointer( int size, int type, int stride, int offset ) argument 543 glVertexPointer( int size, int type, int stride, int offset ) argument
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.h | 104 status_t setParams(size_t stride);
|
/frameworks/ml/nn/runtime/test/ |
H A D | TestMemoryInternal.cpp | 246 auto stride = model.addOperand(&type3); local 259 model.setOperandValue(stride, stride_init, sizeof(stride_init)); 260 model.addOperation(ANEURALNETWORKS_CONV_2D, {op1, op2, op3, pad0, pad0, pad0, pad0, stride, stride, act}, {op4});
|
/frameworks/native/include/ui/ |
H A D | GraphicBufferMapper.h | 54 PixelFormat format, uint64_t usage, uint32_t stride,
|
/frameworks/native/libs/ui/include/ui/ |
H A D | GraphicBufferMapper.h | 54 PixelFormat format, uint64_t usage, uint32_t stride,
|
/frameworks/native/libs/ui/include_vndk/ui/ |
H A D | GraphicBufferMapper.h | 54 PixelFormat format, uint64_t usage, uint32_t stride,
|
/frameworks/native/vulkan/include/vulkan/ |
H A D | vk_android_native_buffer.h | 58 // Buffer handle and stride returned from gralloc alloc() 60 int stride; member in struct:__anon1913
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | Matrix.java | 44 * @param stride is the number of columns. 46 * @throws IllegalArgumentException if length of values array not a multiple of stride 48 public Matrix(int stride, double[] values) { argument 49 n = (values.length + stride - 1) / stride; 50 m = stride;
|