/external/icu4c/samples/datecal/ |
cal.cpp | 20 GregorianCalendar* gc = new GregorianCalendar(status); local 26 gc->set(2000, UCAL_FEBRUARY, 26); 27 gc->set(UCAL_HOUR_OF_DAY, 23); 28 gc->set(UCAL_MINUTE, 0); 29 gc->set(UCAL_SECOND, 0); 30 gc->set(UCAL_MILLISECOND, 0); 36 gc->get(UCAL_YEAR, status), 37 gc->get(UCAL_MONTH, status) + 1, 38 gc->get(UCAL_MONTH, status), 39 gc->get(UCAL_DATE, status)) [all...] |
/external/webkit/Source/WebKit/android/plugins/ |
PluginViewBridgeAndroid.cpp | 31 void PluginViewBridgeAndroid::draw(GraphicsContext* gc,
|
PluginViewBridgeAndroid.h | 42 virtual void draw(GraphicsContext* gc, const IntRect& rect);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/gtk/ |
ChunkedUpdateDrawingAreaGtk.cpp | 48 GraphicsContext gc(cr.get()); 49 gc.save(); 51 gc.translate(-rect.x(), -rect.y()); 52 m_webPage->drawRect(gc, updateChunk->rect()); 53 gc.restore();
|
/sdk/rule_api/src/com/android/ide/common/api/ |
IFeedbackPainter.java | 30 * @param gc The graphics context to paint into 34 void paint(IGraphics gc, INode targetNode, DropFeedback feedback);
|
/dalvik/tests/030-bad-finalizer/src/ |
Main.java | 13 System.out.println("Nulled. Requestion gc."); 14 System.gc(); 18 System.out.println("Requesting another GC."); 19 System.gc();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/ |
regress-104584.js | 44 gc(); 54 gc();
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/ |
ChunkedUpdateDrawingAreaWin.cpp | 48 GraphicsContext gc(hdc.get()); 49 gc.save(); 54 gc.translate(-updateChunk->rect().x(), -updateChunk->rect().y()); 56 m_webPage->drawRect(gc, updateChunk->rect()); 58 gc.restore();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
OutlineOverlay.java | 21 import org.eclipse.swt.graphics.GC; 75 public void paint(GC gc) { 78 gc.setForeground(mOutlineColor); 79 gc.setLineStyle(SwtDrawingStyle.OUTLINE.getLineStyle()); 80 int oldAlpha = gc.getAlpha(); 81 gc.setAlpha(SwtDrawingStyle.OUTLINE.getStrokeAlpha()); 82 drawOutline(gc, lastRoot); 83 gc.setAlpha(oldAlpha); 87 private void drawOutline(GC gc, CanvasViewInfo info) [all...] |
EmptyViewsOverlay.java | 21 import org.eclipse.swt.graphics.GC; 74 public void paint(GC gc) { 75 gc.setForeground(mBorderColor); 76 gc.setLineDash(null); 77 gc.setLineStyle(SwtDrawingStyle.EMPTY.getLineStyle()); 78 int oldAlpha = gc.getAlpha(); 79 gc.setAlpha(SwtDrawingStyle.EMPTY.getStrokeAlpha()); 80 gc.setLineWidth(SwtDrawingStyle.EMPTY.getLineWidth()); 91 gc.drawRectangle(x, y, w + 1, h + 1) [all...] |
HoverOverlay.java | 24 import org.eclipse.swt.graphics.GC; 144 public void paint(GC gc) { 167 int oldAlpha = gc.getAlpha(); 168 gc.setForeground(stroke); 169 gc.setLineStyle(hoverIsSelected ? 171 gc.setAlpha(hoverIsSelected ? 173 gc.drawRectangle(x, y, w, h); 174 gc.setAlpha(oldAlpha); 178 int oldAlpha = gc.getAlpha() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/grid/ |
GridLayoutPainter.java | 56 * @param gc the graphics context to paint into 59 public static void paintStructure(DrawingStyle style, INode layout, IGraphics gc, 63 gc.useStyle(style); 66 gc.drawLine(b.x, y, b.x2(), y); 70 gc.drawLine(x, b.y, x, b.y2()); 80 * @param gc the graphics context to paint the grid into 82 public static void paintGrid(INode layout, IGraphics gc) { 85 int oldAlpha = gc.getAlpha(); 86 gc.useStyle(DrawingStyle.GUIDELINE); 87 gc.setAlpha(128) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
GregorianCalendarTest.java | 45 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, 13); local 47 1972, gc.get(Calendar.YEAR)); 49 gc.get(Calendar.MONTH) == Calendar.OCTOBER); 50 assertEquals("Incorrect calendar constructed 3", 13, gc 52 assertTrue("Incorrect calendar constructed 4", gc.getTimeZone().equals( 62 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, local 65 1972, gc.get(Calendar.YEAR)); 67 gc.get(Calendar.MONTH) == Calendar.OCTOBER); 68 assertEquals("Incorrect calendar constructed", 13, gc 70 assertEquals("Incorrect calendar constructed", 7, gc.get(Calendar.HOUR)) 91 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, local 147 GregorianCalendar gc = new GregorianCalendar(timezone); local 322 GregorianCalendar gc = new GregorianCalendar(); local 371 GregorianCalendar gc = new GregorianCalendar(); local 397 GregorianCalendar gc = new GregorianCalendar(); local 414 GregorianCalendar gc = new GregorianCalendar(); local 451 GregorianCalendar gc = new GregorianCalendar(); local 480 GregorianCalendar gc = new GregorianCalendar(); local 505 GregorianCalendar gc = new GregorianCalendar(1998, 11, 6); local 518 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, 8, local 541 GregorianCalendar gc = new GregorianCalendar(1972, Calendar.OCTOBER, local 729 GregorianCalendar gc = new GregorianCalendar(TimeZone.getTimeZone("GMT")); local [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ui/ |
PixelPerfectPixelPanel.java | 75 e.gc.setBackground(Display.getDefault().getSystemColor(SWT.COLOR_BLACK)); 76 e.gc.fillRectangle(0, 0, getBounds().width, getBounds().height); 82 e.gc.setForeground(Display.getDefault().getSystemColor(SWT.COLOR_WHITE)); 83 e.gc.setBackground(rgbColor); 84 e.gc.drawRectangle(4, 4, 60, 30); 85 e.gc.fillRectangle(5, 5, 59, 29); 87 e.gc.drawText("#" 92 e.gc.drawText("R:", 80, 4, true); 93 e.gc.drawText("G:", 80, 20, true); 94 e.gc.drawText("B:", 80, 35, true) [all...] |
/external/chromium/chrome/common/extensions/docs/css/ |
print.css | 4 #gc-toc {display: none;} 5 #gc-pagecontent {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
RuntimeTest.java | 93 * @tests java.lang.Runtime#gc() 96 // Test for method void java.lang.Runtime.gc() 98 r.gc(); // ensure all garbage objects have been collected 99 r.gc(); // two GCs force collection phase to complete 106 r.gc(); 107 r.gc(); 113 r.gc(); 114 r.gc(); 135 // the gc below likely bogosifies the test, but will have to do for 138 r.gc(); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
GuidelinePainter.java | 47 public void paint(IGraphics gc, INode node, DropFeedback feedback) { 51 gc.useStyle(DrawingStyle.DRAGGED); 54 gc.fillRect(bounds); 64 gc.useStyle(DrawingStyle.DEPENDENCY); 71 gc.fillRect(bounds); 77 gc.useStyle(DrawingStyle.DROP_PREVIEW); 81 gc.useStyle(DrawingStyle.RESIZE_PREVIEW); 83 gc.useStyle(DrawingStyle.RESIZE_FAIL); 86 gc.drawRect(state.mBounds); 91 gc.drawLine(state.mBounds.x, y, state.mBounds.x2(), y) [all...] |
/dalvik/tests/079-phantom/src/ |
Main.java | 41 System.gc(); 48 System.gc(); 53 System.gc(); 58 System.gc(); 63 System.gc();
|
/dalvik/tests/003-omnibus-opcodes/src/ |
InternedString.java | 34 System.gc(); 41 System.gc(); 45 // and it should survive the gc 53 System.gc();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
browser.js | 55 var gc; 56 if ( gc != undefined ) { 57 gc();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_1/ |
browser.js | 55 var gc; 56 if ( gc != undefined ) { 57 gc();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_4/ |
browser.js | 55 var gc; 56 if ( gc != undefined ) { 57 gc();
|
/external/webkit/Source/WebKit/chromium/src/ |
WebFontImpl.cpp | 99 GraphicsContext& gc = builder.context(); local 101 gc.save(); 102 gc.setFillColor(color, ColorSpaceDeviceRGB); 103 gc.clip(WebCore::FloatRect(clip)); 104 m_font.drawText(&gc, run, leftBaseline, from, to); 105 gc.restore();
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 688 XMLGregorianCalendar gc = this; local 690 gc = this.normalize(); 692 return gc.getYear() 693 + gc.getMonth() 694 + gc.getDay() 695 + gc.getHour() 696 + gc.getMinute() 697 + gc.getSecond(); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 28 import org.eclipse.swt.graphics.GC; 222 GC gc = new GC(image); local 223 gc.setAdvanced(true); 224 gc.setAntialias(SWT.ON); 225 gc.setTextAntialias(SWT.ON); 240 gc.setBackground(backgroundColor); 241 gc.fillRectangle(0, 0, SX, SY); 243 gc.setBackground(display.getSystemColor(SWT.COLOR_WHITE)) [all...] |