/frameworks/base/core/java/android/view/ |
GLES20RenderLayer.java | 33 GLES20RenderLayer(int width, int height, boolean isOpaque) { 34 super(width, height, isOpaque); 37 mLayer = GLES20Canvas.nCreateLayer(width, height, isOpaque, layerInfo); 56 void resize(int width, int height) { 57 if (!isValid() || width <= 0 || height <= 0) return; 59 mWidth = width; 62 if (width != mLayerWidth || height != mLayerHeight) { 65 GLES20Canvas.nResizeLayer(mLayer, width, height, layerInfo);
|
HardwareLayer.java | 32 * Indicates an unknown dimension (width or height.) 52 * @param width The minimum width of the layer 56 HardwareLayer(int width, int height, boolean isOpaque) { 57 mWidth = width; 63 * Returns the minimum width of the layer. 65 * @return The minimum desired width of the hardware layer 100 * @param width The new desired minimum width for this layer 103 abstract void resize(int width, int height) [all...] |
/frameworks/base/opengl/libagl/ |
dxt.h | 27 bool DXT1HasAlpha(const GLvoid *data, int width, int height); 28 void decodeDXT(const GLvoid *data, int width, int height,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
DisplayItem.java | 27 public void setBox(int width, int height) { 28 mBoxWidth = width;
|
SelectionDrawer.java | 36 int width, int height, int rotation, Path path, 39 public abstract void drawFocus(GLCanvas canvas, int width, int height); 41 public void draw(GLCanvas canvas, Texture content, int width, int height, 43 draw(canvas, content, width, height, rotation, path, 49 int x, int y, int width, int height, int rotation) { 55 content.draw(canvas, x, y, width, height); 63 int x, int y, int width, int height) { 65 frame.draw(canvas, x - p.left, y - p.top, width + p.left + p.right,
|
/packages/apps/Mms/src/com/android/mms/model/ |
RegionModel.java | 31 int width, int height) { 32 this(regionId, DEFAULT_FIT, left, top, width, height); 36 int width, int height) { 37 this(regionId, fit, left, top, width, height, null); 41 int width, int height, String bgColor) { 46 mWidth = width; 111 * @param width the mWidth to set 113 public void setWidth(int width) { 114 mWidth = width;
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallWallpaper.java | 23 protected RenderScriptScene createScene(int width, int height) { 24 return new FallRS(width, height);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassWallpaper.java | 23 protected RenderScriptScene createScene(int width, int height) { 24 return new GrassRS(this, width, height);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/nexus/ |
NexusWallpaper.java | 23 protected RenderScriptScene createScene(int width, int height) { 24 return new NexusRS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis2/ |
Visualization2.java | 25 protected Visualization2RS createScene(int width, int height) { 26 return new Visualization2RS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/ |
Visualization3.java | 25 protected Visualization3RS createScene(int width, int height) { 26 return new Visualization3RS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
Visualization4.java | 25 protected Visualization4RS createScene(int width, int height) { 26 return new Visualization4RS(width, height);
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/ |
Visualization5.java | 25 protected Visualization5RS createScene(int width, int height) { 26 return new Visualization5RS(width, height);
|
/system/media/mca/filterfw/native/core/ |
geometry.cpp | 73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) { 77 const float current_ratio = width / height; 79 const float dx = width * (ratio / current_ratio - 1.0f); 81 width += dx; 91 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) { 95 const float current_length = width > height ? width : height; 97 const float dx = width * (length / current_length - 1.0f); 99 width += dx; 108 if (width <= 0.0f || height <= 0.0f || factor <= 0.0f) [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
IntSize.h | 65 IntSize(int width, int height) : m_width(width), m_height(height) { } 67 int width() const { return m_width; } function in class:WebCore::IntSize 70 void setWidth(int width) { m_width = width; } 78 void expand(int width, int height) 80 m_width += width; 153 a.setWidth(a.width() + b.width()); 160 a.setWidth(a.width() - b.width()) [all...] |
/external/webkit/Source/WebCore/platform/graphics/gstreamer/ |
ImageGStreamerCairo.cpp | 32 int width = 0, height = 0; local 35 if (!gst_video_format_parse_caps(caps, &format, &width, &height)) { 48 return adoptRef(new ImageGStreamer(buffer, IntSize(width, height), cairoFormat)); 55 size.width(), size.height(), 56 cairo_format_stride_for_width(cairoFormat, size.width()));
|
/external/webkit/Source/WebKit2/Shared/qt/ |
ShareableBitmapQt.cpp | 37 static inline QImage createQImage(void* data, int width, int height) 39 return QImage(reinterpret_cast<uchar*>(data), width, height, width * 4, QImage::Format_RGB32); 44 QImage* image = new QImage(createQImage(data(), m_size.width(), m_size.height())); 52 QImage image = createQImage(data(), m_size.width(), m_size.height());
|
/external/webkit/Tools/DumpRenderTree/gtk/ |
PixelDumpSupportGtk.cpp | 42 gint width, height; local 45 gdk_pixmap_get_size(pixmap, &width, &height); 47 width = gtk_widget_get_allocated_width(viewContainer); 51 cairo_surface_t* imageSurface = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, width, height); 67 cairo_rectangle(context, rectangle.x, rectangle.y, rectangle.width, rectangle.height);
|
/frameworks/base/core/tests/coretests/src/android/text/ |
PackedIntVectorTest.java | 27 for (int width = 0; width < 10; width++) { 28 PackedIntVector p = new PackedIntVector(width); 29 int[] ins = new int[width]; 31 for (int height = width * 2; height < width * 4; height++) { 32 assertEquals(p.width(), width); local 45 for (int j = 0; j < width; j++) [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
IndentingWriter.java | 24 * Writer that wraps another writer and passes width-limited and 33 /** {@code > 0;} the maximum output width */ 34 private final int width; field in class:IndentingWriter 52 * @param width {@code >= 0;} the maximum output width (not including 56 public IndentingWriter(Writer out, int width, String prefix) { 63 if (width < 0) { 64 throw new IllegalArgumentException("width < 0"); 71 this.width = (width != 0) ? width : Integer.MAX_VALUE [all...] |
/dalvik/dx/src/com/android/dx/util/ |
IndentingWriter.java | 24 * Writer that wraps another writer and passes width-limited and 33 /** {@code > 0;} the maximum output width */ 34 private final int width; field in class:IndentingWriter 52 * @param width {@code >= 0;} the maximum output width (not including 56 public IndentingWriter(Writer out, int width, String prefix) { 63 if (width < 0) { 64 throw new IllegalArgumentException("width < 0"); 71 this.width = (width != 0) ? width : Integer.MAX_VALUE [all...] |
/external/chromium/chrome/browser/resources/sync_internals/ |
sync_node_browser.css | 12 width: 200px; 13 /* min-width and max-width are used by the split pane. */ 14 min-width: 50px; 15 max-width: 50%; 23 min-width: 100%; 34 width: 5px;
|
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_conceal.c | 130 u32 width, height; local 142 width = currImage->width; 164 if (col == width) 176 H264SwDecMemset(currImage->data, 128, width*height*384); 178 H264SwDecMemcpy(currImage->data, refData, width*height*384); 191 mb = pStorage->mb + row * width; 198 for (j = col + 1; j < width; j++) 210 for (j = 0; j < width; j++) 213 mb = pStorage->mb + i*width + j 262 u32 width, height; local [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
videocommon.h | 109 VideoFormat() : width(0), height(0), interval(0), fourcc(0) {} 112 : width(w), 119 : width(format.width), 136 return width == format.width && height == format.height && 146 (fourcc == format.fourcc && width < format.width) || 147 (fourcc == format.fourcc && width == format.width & 155 int width; \/\/ in number of pixels member in struct:cricket::VideoFormat [all...] |
/external/libyuv/files/include/libyuv/ |
convert.h | 23 int width, int height); 29 int width, int height); 35 int width, int height); 41 int width, int height); 47 int width, int height); 53 int width, int height); 58 int width, int height); 64 int width, int height); 70 int width, int height); 76 int width, int height) [all...] |