/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 129 final int WIDTH = getWidth() - 2*MARGIN_X; 134 final int drWidth = WIDTH;
|
/external/skia/gm/ |
colormatrix.cpp | 12 #define WIDTH 500 61 return make_isize(WIDTH, HEIGHT); 64 SkBitmap createSolidBitmap(int width, int height) { 66 bm.setConfig(SkBitmap::kARGB_8888_Config, width, height); 71 for (int x = 0; x < width; ++x) { 73 paint.setColor(SkColorSetARGB(255, x * 255 / width, y * 255 / height, 0)); 82 SkBitmap createTransparentBitmap(int width, int height) { 84 bm.setConfig(SkBitmap::kARGB_8888_Config, width, height); 89 SkPoint pts[] = {{0, 0}, {SkIntToScalar(width), SkIntToScalar(height)}}; 94 canvas.drawRect(SkRect::MakeWH(SkIntToScalar(width), SkIntToScalar(height)), paint) [all...] |
modecolorfilters.cpp | 13 #define WIDTH 512 69 return make_isize(WIDTH, HEIGHT);
|
drawlooper.cpp | 15 #define WIDTH 200
|
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
HTMLTable.java | 32 public HTMLTable (final String width, final String border, final String cellpadding, final String cellspacing) 38 if (width != null) attrs.set (Attribute.WIDTH, width);
|
/external/skia/legacy/src/utils/unix/ |
SkOSWindow_Unix.cpp | 28 const int WIDTH = 500; 51 0, 0, WIDTH, HEIGHT, 0, fVi->depth, 58 0, 0, WIDTH, HEIGHT, 0, 0, 0); 63 this->resize(WIDTH, HEIGHT); 112 this->resize(evt.xconfigure.width, evt.xconfigure.height); 183 glViewport(0, 0, SkScalarRound(this->width()), SkScalarRound(this->height())); 245 image.width = bitmap.width(); 254 image.bytes_per_line = bitmap.rowBytes() - bitmap.width() * bitmap.bytesPerPixel(); 263 int width = bitmap.width() local [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
StreamItemPhotoEntry.java | 38 int height, int width, int fileSize) { 44 mWidth = width; 56 mWidth = getInt(cursor, PhotoFiles.WIDTH, -1);
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 37 private static final int WIDTH = 100; 76 float width = getCharWidth(chars[index + i]); local 77 advances[advancesIndex + i] = width; 78 res += width; 93 case 'C': return 100.0f; // equals to WIDTH 95 case '_': return 0.0f; // 0-width character 102 private static StaticLayout getStaticLayout(CharSequence source, int width) { 103 return new StaticLayout(source, mTextPaint, width, ALIGN, SPACE_MULTI, SPACE_ADD, false); 107 return getBreaks(source, WIDTH); 110 private static int[] getBreaks(CharSequence source, int width) { [all...] |
/libcore/luni/src/main/java/java/awt/font/ |
TextAttribute.java | 82 /** The Constant JUSTIFICATION_indicates the full requested width. */ 273 /** The WIDTH text attribute. */ 274 public static final TextAttribute WIDTH = new TextAttribute("width"); 278 * predefined width. 284 * a semi condensed width. 289 * The Constant WIDTH_REGULAR indicates the standard width. 294 * The Constant WIDTH_SEMI_EXTENDED indicates semi extended width. 299 * The Constant WIDTH_EXTENDED indicates extended width.
|
/packages/apps/Gallery2/src/com/android/photos/data/ |
PhotoSetLoader.java | 42 FileColumns.WIDTH,
|
PhotoDatabase.java | 45 { Photos.WIDTH, "INTEGER NOT NULL" },
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 43 private static final int WIDTH = 1280; 229 MediaFormat format = MediaFormat.createVideoFormat(MIME_TYPE, WIDTH, HEIGHT);
|
/packages/apps/Gallery2/tests/src/com/android/photos/data/ |
PhotoDatabaseUtils.java | 51 Photos.WIDTH, 100 public static boolean insertPhoto(SQLiteDatabase db, Integer width, Integer height, 103 values.put(Photos.WIDTH, width);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoStoreTest.java | 143 new String[]{PhotoFiles.WIDTH, PhotoFiles.HEIGHT, PhotoFiles.FILESIZE}, 164 new String[]{PhotoFiles.HEIGHT, PhotoFiles.WIDTH, PhotoFiles.FILESIZE},
|
/packages/apps/Camera/src/com/android/camera/ |
Storage.java | 55 private static void setImageSize(ContentValues values, int width, int height) { 58 values.put(MediaColumns.WIDTH, width); 81 int width, int height) { 86 jpeg.length, path, width, height); 92 String path, int width, int height) { 104 setImageSize(values, width, height);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
Storage.java | 53 Location location, int orientation, byte[] jpeg, int width, int height) { 79 values.put(ImageColumns.WIDTH, width);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 42 private final int WIDTH = 80; 44 private final int[] COLOR = new int[WIDTH * HEIGTH]; 117 int width = expected.getWidth(); local 120 for (int i = 0; i < width; i++) {
|
/external/zxing/qr_scanner/src/com/google/zxing/client/android/ |
CaptureActivity.java | 124 if (intent.hasExtra(Intents.Scan.WIDTH) && intent.hasExtra(Intents.Scan.HEIGHT)) { 125 int width = intent.getIntExtra(Intents.Scan.WIDTH, 0); local 127 if (width > 0 && height > 0) { 128 cameraManager.setManualFramingRect(width, height); 189 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
|
/hardware/samsung_slsi/exynos5/libhwc/ |
hwc.cpp | 150 ALOGV("\t\tformat = %d, width = %u, height = %u, stride = %u, vstride = %u", 151 h->format, h->width, h->height, h->stride, h->vstride); 197 inline int WIDTH(const hwc_rect &rect) { return rect.right - rect.left; } 247 return WIDTH(layer.displayFrame) != WIDTH(layer.sourceCrop) || 389 int src_w = WIDTH(layer.sourceCrop), src_h = HEIGHT(layer.sourceCrop); 393 dest_h = WIDTH(layer.displayFrame); 395 dest_w = WIDTH(layer.displayFrame); 452 ALOGV("%s: %d preset=%02d width=%d height=%d name=%s", 454 enum_preset.width, enum_preset.height, enum_preset.name) [all...] |
/frameworks/base/core/java/android/provider/ |
MediaStore.java | 377 * The width of the image/video in pixels. 379 public static final String WIDTH = "width"; [all...] |
/packages/apps/Gallery2/src/com/android/camera/ |
Storage.java | 56 private static void setImageSize(ContentValues values, int width, int height) { 59 values.put(MediaColumns.WIDTH, width); 82 byte[] jpeg, int width, int height) { 95 jpeg.length, path, width, height); 101 String path, int width, int height) { 113 setImageSize(values, width, height);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 184 int width = displayPhoto.getWidth(); local 187 if (allowSmallImageStorage || width > thumbnailDim || height > thumbnailDim) { 202 values.put(PhotoFiles.WIDTH, width);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaThumbRequest.java | 123 values.put(Images.Thumbnails.WIDTH, thumbnail.getWidth());
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigTest.java | 45 WIDTH, 117 case WIDTH: 309 config.setProperty(Properties.WIDTH, 320); 513 config.setProperty(Properties.WIDTH, 320); [all...] |
/hardware/ti/omap4xxx/hwc/ |
hwc.c | 47 #define WIDTH(rect) ((rect).right - (rect).left) 91 __u16 width; /* external screen dimensions */ member in struct:omap4_hwc_ext 108 int width; member in struct:omap4_hwc_img 219 c->width, c->height, c->crop.x, c->crop.y, 277 dsscomp->ovls[i].cfg.width, 315 int w = WIDTH(layer->sourceCrop); 321 return WIDTH(layer->displayFrame) != w || HEIGHT(layer->displayFrame) != h; 392 omap4_hwc_setup_layer_base(struct dss2_ovl_cfg *oc, int index, int format, int blended, int width, int height) 434 oc->width = width; 1604 __u32 width = png_get_image_width(png_ptr, info_ptr); local [all...] |