Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 25 of 47) 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/
DSparseArray.java215 private void gc() { in gc() method in SparseArray
263 gc(); in put()
281 gc(); in size()
309 gc(); in keyAt()
339 gc(); in valueAt()
362 gc(); in setValueAt()
375 gc(); in indexOfKey()
393 gc(); in indexOfValue()
417 gc(); in indexOfValueByValue()
460 gc(); in append()
DLongSparseArray.java183 private void gc() { in gc() method in LongSparseArray
231 gc(); in put()
249 gc(); in size()
277 gc(); in keyAt()
307 gc(); in valueAt()
330 gc(); in setValueAt()
343 gc(); in indexOfKey()
359 gc(); in indexOfValue()
382 gc(); in indexOfValueByValue()
425 gc(); in append()
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolImplTest.java63 gc(); in testImageDispose()
78 gc(); in testImageDisposeFromFunction()
105 gc(); in testImageDisposedAndRecycled()
124 gc(); in testImageDisposedAndRecycled()
149 gc(); in testBufferedImageReleased()
217 gc(); in testImageMultipleCopies()
251 gc(); in testPoolDispose()
289 private static void gc() { in gc() method in ImagePoolImplTest
290 System.gc(); in gc()
291 System.gc(); in gc()
[all …]
/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/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/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.java177 Graphics2D gc = image.createGraphics(); in getImage() local
178 gc.setComposite(AlphaComposite.Src); in getImage()
180 gc.setColor(new Color(0x00000000, true)); in getImage()
181 gc.fillRect(0, 0, w, h); in getImage()
184 gc.dispose(); in getImage()
DRenderSessionImpl.java511 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local
512 gc.setColor(new Color(params.getOverrideBgColor(), true)); in renderAndBuildResult()
513 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult()
514 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight); in renderAndBuildResult()
515 gc.dispose(); in renderAndBuildResult()
545 Graphics2D gc = mImage.createGraphics(); in renderAndBuildResult() local
546 gc.setComposite(AlphaComposite.Src); in renderAndBuildResult()
548 gc.setColor(new Color(0x00000000, true)); in renderAndBuildResult()
549 gc.fillRect(0, 0, in renderAndBuildResult()
553 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.java1742 int gc = Character.getType(cp); in isGraphic() local
1743 if (gc != Character.CONTROL in isGraphic()
1744 && gc != Character.FORMAT in isGraphic()
1745 && gc != Character.SURROGATE in isGraphic()
1746 && gc != Character.UNASSIGNED in isGraphic()
1747 && gc != Character.LINE_SEPARATOR in isGraphic()
1748 && gc != Character.PARAGRAPH_SEPARATOR in isGraphic()
1749 && gc != Character.SPACE_SEPARATOR) { in isGraphic()
1765 int gc = Character.getType(c); in isGraphic() local
1766 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/base/tools/preload/loadclass/
DLoadClass.java49 System.gc(); in main()
/frameworks/av/media/libmedia/
DIMediaSource.cpp141 mMemoryCache.gc(); in readMultiple()
254 void gc() { in gc() function
346 mIndexCache.gc(); in onTransact()
/frameworks/base/core/tests/coretests/BinderProxyCountingTestService/src/com/android/frameworks/coretests/binderproxycountingtestservice/
DBpcTestServiceCmdService.java46 System.gc();
/frameworks/base/startop/apps/test/src/
DInitCheckOverheadBenchmarks.java99 Runtime.getRuntime().gc(); in doGC()
/frameworks/av/services/mediametrics/
DTransactionLog.h97 (void)gc(garbage); in put()
222 bool gc(std::vector<std::any>& garbage) REQUIRES(mLock) { in gc() function
/frameworks/av/media/libmedia/include/media/
DIMediaSource.h192 void gc() { in gc() function
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java58 System.gc(); in getNativeHeapDump()
/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/core/java/android/ddm/
DDdmHandleHeap.java222 Runtime.getRuntime().gc(); in handleHPGC()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DAndroidPackageParsingTestBase.kt126 System.gc() in <lambda>()

12