/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | ImageUtilsTest.java | 37 Graphics g = image.getGraphics(); in testCropBlank() local 38 g.setColor(new Color(0, true)); in testCropBlank() 39 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropBlank() 40 g.dispose(); in testCropBlank() 48 Graphics g = image.getGraphics(); in testCropBlankPre() local 49 g.setColor(new Color(0, true)); in testCropBlankPre() 50 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in testCropBlankPre() 51 g.dispose(); in testCropBlankPre() 59 Graphics g = image.getGraphics(); in testCropNonblank() local 60 g.setColor(new Color(0, false)); in testCropNonblank() [all …]
|
D | SwtUtilsTest.java | 45 Graphics g = inImage.getGraphics(); in testImageConvertNoAlpha() local 46 g.setColor(new Color(0xAA112233, true)); in testImageConvertNoAlpha() 47 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertNoAlpha() 48 g.dispose(); in testImageConvertNoAlpha() 101 Graphics g = inImage.getGraphics(); in testImageConvertGlobalAlpha() local 102 g.setColor(new Color(0xAA112233, true)); in testImageConvertGlobalAlpha() 103 g.fillRect(0, 0, inImage.getWidth(), inImage.getHeight()); in testImageConvertGlobalAlpha() 104 g.dispose(); in testImageConvertGlobalAlpha() 134 Graphics g = inImage.getGraphics(); in testImageConvertAlpha() local 135 g.setColor(new Color(0xAA112233, true)); in testImageConvertAlpha() [all …]
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
D | CaptureRenderer.java | 52 protected void paintComponent(Graphics g) { in paintComponent() argument 60 icon.paintIcon(this, g, x, y); in paintComponent() 63 g.translate(x, y); in paintComponent() 64 g.setXORMode(Color.WHITE); in paintComponent() 67 g.setColor(Color.RED); in paintComponent() 68 g.drawRect(node.paddingLeft, node.paddingTop, in paintComponent() 73 g.setColor(Color.BLUE); in paintComponent() 74 g.drawLine(0, node.baseline, width, node.baseline); in paintComponent() 78 g.setColor(Color.BLACK); in paintComponent() 79 g.drawRect(-node.marginLeft, -node.marginTop, in paintComponent() [all …]
|
D | LayoutRenderer.java | 65 protected void paintComponent(Graphics g) { in paintComponent() argument 66 g.setColor(getBackground()); in paintComponent() 67 g.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() 70 g.clipRect(insets.left, insets.top, in paintComponent() 85 g.translate(insets.left + x, insets.top + y); in paintComponent() 87 g.setColor(getForeground()); in paintComponent() 88 g.drawRect(root.left, root.top, root.width - 1, root.height - 1); in paintComponent() 89 g.clipRect(root.left - 1, root.top - 1, root.width + 1, root.height + 1); in paintComponent() 90 drawChildren(g, root, -root.scrollX, -root.scrollY); in paintComponent() 95 g.setColor(Color.RED); in paintComponent() [all …]
|
D | ScreenViewer.java | 275 protected void paintComponent(Graphics g) { in paintComponent() argument 280 g.translate(-left, -top); in paintComponent() 283 Graphics2D g2 = (Graphics2D) g.create(); in paintComponent() 333 g.getClipBounds(clip); in paintComponent() 334 g.clipRect(0, 0, image.getWidth() * zoom + 1, image.getHeight() * zoom + 1); in paintComponent() 335 g.drawImage(grid, clip.x - clip.x % zoom, clip.y - clip.y % zoom, null); in paintComponent() 338 g.translate(left, top); in paintComponent() 439 protected void paintComponent(Graphics g) { in paintComponent() argument 440 g.setColor(Color.BLACK); in paintComponent() 441 g.fillRect(0, 0, getWidth(), getHeight()); in paintComponent() [all …]
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/laf/ |
D | UnifiedContentBorder.java | 28 public void paintBorder(Component c, Graphics g, int x, int y, int width, int height) { in paintBorder() argument 29 g.setColor(BORDER_TOP_COLOR1); in paintBorder() 30 g.drawLine(x, y, x + width, y); in paintBorder() 31 g.setColor(BORDER_BOTTOM_COLOR1); in paintBorder() 32 g.drawLine(x, y + height - 2, x + width, y + height - 2); in paintBorder() 33 g.setColor(BORDER_BOTTOM_COLOR2); in paintBorder() 34 g.drawLine(x, y + height - 1, x + width, y + height - 1); in paintBorder()
|
/sdk/templates/docs/ |
D | jquery-1.8.0.min.js | 2 …g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d<e;d… argument
|
D | prettify.js | 5 …}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.te… variable 6 …g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|")… 7 …a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){v… 9 l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=…
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | BinPacker.java | 302 Graphics2D g = image.createGraphics(); in dumpImage() local 303 g.setColor(Color.BLACK); in dumpImage() 304 g.fillRect(0, 0, image.getWidth(), image.getHeight()); in dumpImage() 316 g.setColor(color); in dumpImage() 317 g.setBackground(color); in dumpImage() 318 g.fillRect(rect.x, rect.y, rect.w, rect.h); in dumpImage() 319 g.setColor(Color.WHITE); in dumpImage() 320 g.drawRect(rect.x, rect.y, rect.w, rect.h); in dumpImage() 321 g.drawString("" + (allocated++), in dumpImage() 331 g.setColor(color); in dumpImage() [all …]
|
D | ImageUtils.java | 68 int g = (pixel & 0x00FF00) >> 8; in containsDarkPixels() local 74 long brightness = (299L*r + 587*g + 114*b) / 1000; in containsDarkPixels() 93 int g = (rgb & 0x00FF00) >> 8; in getBrightness() local 96 return (int) ((299L*r + 587*g + 114*b) / 1000); in getBrightness() 330 Graphics g = cropped.getGraphics(); in crop() local 331 g.drawImage(image, 0, 0, width, height, x1, y1, x2, y2, null); in crop() 333 g.dispose(); in crop() 467 Graphics g = image.getGraphics(); in createRectangularDropShadow() local 468 g.drawImage(source, 0, 0, width, height, null); in createRectangularDropShadow() 470 g.dispose(); in createRectangularDropShadow() [all …]
|
D | SwtUtils.java | 219 int g = pixel & swtPalette.greenMask; in convertToAwt() local 222 g = (sg < 0) ? g >>> -sg : g << sg; in convertToAwt() 225 pixel = 0xFF000000 | r | g | b; in convertToAwt()
|
D | LayoutMetadata.java | 251 GraphicalEditorPart g = (GraphicalEditorPart) part; in setPropertyInEditor() local 252 g.recomputeLayout(); in setPropertyInEditor() 253 g.getCanvasControl().redraw(); in setPropertyInEditor()
|
D | RenderPreview.java | 711 Graphics2D g = image.createGraphics(); in createErrorThumbnail() local 712 g.setColor(new java.awt.Color(0xfffbfcc6)); in createErrorThumbnail() 713 g.fillRect(0, 0, width, height); in createErrorThumbnail() 715 g.dispose(); in createErrorThumbnail()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
D | IconLoader.java | 43 Graphics g = compatibleImage.getGraphics(); in toCompatibleImage() local 44 g.drawImage(image, 0, 0, null); in toCompatibleImage() 45 g.dispose(); in toCompatibleImage()
|
D | PsdFile.java | 110 byte[] g = new byte[length]; in writeImage() 117 g[i] = (byte) ((pixel >> 8) & 0xFF); in writeImage() 126 out.write(g); in writeImage()
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
D | CaptureLoader.java | 116 Graphics2D g = image.createGraphics(); in readLayer() local 117 g.drawImage(chunk, null, 0, 0); in readLayer() 118 g.dispose(); in readLayer()
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
D | MultiTouchActivity.java | 321 final int g = ((color & 0x7e0) >> 3) | ((color & 0x7e0) >> 9); in onFrameBuffer() local 323 mColors[n] = Color.rgb(r, g, b); in onFrameBuffer() 329 final int g = bb.getChar(); in onFrameBuffer() local 331 mColors[n] = Color.rgb(r, g, b); in onFrameBuffer()
|
/sdk/docs/ |
D | howto_build_SDK.txt | 77 …$ repo init -u https://android.googlesource.com/platform/manifest -b master -g all,-notdefault,too… 95 parallel, e.g. if you have a dual core, use "make -j4 sdk" to build faster. 99 One suggestion is to include the date, e.g.: 157 However sometimes you need to develop one specific tools, e.g. adb.exe or 175 - Required packages: autoconf, bison, curl, flex, gcc, g++, git, gnupg, make,
|
D | howto_use_cupcake_sdk.txt | 96 adt.zip (e.g. android-eclipse-<some-id>.zip), select the "Install" button at 242 will be more versions of Android to use, e.g. "Android 2.0" or specific add-ons 322 If one matches the project configuration (e.g. same API level), it is
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
D | TexImageTransform.java | 263 int g = (x & gmask) >>> gshift; in convertShortToUnsigned() local 268 unsignedData[i * numChannels + 1] = UnsignedBytes.checkedCast(g); in convertShortToUnsigned()
|
/sdk/files/typos/ |
D | typos-hu.txt | 196 # (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons 226 # another party or parties (e.g., a sponsor institute, publishing 235 # Work in the Adaptation (e.g., "French translation of the Work by 257 # Licensor agrees that in those jurisdictions (e.g. Japan), in which 399 igéret->ígéret 413 külömbség->különbség 420 mindíg->mindig 423 orzság->ország
|
D | typos-tr.txt | 196 # (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons 226 # another party or parties (e.g., a sponsor institute, publishing 235 # Work in the Adaptation (e.g., "French translation of the Work by 257 # Licensor agrees that in those jurisdictions (e.g. Japan), in which 425 gürcüstan->gürcistan 426 güzelgah->güzergâh 427 güzergah->güzergâh
|
D | typos-pt.txt | 196 # (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons 226 # another party or parties (e.g., a sponsor institute, publishing 235 # Work in the Adaptation (e.g., "French translation of the Work by 257 # Licensor agrees that in those jurisdictions (e.g. Japan), in which 966 gas->gás 967 gaz->gás 968 gáz->gás 973 genero->género 974 generos->géneros 975 genio->génio, gênio [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | LintList.java | 526 GraphicalEditorPart g = delegate.getGraphicalEditor(); in runInUIThread() local 527 assert g != null; in runInUIThread() 528 LayoutActionBar bar = g == null ? null : g.getLayoutActionBar(); in runInUIThread()
|
/sdk/apps/SdkController/ |
D | Implementation.txt | 21 will run in the background (e.g. sending sensor data) whereas other might
|