/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelXorXfermodeTest.java | 40 int height = 100; local 41 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); 43 Bitmap b2 = Bitmap.createBitmap(width, height / 2, Config.ARGB_8888); 46 Bitmap target = Bitmap.createBitmap(width, height, Config.ARGB_8888); 52 canvas.drawBitmap(b2, 0, height / 2, p); 53 assertEquals(Color.WHITE, target.getPixel(width / 4, height / 4)); 55 assertEquals(Color.YELLOW, target.getPixel(width / 4, height * 3 / 4)); 57 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4));
|
/external/libvpx/vp8/common/ |
extend.c | 20 int h, // height 74 void vp8_extend_to_multiple_of16(YV12_BUFFER_CONFIG *ybf, int width, int height) 77 int eb = 0xf & (16 - (height & 0xf)); 82 extend_plane_borders(ybf->y_buffer, ybf->y_stride, height, width, 0, 0, eb, er); 85 height = (height + 1) >> 1; 88 eb = 0x7 & (8 - (height & 0x7)); 92 extend_plane_borders(ybf->u_buffer, ybf->uv_stride, height, width, 0, 0, eb, er); 93 extend_plane_borders(ybf->v_buffer, ybf->uv_stride, height, width, 0, 0, eb, er);
|
/external/quake/quake/src/QW/client/ |
spritegn.h | 76 int height; member in struct:__anon6791 91 int height; member in struct:__anon6792
|
/external/quake/quake/src/WinQuake/ |
spritegn.h | 76 int height;
member in struct:__anon7236 91 int height;
member in struct:__anon7237
|
/external/skia/include/core/ |
SkBlitter.h | 34 virtual void blitV(int x, int y, int height, SkAlpha alpha); 35 virtual void blitRect(int x, int y, int width, int height); 76 virtual void blitV(int x, int y, int height, SkAlpha alpha); 77 virtual void blitRect(int x, int y, int width, int height); 97 virtual void blitV(int x, int y, int height, SkAlpha alpha); 98 virtual void blitRect(int x, int y, int width, int height); 122 virtual void blitV(int x, int y, int height, SkAlpha alpha); 123 virtual void blitRect(int x, int y, int width, int height);
|
/external/skia/include/utils/ |
SkGLCanvas.h | 41 virtual bool setViewport(int width, int height); 43 virtual SkDevice* createDevice(SkBitmap::Config, int width, int height,
|
/external/skia/src/images/ |
SkCreateRLEPixelRef.cpp | 46 ChunkRLEPixels(int width, int height, size_t chunkSize) 47 : SkBitmap::RLEPixels(width, height), fStorage(chunkSize) { 70 (src.width(), src.height(), size)); 76 for (int y = 0; y < src.height(); y++) { 97 for (int y = 0; y < src.height(); y++) { 108 size_t totalAlloc = src.height() * sizeof(uint8_t*) + totalPacked; 111 src.width(), src.height(), src.getSize(), 112 src.height() * sizeof(uint8_t*), totalPacked,
|
/external/skia/src/svg/ |
SkSVGRect.cpp | 22 SVG_ATTRIBUTE(height), 41 SVG_ADD_ATTRIBUTE(height);
|
/external/webkit/WebCore/dom/ |
ClientRect.h | 48 float height() const { return m_rect.height(); } function in class:WebCore::ClientRect
|
ClientRect.idl | 35 readonly attribute float height;
|
/external/webkit/WebCore/html/ |
HTMLCanvasElement.idl | 33 attribute long height;
|
ImageData.idl | 35 readonly attribute long height;
|
/external/webkit/WebCore/platform/graphics/ |
IntSizeHash.h | 32 static unsigned hash(const IntSize& key) { return intHash((static_cast<uint64_t>(key.width()) << 32 | key.height())); } 42 static bool isDeletedValue(const IntSize& value) { return value.width() == -1 && value.height() == -1; }
|
/external/webkit/WebCore/platform/graphics/mac/ |
FloatRectMac.mm | 40 return NSMakeRect(x(), y(), width(), height());
|
FloatSizeMac.mm | 34 FloatSize::FloatSize(const NSSize& s) : m_width(s.width), m_height(s.height)
|
IntSizeMac.mm | 33 IntSize::IntSize(const NSSize& s) : m_width(static_cast<int>(s.width)), m_height(static_cast<int>(s.height))
|
/external/webkit/WebCore/rendering/ |
RenderSVGTransformableContainer.cpp | 54 if (translation.width() == 0 && translation.height() == 0) 57 m_localTransform.translate(translation.width(), translation.height());
|
RenderVideo.cpp | 60 // width and height attributes of the video element as the intrinsic size until 64 setIntrinsicSize(IntSize(video->width(), video->height())); 69 // have the correct height (it needs to be > 0 for controls to render properly). 132 int ratio = renderBox.width() * elementSize.height() - renderBox.height() * elementSize.width(); 134 int newWidth = renderBox.height() * elementSize.width() / elementSize.height(); 140 int newHeight = renderBox.width() * elementSize.height() / elementSize.width(); 141 if (renderBox.height() - newHeight > 2) 143 renderBox.move(0, (contentRect.height() - renderBox.height()) / 2) 227 int height; local [all...] |
/external/webkit/WebCore/svg/ |
SVGFilterPrimitiveStandardAttributes.idl | 33 readonly attribute SVGAnimatedLength height;
|
SVGForeignObjectElement.idl | 37 readonly attribute SVGAnimatedLength height;
|
SVGRect.idl | 32 attribute float height
|
/external/webkit/WebKit/android/ |
RenderSkinAndroid.h | 81 /* setDim() tells the skin its width and height 83 virtual void setDim(int width, int height) { m_width = width; m_height = height; }
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
RectShape.java | 43 protected void onResize(float width, float height) { 44 mRect.set(0, 0, width, height);
|
/frameworks/base/opengl/java/android/opengl/ |
ETC1Util.java | 75 int height = texture.getHeight(); local 79 GLES10.glCompressedTexImage2D(target, level, ETC1.ETC1_RGB8_OES, width, height, 85 ByteBuffer decodedData = ByteBuffer.allocateDirect(stride*height) 87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride); 88 GLES10.glTexImage2D(target, level, fallbackFormat, width, height, border, 117 public ETC1Texture(int width, int height, ByteBuffer data) { 119 mHeight = height; 130 * Get the height of the texture in pixels. 154 int height = 0; local 167 height = ETC1.getHeight(headerBuffer) 211 int height = texture.getHeight(); local [all...] |
/frameworks/base/services/camera/libcameraservice/ |
FakeCamera.h | 39 FakeCamera(int width, int height); 42 void setSize(int width, int height);
|