| /frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
| AppCompatSpinner.java | 326 public void setDropDownVerticalOffset(int pixels) { 328 mPopup.setVerticalOffset(pixels); 330 super.setDropDownVerticalOffset(pixels); 343 public void setDropDownHorizontalOffset(int pixels) { 345 mPopup.setHorizontalOffset(pixels); 347 super.setDropDownHorizontalOffset(pixels); 352 * Get the configured horizontal offset in pixels for the spinner's popup window of choices. 355 * @return Horizontal offset in pixels 366 public void setDropDownWidth(int pixels) { 368 mDropDownWidth = pixels; [all...] |
| /external/ImageMagick/www/api/ |
| cache.php | 9 <title>ImageMagick: MagickCore, C API for ImageMagick: Get or Set Image Pixels</title> 15 <meta name="keywords" content="magickcore, c, api, for, imagemagick:, get, or, set, image, pixels, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/> 81 <p>GetAuthenticMetacontent() returns the authentic metacontent corresponding with the last call to QueueAuthenticPixels() or GetVirtualPixels(). NULL is returned if the associated pixels are not available.</p> 103 <p>GetAuthenticPixelQueue() returns the authentic pixels associated corresponding with the last call to QueueAuthenticPixels() or GetAuthenticPixels().</p> 127 <p>The returned pointer may point to a temporary working copy of the pixels or it may point to the original pixels in memory. Performance is maximized if the selected region is part of one row, or one or more full rows, since then there is opportunity to access the pixels in-place (without a copy) if the image is in memory, or in a memory-mapped file. The returned pointer must *never* be deallocated by the user.</p> 129 <p>Pixels accessed via the returned pointer represent a simple array of type Quantum. If the image has corresponding metacontent,call GetAuthenticMetacontent() after invoking GetAuthenticPixels() to obtain the meta-content corresponding to the region. Once the Quantum array has been updated, the changes must be saved back to the underlying image using SyncAuthenticPixels() or they may be lost.</p> 151 <dd> These values define the perimeter of a region of pixels. </dd> 293 <p>GetVirtualPixelQueue() returns the virtual pixels associated corresponding with the last call to QueueAuthenticPixels() or GetVirtualPixels().</p [all...] |
| cache-view.php | 157 <p>GetCacheViewAuthenticPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p> 179 <dd> These values define the perimeter of a region of pixels. </dd> 211 <p>GetCacheViewAuthenticPixelQueue() returns the pixels associated with the last call to QueueCacheViewAuthenticPixels() or GetCacheViewAuthenticPixels(). The pixels are authentic and therefore can be updated.</p> 322 <p>GetCacheViewVirtualPixelQueue() returns the the pixels associated with the last call to GetCacheViewVirtualPixels(). The pixels are virtual and therefore cannot be updated.</p> 345 <p>GetCacheViewVirtualPixels() gets virtual pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p [all...] |
| /external/skia/src/opts/ |
| SkSwizzler_opts.h | 198 // Load 8 pixels. 211 // Store 8 premultiplied pixels. 227 // Call portable code to finish up the tail of [0,8) pixels. 243 // Load 16 pixels. 249 // Store 16 pixels. 257 // Load 8 pixels. 263 // Store 8 pixels. 277 // Load 16 pixels. 292 // Store 16 pixels. 300 // Load 8 pixels 445 uint8x8x4_t pixels = vld4_u8((const uint8_t*) src); local [all...] |
| SkBitmapProcState_opts_SSSE3.cpp | 35 // @param xy is the location where the xy parameters for four pixels should be 81 // @param xy is the location where the xy parameters for four pixels should be 131 // @param pixel0..3 are the four input pixels 143 // Load 2 pairs of pixels 147 // Interleave pixels. 177 inline __m128i ScaleFourPixels(__m128i* pixels, 180 *pixels = _mm_srli_epi16(*pixels, scale); 184 *pixels = _mm_mullo_epi16(*pixels, alpha) [all...] |
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
| NinePatchedImage.java | 220 private boolean ensurePixel(int x, int y, int[] pixels, int index) { 224 if (index == 0 || index == pixels.length - 1) { 228 pixels[index] = pixel; 238 private boolean ensureHorizontalPixel(int x, int y, int[] pixels) { 239 return ensurePixel(x, y, pixels, x); 242 private boolean ensureVerticalPixel(int x, int y, int[] pixels) { 243 return ensurePixel(x, y, pixels, y); 369 * Find patches from pixels array. 370 * @param pixels Target of seeking ticks. 374 private static boolean findPatches(int[] pixels, List<Tick> out) [all...] |
| /external/libjpeg-turbo/ |
| jdmerge.c | 19 * calculating all the output pixels corresponding to a pair of chroma 24 * only the Y term varies among the group of pixels corresponding to a pair 437 #define WRITE_TWO_PIXELS_LE(addr, pixels) { \ 438 ((INT16*)(addr))[0] = (pixels); \ 439 ((INT16*)(addr))[1] = (pixels) >> 16; \ 441 #define WRITE_TWO_PIXELS_BE(addr, pixels) { \ 442 ((INT16*)(addr))[1] = (pixels); \ 443 ((INT16*)(addr))[0] = (pixels) >> 16; \
|
| /frameworks/native/opengl/tools/glgen/specs/gles11/ |
| checks.spec | 99 glTexImage2D nullAllowed pixels 100 glTexImage3D nullAllowed pixels 102 glTexSubImage2D nullAllowed pixels
|
| /external/ImageMagick/MagickCore/ |
| resample.c | 83 #define DEBUG_HIT_MISS 0 /* output hit/miss pixels (as gnuplot commands) */ 84 #define DEBUG_NO_PIXEL_HIT 0 /* Make pixels that fail to hit anything - RED */ 170 % The algorithm is based on a Elliptical Weighted Average, where the pixels 332 register const Quantum *pixels; 490 pixels=GetCacheViewVirtualPixels(average_view,0,0,1,1, 492 if (pixels == (const Quantum *) NULL) { 498 GetPixelInfoPixel(resample_filter->image,pixels, 574 Do weighted resampling of all pixels, within the scaled ellipse, 595 /* get the scanline of pixels for this v */ 596 pixels=GetCacheViewVirtualPixels(resample_filter->view,u,v,(size_t) uw 328 register const Quantum *pixels; local [all...] |
| cache-private.h | 117 *pixels; member in struct:_NexusInfo 183 *pixels; member in struct:_CacheInfo
|
| /external/ImageMagick/coders/ |
| fpx.c | 173 *pixels; 367 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,(tile_height+ 368 1UL)*colorspace.numberOfComponents*sizeof(*pixels)); 369 if (pixels == (unsigned char *) NULL) 387 fpx_info.components[i].theData=pixels+i; 401 Initialize image pixels. 423 pixels=(unsigned char *) RelinquishMagickMemory(pixels); 430 Transfer a FPX pixels. 468 pixels=(unsigned char *) RelinquishMagickMemory(pixels) 170 *pixels; local 808 *pixels; local [all...] |
| tga.c | 187 pixels[4], 411 Convert TGA pixels to pixel packets. 483 if (ReadBlob(image,2,pixels) != 2) 485 j=pixels[0]; 486 k=pixels[1]; 504 BGR pixels. 506 if (ReadBlob(image,3,pixels) != 3) 508 pixel.blue=(MagickRealType) ScaleCharToQuantum(pixels[0]); 509 pixel.green=(MagickRealType) ScaleCharToQuantum(pixels[1]); 510 pixel.red=(MagickRealType) ScaleCharToQuantum(pixels[2]) 184 pixels[4], local [all...] |
| /external/opencv3/modules/videostab/src/ |
| inpainting.cpp | 137 std::vector<Pixel3> pixels(2*radius_ + 1); 160 pixels[n].color = framei(yi, xi); 161 mean += pixels[n].intens = intensity(pixels[n].color); 170 var += sqr(pixels[i].intens - mean); 175 std::sort(pixels.begin(), pixels.begin() + n); 177 int c1 = pixels[nh].color.x; 178 int c2 = pixels[nh].color.y; 179 int c3 = pixels[nh].color.z [all...] |
| /development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/ |
| NDKHelper.java | 155 public void getBitmapPixels(Bitmap bmp, int[] pixels) 159 bmp.getPixels(pixels, 0, w, 0, 0, w, h);
|
| /development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/ |
| NDKHelper.java | 155 public void getBitmapPixels(Bitmap bmp, int[] pixels) 159 bmp.getPixels(pixels, 0, w, 0, 0, w, h);
|
| /development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
| ShapeDrawable1.java | 51 int[] pixels = new int[] { 0xFFFF0000, 0xFF00FF00, 0xFF0000FF, 0}; local 52 Bitmap bm = Bitmap.createBitmap(pixels, 2, 2,
|
| /external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
| smoothness.py | 38 mean_pixels_approximated: The mean percentage of pixels approximated 306 """Add the mean percentage of pixels approximated. 320 description='Percentage of pixels that were approximated ' 326 """Add the mean percentage of pixels checkerboarded. 347 description='Percentage of pixels that were checkerboarded.',
|
| /external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
| LZWEncoder.java | 113 LZWEncoder(int width, int height, byte[] pixels, int color_depth) { 116 pixAry = pixels;
|
| /external/mesa3d/src/mesa/main/ |
| pack.h | 44 _mesa_unpack_bitmap(GLint width, GLint height, const GLubyte *pixels, 143 GLenum format, GLenum type, const GLvoid *pixels,
|
| /external/skia/example/ |
| HelloWorld.cpp | 162 const void* pixels = snap->peekPixels(&info, &rowBytes); local 167 pixels,
|
| /external/skia/gm/ |
| colorcube.cpp | 75 SkColor* pixels = (SkColor*)((*data)->writable_data()); local 88 pixels[(size * ((size * b) + g)) + r] = sk_tool_utils::color_to_565(
|
| pathopsinverse.cpp | 43 void* pixels = temp.getPixels(); local 44 return *(SkColor*) pixels;
|
| /external/skia/src/android/ |
| SkBitmapRegionCodec.cpp | 31 // If inputX is negative, we will need to place decoded pixels into the 34 // If inputY is negative, we will need to place decoded pixels into the 104 SkCodecPrintf("Error: Could not allocate pixels.\n"); 111 // pixels? 116 void* pixels = bitmap->getPixels(); local 118 memset(pixels, 0, bytes); 140 SkCodecPrintf("Error: Could not get pixels.\n");
|
| /external/skia/tests/ |
| PremulAlphaRoundTripTest.cpp | 50 // Don't strictly need a bitmap, but its a handy way to allocate the pixels 55 uint32_t* pixels = bmp.getAddr32(0, a); local 57 pixels[r] = proc(SkColorSetARGB(a, r, 0, 0));
|
| /external/skia/tools/skiaserve/ |
| Request.cpp | 32 png_bytep pixels = (png_bytep) sk_malloc_throw(width * height * 3); local 35 rows[y] = pixels + y * width * 3; 57 fprintf(stderr, "Can't read pixels\n"); 64 // capture pixels
|