/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtilsTest.java | 26 import java.awt.image.BufferedImage; 36 BufferedImage image = new BufferedImage(100, 100, BufferedImage.TYPE_INT_ARGB_PRE); 42 BufferedImage crop = ImageUtils.cropBlank(image, null); 47 BufferedImage image = new BufferedImage(100, 100, BufferedImage.TYPE_INT_ARGB_PRE); 53 BufferedImage crop = ImageUtils.cropBlank(image, new Rect(5, 5, 80, 80)); 58 BufferedImage image = new BufferedImage(100, 100, BufferedImage.TYPE_INT_ARGB_PRE) [all...] |
SwtUtilsTest.java | 32 import java.awt.image.BufferedImage; 44 BufferedImage inImage = new BufferedImage(100, 100, BufferedImage.TYPE_INT_ARGB); 78 BufferedImage awtImage = SwtUtils.convertToAwt(outImage); 82 assertEquals(BufferedImage.TYPE_INT_ARGB, inImage.getType()); 83 assertEquals(BufferedImage.TYPE_INT_ARGB, awtImage.getType()); 100 BufferedImage inImage = new BufferedImage(100, 100, BufferedImage.TYPE_INT_ARGB) [all...] |
/prebuilts/devtools/tools/lib/ |
ninepatch.jar | |
asset-studio.jar | |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
IconLoader.java | 7 import java.awt.image.BufferedImage; 31 public static BufferedImage toCompatibleImage(BufferedImage image) { 41 BufferedImage compatibleImage = getGraphicsConfiguration().createCompatibleImage(
|
PsdFile.java | 21 import java.awt.image.BufferedImage; 42 private final BufferedImage mMergedImage; 52 mMergedImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); 56 public void addLayer(String name, BufferedImage image, Point offset) { 60 public void addLayer(String name, BufferedImage image, Point offset, boolean visible) { 95 private static void writeImage(BufferedImage image, DataOutputStream out, boolean split) 247 void addLayer(String name, BufferedImage image, Point offset, boolean visible) { 314 private BufferedImage mImage; 316 Layer(String name, BufferedImage image, Point offset, boolean visible) [all...] |
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/ |
MipMapGenerator.java | 42 import java.awt.image.BufferedImage; 48 private static BufferedImage scaleDown(BufferedImage sourceImage, int targetWidth, int targetHeight) { 52 BufferedImage targetImage = new BufferedImage(targetWidth, targetHeight, sourceImage.getType()); 63 BufferedImage original = ImageToAwt.convert(image, false, true, 0); 68 BufferedImage scaled = scaleDown(original, potSize, potSize); 82 BufferedImage original = ImageToAwt.convert(image, false, true, 0); 87 BufferedImage current = original;
|
ImageToAwt.java | 205 public static void convert(BufferedImage image, Format format, ByteBuffer buf){ 367 public static BufferedImage convert(Image image, boolean do16bit, boolean fullalpha, int mipLevel){ 385 BufferedImage out; 400 out = new BufferedImage(width, height, BufferedImage.TYPE_BYTE_GRAY); 406 out = new BufferedImage(model, raster, false, null); 419 out = new BufferedImage(colorModel, raster, false, null); 422 out = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); 426 out = new BufferedImage(width, height, BufferedImage.TYPE_USHORT_565_RGB) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 32 import java.awt.image.BufferedImage; 102 private Map<String, BufferedImage> mImageCache = null; 163 public BufferedImage loadImageResource(String relativeName) { 172 BufferedImage getCachedImage(String path, boolean isPluginRelative) 174 BufferedImage image = mImageCache != null ? mImageCache.get(path) : null; 178 mImageCache = new HashMap<String, BufferedImage>(); 187 static BufferedImage getImage(@NonNull String path, boolean isPluginRelative) 189 BufferedImage image = null; 216 image = new BufferedImage(1,1, BufferedImage.TYPE_INT_ARGB) [all...] |
/prebuilts/misc/common/ninepatch/ |
ninepatch-prebuilt.jar | |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderDrawable.java | 40 import java.awt.image.BufferedImage; 100 BufferedImage image = getImage(w, h); 102 // create an Android bitmap around the BufferedImage 119 protected BufferedImage getImage(int w, int h) { 120 BufferedImage image = new BufferedImage(w, h, BufferedImage.TYPE_INT_ARGB);
|
/cts/hostsidetests/holo/src/android/holo/cts/ |
ComparisonTask.java | 24 import java.awt.image.BufferedImage; 62 final BufferedImage ref = ImageIO.read(mReference); 63 final BufferedImage gen = ImageIO.read(generated); 81 private static boolean compare(BufferedImage reference, BufferedImage generated, int threshold) { 108 private static void createDiff(BufferedImage image1, BufferedImage image2, File out) 117 final BufferedImage diff = new BufferedImage(width * 3, height, BufferedImage.TYPE_INT_ARGB) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageUtils.java | 43 import java.awt.image.BufferedImage; 62 public static boolean containsDarkPixels(BufferedImage image) { 140 public static BufferedImage cropBlank( 141 @NonNull BufferedImage image, 155 * @param imageType the type of {@link BufferedImage} to create 159 public static BufferedImage cropBlank(BufferedImage image, Rect initialCrop, int imageType) { 162 public boolean crop(BufferedImage bufferedImage, int x, int y) { 163 int rgb = bufferedImage.getRGB(x, y) [all...] |
SwtUtils.java | 36 import java.awt.image.BufferedImage; 53 * representing pixels for AWT {@link BufferedImage}. 55 * @param imageType the {@link BufferedImage#getType()} type 60 case BufferedImage.TYPE_INT_RGB: 61 case BufferedImage.TYPE_INT_ARGB: 62 case BufferedImage.TYPE_INT_ARGB_PRE: 65 case BufferedImage.TYPE_3BYTE_BGR: 66 case BufferedImage.TYPE_4BYTE_ABGR: 67 case BufferedImage.TYPE_4BYTE_ABGR_PRE: 76 * Returns true if the given type of {@link BufferedImage} is supported fo [all...] |
ImageOverlay.java | 34 import java.awt.image.BufferedImage; 65 private SoftReference<BufferedImage> mAwtImage = new SoftReference<BufferedImage>(null); 75 private BufferedImage mAwtImageStrongRef; 118 * {@link BufferedImage} (which will be converted to an SWT image). 127 public synchronized Image setImage(BufferedImage awtImage, boolean isAlphaChannelImage) { 130 BufferedImage oldAwtImage = mAwtImage.get(); 187 BufferedImage getAwtImage() { 188 BufferedImage awtImage = mAwtImage.get(); 224 BufferedImage awtImage = mAwtImage.get() [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/ |
ScreenshotAppState.java | 16 import java.awt.image.BufferedImage; 33 private BufferedImage awtImage; 70 awtImage = new BufferedImage(w, h, BufferedImage.TYPE_4BYTE_ABGR);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/ |
ImageHeightmap.java | 26 * The BufferedImage.TYPE_ that is supported
|
ImageBasedHeightMapGrid.java | 18 * you can also call setImageType(BufferedImage.TYPE_) to set it to be a different 21 * BufferedImage.TYPE_3BYTE_BGR, it will use the ImageBasedHeightMap for you. 57 //BufferedImage im = null;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 29 import java.awt.image.BufferedImage; 68 private BufferedImage mImage; 158 * Creates and returns a {@link Bitmap} initialized with the given {@link BufferedImage} 167 public static Bitmap createBitmap(BufferedImage image, boolean isMutable, 173 * Creates and returns a {@link Bitmap} initialized with the given {@link BufferedImage} 183 public static Bitmap createBitmap(BufferedImage image, Set<BitmapCreateFlags> createFlags, 192 * Returns the {@link BufferedImage} used by the delegate of the given {@link Bitmap}. 194 public static BufferedImage getImage(Bitmap bitmap) { 207 return BufferedImage.TYPE_INT_ARGB; 209 return BufferedImage.TYPE_INT_ARGB [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/util/ |
Screenshots.java | 3 import java.awt.image.BufferedImage; 12 public static void convertScreenShot2(IntBuffer bgraBuf, BufferedImage out){ 36 public static void convertScreenShot(ByteBuffer bgraBuf, BufferedImage out){
|
/external/jmonkeyengine/engine/src/test/jme3test/collision/ |
RayTrace.java | 42 import java.awt.image.BufferedImage; 49 private BufferedImage image; 57 image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);
|
/developers/build/lib/ |
assetstudio.jar | |
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglDisplay.java | 38 import java.awt.image.BufferedImage;
206 BufferedImage image = (BufferedImage) images[i];
212 private ByteBuffer imageToByteBuffer(BufferedImage image) {
213 if (image.getType() != BufferedImage.TYPE_INT_ARGB_PRE) {
214 BufferedImage convertedImage = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_ARGB_PRE);
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/ |
ImageTileLoader.java | 32 //private int imageType = BufferedImage.TYPE_USHORT_GRAY; // 16 bit grayscale 60 * @param imageType eg. BufferedImage.TYPE_USHORT_GRAY 84 //BufferedImage im = null; 96 im = new BufferedImage(patchSize, patchSize, imageType); 100 /*if (imageType == BufferedImage.TYPE_USHORT_GRAY) { 102 } else if (imageType == BufferedImage.TYPE_3BYTE_BGR) {
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/ |
AWTLoader.java | 66 private Object extractImageData(BufferedImage img){ 104 public Image load(BufferedImage img, boolean flipY){ 109 case BufferedImage.TYPE_4BYTE_ABGR: // most common in PNG images w/ alpha 117 case BufferedImage.TYPE_3BYTE_BGR: // most common in JPEG images 125 case BufferedImage.TYPE_BYTE_GRAY: // grayscale fonts 132 case BufferedImage.TYPE_USHORT_GRAY: // grayscale heightmap 188 BufferedImage img = ImageIO.read(in);
|