Home
last modified time | relevance | path

Searched refs:Tick (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImage.java73 private final List<Tick> mHorizontalPatches = new ArrayList<Tick>();
74 private final List<Tick> mVerticalPatches = new ArrayList<Tick>();
76 private final List<Tick> mHorizontalContents = new ArrayList<Tick>();
77 private final List<Tick> mVerticalContents = new ArrayList<Tick>();
360 public List<Tick> getHorizontalPatches() { in getHorizontalPatches()
364 public List<Tick> getVerticalPatches() { in getVerticalPatches()
374 private static boolean findPatches(int[] pixels, List<Tick> out) { in findPatches()
376 Tick patch = null; in findPatches()
397 patch = new Tick(pixel); in findPatches()
419 Tick horizontal = getContentArea(mHorizontalContents); in getContentArea()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
DNinePatchedImageTest.java30 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Tick;
97 List<Tick> horizontalPatches = image.getHorizontalPatches(); in testConvert9PatchedImage()
98 List<Tick> verticalPatches = image.getVerticalPatches(); in testConvert9PatchedImage()
103 List<Tick> horizontalContentsArea = image.getHorizontalContents(); in testConvert9PatchedImage()
104 List<Tick> verticalContentsArea = image.getVerticalContents(); in testConvert9PatchedImage()
212 List<Tick> horizontalPatches = image.getHorizontalPatches(); in test9Patch1()
213 List<Tick> verticalPatches = image.getVerticalPatches(); in test9Patch1()
317 List<Tick> horizontalPatches = image.getHorizontalPatches(); in test9Patch2()
318 List<Tick> verticalPatches = image.getVerticalPatches(); in test9Patch2()
634 List<Tick> horizontalContentsArea = image.getHorizontalContents(); in testContentArea()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DImageViewer.java22 import com.android.ide.eclipse.adt.internal.editors.draw9patch.graphics.NinePatchedImage.Tick;
572 List<Tick> verticalPatches = mNinePatchedImage.getVerticalPatches();
573 for (Tick t : verticalPatches) {
586 List<Tick> horizontalPatches = mNinePatchedImage.getHorizontalPatches();
587 for (Tick t : horizontalPatches) {
600 List<Tick> horizontalContentArea = mNinePatchedImage.getHorizontalContents();
601 for (Tick t : horizontalContentArea) {
615 List<Tick> verticalContentArea = mNinePatchedImage.getVerticalContents();
616 for (Tick t : verticalContentArea) {