/frameworks/base/opengl/java/android/opengl/ |
ETC1.java | 91 * pixel (x,y) is at pIn + pixelSize * x + stride * y; 94 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 98 int pixelSize, int stride, Buffer out); 104 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 106 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 110 int width, int height, int pixelSize, int stride);
|
ETC1Util.java | 83 int pixelSize = useShorts ? 2 : 3; 84 int stride = pixelSize * width; 87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride); 188 * @param pixelSize the size of a pixel in bytes (2 or 3) 192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){ 196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
|
/frameworks/native/opengl/include/ETC1/ |
etc1.h | 62 // pixel (x,y) is at pIn + pixelSize * x + stride * y; 64 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image. 68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 73 // pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 75 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image. 80 etc1_uint32 pixelSize, etc1_uint32 stride);
|
/sdk/emulator/opengl/host/libs/Translator/include/GLcommon/ |
etc1.h | 64 // pixel (x,y) is at pIn + pixelSize * x + stride * y; 66 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image. 70 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut); 75 // pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 77 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image. 82 etc1_uint32 pixelSize, etc1_uint32 stride);
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
FontPlatformData.h | 40 : size(font.pixelSize()) 53 , size(font.pixelSize()) 132 int pixelSize() const 140 return m_data->font.pixelSize();
|
FontPlatformDataQt.cpp | 80 // m_data->size if a font size of zero is requested and pixelSize() 82 m_data->size = (!requestedSize) ? requestedSize : font.pixelSize();
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
VDMXParser.cpp | 179 uint16_t pixelSize; 180 if (!buf.readU16(&pixelSize)) 183 if (pixelSize > targetPixelSize) 186 if (pixelSize == targetPixelSize) {
|
SimpleFontDataLinux.cpp | 72 int pixelSize = m_platformData.size() + 0.5; 81 && parseVDMX(&vdmxAscent, &vdmxDescent, vdmxTable, vdmxSize, pixelSize))
|
TransparencyWin.cpp | 360 int pixelSize = m_layerSize.width() * m_layerSize.height(); 361 if (pixelSize <= 0) 364 if (pixelSize > maxCachedBufferPixelSize) {
|
/frameworks/native/opengl/libs/ETC1/ |
etc1.cpp | 509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { 514 if (pixelSize < 2 || pixelSize > 3) { 540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); 541 if (pixelSize == 3) { 549 p += pixelSize; 564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be 570 etc1_uint32 pixelSize, etc1_uint32 stride) { 571 if (pixelSize < 2 || pixelSize > 3) [all...] |
/sdk/emulator/opengl/host/libs/Translator/GLcommon/ |
etc1.cpp | 509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { 514 if (pixelSize < 2 || pixelSize > 3) { 540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); 541 if (pixelSize == 3) { 549 p += pixelSize; 564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be 570 etc1_uint32 pixelSize, etc1_uint32 stride) { 571 if (pixelSize < 2 || pixelSize > 3) [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextLayoutEngineSpacing.cpp | 75 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize();
|
SVGTextLayoutEngineBaseline.cpp | 43 return baselineShiftValueLength.valueAsPercentage() * m_font.pixelSize();
|
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
HDRRenderer.java | 174 Vector2f pixelSize = new Vector2f(1f / srcW, 1f / srcH);
179 pixelSize.multLocal(2);
180 blocks.set(blockSize.x / pixelSize.x,
181 blockSize.y / pixelSize.y);
185 blocks.set(blockSize.x / pixelSize.x,
186 blockSize.y / pixelSize.y);
199 mat.setVector2("PixelSize", pixelSize);
|
/external/webkit/Source/WebCore/platform/gtk/ |
RenderThemeGtk.cpp | 253 static GtkIconSize getIconSizeForPixelSize(gint pixelSize) 255 if (pixelSize < gtkIconSizeSmallToolbar) 257 if (pixelSize >= gtkIconSizeSmallToolbar && pixelSize < gtkIconSizeButton) 259 if (pixelSize >= gtkIconSizeButton && pixelSize < gtkIconSizeLargeToolbar) 261 if (pixelSize >= gtkIconSizeLargeToolbar && pixelSize < gtkIconSizeDnd) 263 if (pixelSize >= gtkIconSizeDnd && pixelSize < gtkIconSizeDialog [all...] |
/external/webkit/Source/WebKit/chromium/src/gtk/ |
WebFontInfo.cpp | 119 int pixelSize = sizeAndStyle >> 2; 141 fcvalue.u.d = pixelSize;
|
/system/core/libpixelflinger/ |
buffer.cpp | 191 int32_t pixelSize = pixel->s[i]; 192 if (pixelSize < (h-l)) { 193 u = expand(u, pixelSize, h-l); 194 pixelSize = h-l; 196 v = downshift_component(v, u, pixelSize, 0, h, l, 0, 0, dither);
|
/external/webkit/Source/WebCore/rendering/ |
RenderCombineText.cpp | 70 textOrigin.move(boxRect.height() / 2 - ceilf(m_combinedTextWidth) / 2, style()->font().pixelSize());
|
/bootable/recovery/minui/ |
resources.c | 111 size_t pixelSize = stride * height; 113 surface = malloc(sizeof(GGLSurface) + pixelSize);
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoThumbnailFragment.java | 152 int pixelSize = getResources().getDimensionPixelSize(R.dimen.thumbSize); 158 int widthScale = localDisplayMetrics.widthPixels / pixelSize;
|
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 887 * pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 892 jint pixelSize, jint stride, jobject out) { 893 if (pixelSize < 2 || pixelSize > 3) { 894 doThrowIAE(env, "pixelSize must be 2 or 3"); 908 width, height, pixelSize, 919 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be 925 jint pixelSize, jint stride) { 926 if (pixelSize < 2 || pixelSize > 3) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macwm.c | 263 if ((noErr == err) && (8 == (**(**hGD).gdPMap).pixelSize)) /* if successful and on an 8 bit device */ 358 if ((8 == (**(**hGD).gdPMap).pixelSize) && (noErr == err)) /* if successful and on an 8 bit device */ 379 if ((8 == (**(**hGD).gdPMap).pixelSize) && (noErr == err)) /* if successful and on an 8 bit device */
|
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 382 long pixelSize = getByteCount(); 384 if (bufferSize < pixelSize) { 392 position += pixelSize >> shift; [all...] |
/cts/tests/src/android/opengl/cts/ |
CompressedTextureLoader.java | 183 int pixelSize, int stride){ 187 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontCacheMac.mm | 132 size = font.pixelSize();
|