Home
last modified time | relevance | path

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

/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 …]
/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()