Home
last modified time | relevance | path

Searched refs:g (Results 1 – 15 of 15) sorted by relevance

/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
DCaptureRenderer.java52 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 …]
DLayoutRenderer.java65 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 …]
DScreenViewer.java275 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/
DUnifiedContentBorder.java28 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/
Djquery-1.8.0.min.js2g=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
Dprettify.js5 …}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
6g=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/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/
DIconLoader.java43 Graphics g = compatibleImage.getGraphics(); in toCompatibleImage() local
44 g.drawImage(image, 0, 0, null); in toCompatibleImage()
45 g.dispose(); in toCompatibleImage()
DPsdFile.java110 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/
DCaptureLoader.java116 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/
DMultiTouchActivity.java321 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/
Dhowto_build_SDK.txt77 …$ 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.:
Dhowto_use_cupcake_sdk.txt96 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
Dhowto_SDK_git_cygwin.txt61 autoconf, bison, curl, flex, gcc, g++, git, gnupg, make, mingw-zlib, python, unzip, zip
/sdk/apps/SdkController/
DImplementation.txt21 will run in the background (e.g. sending sensor data) whereas other might
/sdk/
DREADME.txt8 $ repo init -u https://android.googlesource.com/platform/manifest -g all,-notdefault,tools