Home
last modified time | relevance | path

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/
DImageCanvas.java118 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/
DStretchesViewer.java147 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()
DImageViewer.java411 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/
DImageControl.java183 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()
DLayoutCanvas.java381 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/
DXmlPropertyEditor.java245 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/
DSwtUtilsTest.java328 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()