Lines Matching defs:pixels
114 // Lock the pixels.
115 void* pixels;
116 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
118 throwIllegalStateException(env, (char*) "Cannot lock bitmap pixels");
122 // Read the pixels.
124 read = readAllBytes(fd, (void*) pixels, byteCount);
126 throwIllegalStateException(env, (char*) "Cannot read bitmap pixels");
130 // Unlock the pixels.
133 throwIllegalStateException(env, (char*) "Cannot unlock bitmap pixels");
153 // Lock the pixels.
154 void* pixels;
155 result = AndroidBitmap_lockPixels(env, jbitmap, &pixels);
157 throwIllegalStateException(env, (char*) "Cannot lock bitmap pixels");
161 // Write the pixels.
163 written = writeAllBytes(fd, (void*) pixels, byteCount);
165 throwIllegalStateException(env, (char*) "Cannot write bitmap pixels");
169 // Unlock the pixels.
172 throwIllegalStateException(env, (char*) "Cannot unlock bitmap pixels");