Searched refs:imageHeight (Results 1 – 7 of 7) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/widgets/ |
D | ImageCanvas.java | 118 int imageWidth, imageHeight; in updateScrollBars() local 121 imageHeight = mImage.getBounds().height; in updateScrollBars() 124 imageHeight = client.height; in updateScrollBars() 128 mVerticalScrollBar.setMaximum(imageHeight); in updateScrollBars() 130 mVerticalScrollBar.setThumb(Math.min(imageHeight, client.height)); in updateScrollBars() 133 int vPage = imageHeight - client.height; in updateScrollBars()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/ |
D | StretchesViewer.java | 147 int imageHeight = mNinePatchedImage.getHeight(); in setScale() local 149 mHorizontal.setSize(imageWidth * scale, imageHeight); in setScale() 150 mVertical.setSize(imageWidth, imageHeight * scale); in setScale() 151 mBoth.setSize(imageWidth * scale, imageHeight * scale); in setScale()
|
D | ImageViewer.java | 411 int imageHeight = getZoomedPixelSize(mNinePatchedImage.getHeight() + 1); in calcScrollBarSettings() local 418 int verticalScroll = imageHeight - (screenHeight - horizontalBarSize); in calcScrollBarSettings()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageControl.java | 183 int imageHeight = imageRect.height; in onPaint() local 186 int destHeight = imageHeight; in onPaint() 197 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y in onPaint()
|
D | LayoutCanvas.java | 381 int imageHeight = imageData.height; in updateScrollBars() local 384 int fullHeight = imageHeight; in updateScrollBars() 402 clientHeight = imageHeight; in updateScrollBars() 413 mVScale.setSize(imageHeight, fullHeight, clientHeight); in updateScrollBars()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
D | XmlPropertyEditor.java | 245 int imageHeight = awtImage.getHeight(); in paint() local 248 if (imageWidth > maxWidth || imageHeight > height) { in paint() 249 double scale = height / (double) imageHeight; in paint() 281 int imageHeight = imageData.height; in paint() local 282 if (imageWidth > 0 && imageHeight > 0) { in paint() 283 gc.drawImage(swtImage, x, y + (height - imageHeight) / 2); in paint()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | SwtUtilsTest.java | 328 private Image createSampleImage(int imageWidth, int imageHeight) { in createSampleImage() argument 332 ImageData data = new ImageData(imageWidth, imageHeight, 32, new PaletteData(0x00FF0000, in createSampleImage() 334 for (int y = 0; y < imageHeight; y++) { in createSampleImage()
|