Home
last modified time | relevance | path

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

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DBitmapDecode.java93 int[] pixels = new int[w*h]; in SampleView() local
94 mBitmap2.getPixels(pixels, 0, w, 0, 0, w, h); in SampleView()
95 mBitmap3 = Bitmap.createBitmap(pixels, 0, w, w, h, in SampleView()
97 mBitmap4 = Bitmap.createBitmap(pixels, 0, w, w, h, in SampleView()
DShapeDrawable1.java51 int[] pixels = new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF, 0}; in makeTiling() local
52 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2, in makeTiling()
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/
Dplasma.c188 static void fill_plasma( AndroidBitmapInfo* info, void* pixels, double t ) in fill_plasma() argument
200 uint16_t* line = (uint16_t*)pixels; in fill_plasma()
264 pixels = (char*)pixels + info->stride; in fill_plasma()
366 void* pixels; in Java_com_example_plasma_PlasmaView_renderPlasma() local
387 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) { in Java_com_example_plasma_PlasmaView_renderPlasma()
394 fill_plasma(&info, pixels, time_ms ); in Java_com_example_plasma_PlasmaView_renderPlasma()
/development/tools/recovery_l10n/src/com/android/recovery_l10n/
DMain.java232 int[] pixels = new int[maxHeight * width];
240 bm.getPixels(pixels, 0, w, 0, 0, w, h);
250 if (pixels[j*w+right-1] != 0xff000000) {
266 if (pixels[j*w+left] != 0xff000000) {
303 out.setPixels(pixels, left, w, 0, p, tw, h);
/development/samples/devbytes/graphics/ImagePixelization/src/com/example/android/imagepixelization/
DImagePixelization.java174 int[] pixels = new int[yPixels * xPixels]; in customImagePixelization() local
198 Arrays.fill(pixels, pixel); in customImagePixelization()
203 mPixelatedBitmap.setPixels(pixels, 0 , w, x , y, w, h); in customImagePixelization()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java155 public void getBitmapPixels(Bitmap bmp, int[] pixels) in getBitmapPixels() argument
159 bmp.getPixels(pixels, 0, w, 0, 0, w, h); in getBitmapPixels()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java155 public void getBitmapPixels(Bitmap bmp, int[] pixels) in getBitmapPixels() argument
159 bmp.getPixels(pixels, 0, w, 0, 0, w, h); in getBitmapPixels()
/development/ndk/platforms/android-9/samples/native-plasma/jni/
Dplasma.c203 void* pixels = buffer->bits; in fill_plasma() local
209 uint16_t* line = (uint16_t*)pixels; in fill_plasma()
273 pixels = (uint16_t*)pixels + buffer->stride; in fill_plasma()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
DMatrixTrackingGL.java537 int type, Buffer pixels) { in glReadPixels() argument
538 mgl.glReadPixels(x, y, width, height, format, type, pixels); in glReadPixels()
624 Buffer pixels) { in glTexImage2D() argument
626 format, type, pixels); in glTexImage2D()
647 Buffer pixels) { in glTexSubImage2D() argument
649 format, type, pixels); in glTexSubImage2D()
/development/ndk/platforms/android-5/include/GLES2/
Dgl2ext.h489 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
490 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
496 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
497 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
Dgl2.h566 …xels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
579 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
584 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
/development/ndk/platforms/android-4/include/GLES/
Dgl.h715 …xels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
730 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
735 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
/development/ndk/platforms/android-18/include/GLES3/
Dgl3.h899 …xels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
912 …at, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
917 …t, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
954 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
955 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
/development/ndk/sources/android/ndk_helper/
Dgl3stub.h394 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
395 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
Dgl3stub.c189 const GLvoid* pixels );
200 const GLvoid* pixels );
/development/ndk/platforms/android-18/samples/gles3jni/jni/
Dgl3stub.c242 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
243 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
Dgl3stub.h384 …th, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
385 …t, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
/development/perftests/panorama/feature_mos/doc/
Dfeature_mos_API_doxyfile1001 # used to set the initial width (in pixels) of the frame in which the tree
/development/perftests/panorama/feature_stab/doc/
Ddbreg_API_doxyfile1001 # used to set the initial width (in pixels) of the frame in which the tree