/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/ |
MeanSquaredComparer.java | 44 public boolean verifySame(int[] ideal, int[] given, int offset, int stride, int width, 46 float totalError = getMSE(ideal, given, offset, stride, width, height); 53 Allocation given, int offset, int stride, int width, int height, 58 mScript.set_WIDTH(width); 68 error /= (height * width); 78 public static float getMSE(int[] ideal, int[] given, int offset, int stride, int width, 83 for (int x = 0 ; x < width ; x++) { 92 totalError /= (width * height);
|
/dalvik/dx/tests/082-dex-throws-list-sharing/ |
run | 18 dx --debug --dex --positions=none --no-locals --dump-to=- --dump-width=200 \
|
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
OverlayDisplayWindow.java | 62 int width, int height, int gravity) { 65 mWidth = width; 71 int width, int height, int gravity) { 73 return new JellybeanMr1Impl(context, name, width, height, gravity); 75 return new LegacyImpl(context, name, width, height, gravity); 91 public abstract void updateAspectRatio(int width, int height); 110 int width, int height, int gravity) { 111 super(context, name, width, height, gravity); 135 int width = (int)(display.getWidth() * INITIAL_SCALE); local 138 height = mHeight * width / mWidth 323 int width = (int)(mWidth * scale); local [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
OverlayDisplayWindow.java | 62 int width, int height, int gravity) { 65 mWidth = width; 71 int width, int height, int gravity) { 73 return new JellybeanMr1Impl(context, name, width, height, gravity); 75 return new LegacyImpl(context, name, width, height, gravity); 91 public abstract void updateAspectRatio(int width, int height); 110 int width, int height, int gravity) { 111 super(context, name, width, height, gravity); 135 int width = (int)(display.getWidth() * INITIAL_SCALE); local 138 height = mHeight * width / mWidth 323 int width = (int)(mWidth * scale); local [all...] |
/development/perftests/panorama/feature_mos/src/mosaic/ |
AlignFeatures.h | 61 int initialize(int width, int height, bool quarter_res, float thresh_still); 85 int width,height; member in class:Align
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
OverlayDisplayWindow.java | 62 int width, int height, int gravity) { 65 mWidth = width; 71 int width, int height, int gravity) { 73 return new JellybeanMr1Impl(context, name, width, height, gravity); 75 return new LegacyImpl(context, name, width, height, gravity); 91 public abstract void updateAspectRatio(int width, int height); 110 int width, int height, int gravity) { 111 super(context, name, width, height, gravity); 135 int width = (int)(display.getWidth() * INITIAL_SCALE); local 138 height = mHeight * width / mWidth 323 int width = (int)(mWidth * scale); local [all...] |
/external/ImageMagick/Magick++/lib/Magick++/ |
ResourceLimits.h | 61 // The maximum width of an image. 62 static void width(const MagickSizeType limit_); 63 static MagickSizeType width(void);
|
/external/autotest/client/deps/glbench/src/ |
testbase.h | 31 // coefficient = width * height (measured in pixels), inverse = true 39 const int width, 72 // iteration updates a window of width by height pixels. 74 const int width, const int height);
|
/external/chromium-trace/catapult/third_party/polymer/components/core-icon/ |
core-icon.css | 15 width: 24px;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
BooleanObjectPropertyEditor.java | 48 public void paint(Property property, GC gc, int x, int y, int width, int height) throws Exception { 54 paint(gc, x, y, width, height, text, image); 59 paint(gc, x, y, width, height, text, image); 63 private void paint(GC gc, int x, int y, int width, int height, String text, Image image) { 67 // prepare new position/width 68 int imageWidth = image.getBounds().width + 2; 70 width -= imageWidth; 74 DrawUtils.drawStringCV(gc, text, x, y, width, height); 87 if (location == null || location.x < m_trueImage.getBounds().width + 2) {
|
BooleanPropertyEditor.java | 48 public void paint(Property property, GC gc, int x, int y, int width, int height) throws Exception { 54 paint(gc, x, y, width, height, image, text); 56 paint(gc, x, y, width, height, m_unknownImage, "unknown"); 63 private void paint(GC gc, int x, int y, int width, int height, Image image, String text) { 67 // prepare new position/width 68 int imageWidth = image.getBounds().width + 2; 70 width -= imageWidth; 73 DrawUtils.drawStringCV(gc, text, x, y, width, height); 85 if (location == null || location.x < m_trueImage.getBounds().width + 2) {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
BitmapPoolAdapter.java | 26 public Bitmap get(int width, int height, Bitmap.Config config) { 31 public Bitmap getDirty(int width, int height, Bitmap.Config config) {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
FileLoader.java | 24 public DataFetcher<T> getResourceFetcher(File model, int width, int height) { 25 return uriLoader.getResourceFetcher(Uri.fromFile(model), width, height);
|
UrlLoader.java | 22 public DataFetcher<T> getResourceFetcher(URL model, int width, int height) { 23 return glideUrlLoader.getResourceFetcher(new GlideUrl(model), width, height);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifBitmapProvider.java | 17 public Bitmap obtain(int width, int height, Bitmap.Config config) { 18 return bitmapPool.getDirty(width, height, config);
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
Batch.java | 76 /** Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. The rectangle is offset by
85 * @param width the width in pixels
96 public void draw (Texture texture, float x, float y, float originX, float originY, float width, float height, float scaleX,
99 /** Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. The portion of the
104 * @param width the width in pixels
112 public void draw (Texture texture, float x, float y, float width, float height, int srcX, int srcY, int srcWidth,
115 /** Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. The portion of the
125 /** Draws a rectangle with the bottom left corner at x,y having the given width and height in pixels. The portion of the [all...] |
TextureRegion.java | 42 /** @param width The width of the texture region. May be negative to flip the sprite when drawn.
44 public TextureRegion (Texture texture, int width, int height) {
46 setRegion(0, 0, width, height);
49 /** @param width The width of the texture region. May be negative to flip the sprite when drawn.
51 public TextureRegion (Texture texture, int x, int y, int width, int height) {
53 setRegion(x, y, width, height);
67 * @param width The width of the texture region. May be negative to flip the sprite when drawn. 119 setRegion(region.getRegionX() + x, region.getRegionY() + y, width, height); local 235 float width = (u2 - u) * texture.getWidth(); local 257 int width = regionWidth; local [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ETC1.java | 46 /** the width in pixels **/
47 public final int width;
field in class:ETC1.ETC1Data 55 public ETC1Data (int width, int height, ByteBuffer compressedData, int dataOffset) {
56 this.width = width;
82 width = getWidthPKM(compressedData, 0);
90 if (!MathUtils.isPowerOfTwo(width) || !MathUtils.isPowerOfTwo(height)) {
137 return "raw [" + width + "x" + height + "], compressed: " + (compressedData.capacity() - ETC1.PKM_HEADER_SIZE);
176 int width = 0;
local 181 width = ETC1.getWidthPKM(etc1Data.compressedData, 0); [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/maps/objects/ |
EllipseMapObject.java | 33 /** Creates an {@link Ellipse} object whose lower left corner is at (0, 0) with width=1 and height=1 */ 38 /** Creates an {@link Ellipse} object with the given X and Y coordinates along with a specified width and height. 42 * @param width Width in pixels 44 public EllipseMapObject (float x, float y, float width, float height) { 46 ellipse = new Ellipse(x, y, width, height);
|
/external/libvncserver/libvncserver/ |
tabletrans24template.c | 54 int width, int height) 58 int ipextra = bytesBetweenInputLines - width * 3; 65 opLineEnd = op + width*3; 93 int width, int height) 97 int ipextra = bytesBetweenInputLines - width*3; 106 opLineEnd = op+3*width; 145 int width, int height) 149 int ipextra = bytesBetweenInputLines - width*3; 155 opLineEnd = op + width; 178 int width, int height [all...] |
/external/libvpx/libvpx/third_party/libyuv/source/ |
rotate_common.cc | 20 uint8* dst, int dst_stride, int width) { 22 for (i = 0; i < width; ++i) { 38 uint8* dst_b, int dst_stride_b, int width) { 40 for (i = 0; i < width; ++i) { 65 int width, int height) { 67 for (i = 0; i < width; ++i) { 78 int width, int height) { 80 for (i = 0; i < width * 2; i += 2) {
|
/external/libyuv/files/source/ |
rotate_common.cc | 20 uint8* dst, int dst_stride, int width) { 22 for (i = 0; i < width; ++i) { 38 uint8* dst_b, int dst_stride_b, int width) { 40 for (i = 0; i < width; ++i) { 65 int width, int height) { 67 for (i = 0; i < width; ++i) { 78 int width, int height) { 80 for (i = 0; i < width * 2; i += 2) {
|
/external/libyuv/files/unit_test/ |
unit_test.cc | 25 DEFINE_int32(libyuv_width, 0, "width of test image."); 51 const char* width = getenv("LIBYUV_WIDTH"); local 52 if (width) { 53 benchmark_width_ = atoi(width); // NOLINT 103 const char* width = getenv("LIBYUV_WIDTH"); local 104 if (width) { 105 benchmark_width_ = atoi(width); // NOLINT 155 const char* width = getenv("LIBYUV_WIDTH"); local 156 if (width) { 157 benchmark_width_ = atoi(width); // NOLIN 207 const char* width = getenv("LIBYUV_WIDTH"); local 259 const char* width = getenv("LIBYUV_WIDTH"); local 311 const char* width = getenv("LIBYUV_WIDTH"); local [all...] |
/external/llvm/test/MC/ARM/ |
inst-arm-suffixes.s | 12 @ CHECK-ERROR: width suffixes are invalid in ARM mode 14 @ CHECK-ERROR: width suffixes are invalid in ARM mode
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_clear.h | 49 pipe->clear_render_target(pipe, ps, color, 0, 0, ps->width, ps->height); 57 0, 0, ps->width, ps->height);
|