Home
last modified time | relevance | path

Searched refs:g2 (Results 1 – 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DImageUtils.java361 Graphics2D g2 = image.createGraphics(); in createDropShadow() local
362 g2.drawImage(source, null, shadowSize, shadowSize); in createDropShadow()
444 g2.drawImage(source, null, 0, 0); in createDropShadow()
445 g2.dispose(); in createDropShadow()
852 Graphics2D g2 = scaled.createGraphics(); in scale() local
853 g2.setComposite(AlphaComposite.Src); in scale()
854 g2.setColor(new Color(0, true)); in scale()
855 g2.fillRect(0, 0, destWidth + rightMargin, destHeight + bottomMargin); in scale()
856 g2.setRenderingHint(KEY_INTERPOLATION, VALUE_INTERPOLATION_BILINEAR); in scale()
857 g2.setRenderingHint(KEY_RENDERING, VALUE_RENDER_QUALITY); in scale()
[all …]
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DScreenViewer.java283 Graphics2D g2 = (Graphics2D) g.create(); in paintComponent() local
284 g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION, in paintComponent()
286 g2.scale(zoom, zoom); in paintComponent()
287 g2.drawImage(image, 0, 0, null); in paintComponent()
289 g2.setComposite(overlayAlpha); in paintComponent()
290 g2.drawImage(overlay, 0, image.getHeight() - overlay.getHeight(), null); in paintComponent()
292 g2.dispose(); in paintComponent()
298 Graphics2D g2 = null; in paintComponent() local
306 g2 = grid.createGraphics(); in paintComponent()
308 g2 = grid.createGraphics(); in paintComponent()
[all …]
DWorkspace.java1339 Graphics2D g2 = image.createGraphics(); in doInBackground() local
1340 sceneView.paint(g2); in doInBackground()
1341 g2.dispose(); in doInBackground()
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
DViewHierarchyScene.java229 Graphics2D g2 = getGraphics(); in paintBackground() local
235 g2.setColor(Color.WHITE); in paintBackground()
237 g2.setPaint(new GradientPaint(bounds.x, bounds.y, in paintBackground()
242 g2.setPaint(new GradientPaint(bounds.x, bounds.y, filteredGradient.getColor1(), in paintBackground()
246 g2.setPaint(new GradientPaint(bounds.x, bounds.y, selectedGradient.getColor1(), in paintBackground()
249 g2.fillRect(bounds.x, bounds.y, bounds.width, bounds.height); in paintBackground()