Home
last modified time | relevance | path

Searched refs:NinePatchedImage (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImageTest.java28 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Chunk;
29 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Projection;
30 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Tick;
38 NinePatchedImage image = new NinePatchedImage(getClass() in testReadNoPatchedImage()
54 NinePatchedImage image = new NinePatchedImage(getClass() in testReadNoPatchedInteraceImage()
70 NinePatchedImage image = new NinePatchedImage(getClass() in testConvert9PatchedImage()
117 NinePatchedImage image = new NinePatchedImage(getClass() in testReadInvalidPatchedImageCorners()
125 image = new NinePatchedImage(getClass() in testReadInvalidPatchedImageCorners()
133 image = new NinePatchedImage(getClass() in testReadInvalidPatchedImageCorners()
141 image = new NinePatchedImage(getClass() in testReadInvalidPatchedImageCorners()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/
DDraw9PatchEditor.java21 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage;
59 private NinePatchedImage mNinePatchedImage = null;
108 String patchedName = NinePatchedImage.getNinePatchedFileName(mFileName); in doSave()
118 IFile destFile = mProject.getFile(NinePatchedImage.getNinePatchedFileName( in doSave()
204 public void update(NinePatchedImage image) { in update()
213 IFile dest = mProject.getFile(NinePatchedImage.getNinePatchedFileName( in showSaveAsDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DImageViewer.java20 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage;
21 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Chunk;
22 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Tick;
92 private NinePatchedImage mNinePatchedImage = null;
126 private final ArrayBlockingQueue<NinePatchedImage> mUpdateQueue
127 = new ArrayBlockingQueue<NinePatchedImage>(DEFAULT_UPDATE_QUEUE_SIZE);
254 public NinePatchedImage loadFile(String fileName) { in loadFile()
255 mNinePatchedImage = new NinePatchedImage(fileName); in loadFile()
273 int color = (drawMode == MODE_RED_TICK) ? NinePatchedImage.RED_TICK in draw()
274 : NinePatchedImage.BLACK_TICK; in draw()
[all …]
DStretchesViewer.java21 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage;
22 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Projection;
60 private NinePatchedImage mNinePatchedImage = null;
98 public void updatePreview(NinePatchedImage image) { in updatePreview()
173 private void setImage(NinePatchedImage image) { in setImage()
DImageEditorPanel.java19 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage;
94 public void update(NinePatchedImage image) { in update()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImage.java35 public class NinePatchedImage { class
129 public NinePatchedImage(String fileName) { in NinePatchedImage() method in NinePatchedImage
136 public NinePatchedImage(InputStream inputStream, String fileName) { in NinePatchedImage() method in NinePatchedImage