Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/layoutlib/bridge/src/android/view/
DShadowPainter.java245 Graphics2D gc = image.createGraphics(); in drawRectangleShadow() local
247 drawRectangleShadow(gc, x, y, width, height); in drawRectangleShadow()
249 gc.dispose(); in drawRectangleShadow()
266 Graphics2D gc = image.createGraphics(); in drawSmallRectangleShadow() local
268 drawSmallRectangleShadow(gc, x, y, width, height); in drawSmallRectangleShadow()
270 gc.dispose(); in drawSmallRectangleShadow()
297 public static void drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) { in drawRectangleShadow() argument
311 gc.drawImage(ShadowBottomLeft, x - ShadowBottomLeft.getWidth(null), y + height, null); in drawRectangleShadow()
312 gc.drawImage(ShadowBottomRight, x + width, y + height, null); in drawRectangleShadow()
313 gc.drawImage(ShadowTopRight, x + width, y, null); in drawRectangleShadow()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java121 private void gc() { in gc() method in SparseWeakArray
166 gc(); in put()
184 gc(); in size()
197 gc(); in keyAt()
210 gc(); in valueAt()
223 gc(); in setValueAt()
236 gc(); in indexOfKey()
252 gc(); in indexOfValue()
288 gc(); in append()
/frameworks/base/core/java/android/util/
DLongSparseArray.java163 private void gc() { in gc() method in LongSparseArray
211 gc(); in put()
229 gc(); in size()
257 gc(); in keyAt()
287 gc(); in valueAt()
310 gc(); in setValueAt()
323 gc(); in indexOfKey()
339 gc(); in indexOfValue()
362 gc(); in indexOfValueByValue()
405 gc(); in append()
DSparseArray.java204 private void gc() { in gc() method in SparseArray
252 gc(); in put()
270 gc(); in size()
298 gc(); in keyAt()
328 gc(); in valueAt()
351 gc(); in setValueAt()
364 gc(); in indexOfKey()
382 gc(); in indexOfValue()
406 gc(); in indexOfValueByValue()
449 gc(); in append()
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolImplTest.java62 gc(); in testImageDispose()
77 gc(); in testImageDisposeFromFunction()
104 gc(); in testImageDisposedAndRecycled()
123 gc(); in testImageDisposedAndRecycled()
148 gc(); in testBufferedImageReleased()
216 gc(); in testImageMultipleCopies()
249 gc(); in testPoolDispose()
287 private static void gc() { in gc() method in ImagePoolImplTest
288 System.gc(); in gc()
289 System.gc(); in gc()
[all …]
/frameworks/base/tools/stringslint/
Dstringslint.py204 for gc in child.iter():
206 if gc.tail and re.search("%[^%]", gc.tail): badsub = True
207 if re.match("{.*xliff.*}g", gc.tag):
208 if "id" not in gc.attrib:
211 if "example" not in gc.attrib:
215 if gc.text and re.search("%[^%]", gc.text): badsub = True
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestUtils.java22 public static void gc() { in gc() method in TestUtils
29 System.gc(); in gc()
33 System.gc(); in gc()
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolStatsDebugImpl.java102 for (GarbageCollectorMXBean gc : ManagementFactory.getGarbageCollectorMXBeans()) { in start()
103 long count = gc.getCollectionCount(); in start()
107 long time = gc.getCollectionTime(); in start()
119 for (GarbageCollectorMXBean gc : ManagementFactory.getGarbageCollectorMXBeans()) { in calculateGcStatAndReturn()
120 long count = gc.getCollectionCount(); in calculateGcStatAndReturn()
124 long time = gc.getCollectionTime(); in calculateGcStatAndReturn()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java84 System.gc(); in calibrateMethod()
108 TestUtils.gc(); in doCalibration()
115 TestUtils.gc(); in doCalibration()
146 TestUtils.gc(); in evaluate()
156 TestUtils.gc(); in evaluate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderDrawable.java171 Graphics2D gc = image.createGraphics(); in getImage() local
172 gc.setComposite(AlphaComposite.Src); in getImage()
174 gc.setColor(new Color(0x00000000, true)); in getImage()
175 gc.fillRect(0, 0, w, h); in getImage()
178 gc.dispose(); in getImage()
DRenderSessionImpl.java508 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local
509 gc.setColor(new Color(params.getOverrideBgColor(), true)); in renderAndBuildResult()
510 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult()
511 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight); in renderAndBuildResult()
512 gc.dispose(); in renderAndBuildResult()
542 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local
543 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult()
545 gc.setColor(new Color(0x00000000, true)); in renderAndBuildResult()
546 gc.fillRect(0, 0, in renderAndBuildResult()
550 gc.dispose(); in renderAndBuildResult()
/frameworks/base/core/java/android/os/
DPerformanceCollector.java550 Runtime.getRuntime().gc(); in startAllocCounting()
552 Runtime.getRuntime().gc(); in startAllocCounting()
564 Runtime.getRuntime().gc(); in stopAllocCounting()
566 Runtime.getRuntime().gc(); in stopAllocCounting()
/frameworks/base/core/java/android/text/
DTextUtils.java1735 int gc = Character.getType(cp); in isGraphic() local
1736 if (gc != Character.CONTROL in isGraphic()
1737 && gc != Character.FORMAT in isGraphic()
1738 && gc != Character.SURROGATE in isGraphic()
1739 && gc != Character.UNASSIGNED in isGraphic()
1740 && gc != Character.LINE_SEPARATOR in isGraphic()
1741 && gc != Character.PARAGRAPH_SEPARATOR in isGraphic()
1742 && gc != Character.SPACE_SEPARATOR) { in isGraphic()
1758 int gc = Character.getType(c); in isGraphic() local
1759 return gc != Character.CONTROL in isGraphic()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DReferenceTestUtils.java37 Runtime.getRuntime().gc(); in createCollectionWaiter()
/frameworks/base/test-base/src/android/test/
DInstrumentationTestCase.java364 Runtime.getRuntime().gc(); in tearDown()
366 Runtime.getRuntime().gc(); in tearDown()
/frameworks/av/media/libmedia/
DIMediaSource.cpp141 mMemoryCache.gc(); in readMultiple()
254 void gc() { in gc() function
344 mIndexCache.gc(); in onTransact()
/frameworks/base/tools/preload/loadclass/
DLoadClass.java49 System.gc(); in main()
/frameworks/base/core/tests/coretests/BinderProxyCountingTestService/src/com/android/frameworks/coretests/binderproxycountingtestservice/
DBpcTestServiceCmdService.java46 System.gc();
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h191 void gc() { in gc() function
/frameworks/compile/mclinker/tools/mcld/
DOptions.td71 def GCSections : Flag<["--"], "gc-sections">,
75 def NoGCSections : Flag<["--"], "no-gc-sections">,
79 def PrintGCSections : Flag<["--"], "print-gc-sections">,
83 def NoPrintGCSections : Flag<["--"], "no-print-gc-sections">,
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java58 System.gc(); in getNativeHeapDump()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1960 for (int gc = 0; gc < this.allowedGroupCiphers.size(); gc++) { in toString()
1961 if (this.allowedGroupCiphers.get(gc)) { in toString()
1963 if (gc < GroupCipher.strings.length) { in toString()
1964 sbuf.append(GroupCipher.strings[gc]); in toString()
/frameworks/base/core/java/android/ddm/
DDdmHandleHeap.java222 Runtime.getRuntime().gc(); in handleHPGC()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java119 System.gc();
184 public void gc() { in gc() method in SystemServicesProxy
/frameworks/base/core/java/android/app/
DInstrumentation.java1531 Runtime.getRuntime().gc(); in startAllocCounting()
1533 Runtime.getRuntime().gc(); in startAllocCounting()
1548 Runtime.getRuntime().gc(); in stopAllocCounting()
1550 Runtime.getRuntime().gc(); in stopAllocCounting()

12